home *** CD-ROM | disk | FTP | other *** search
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- MUSIC SYSTEM 1.0
-
- For Turbo Pascal Version 5.0
-
-
-
-
-
-
-
-
-
-
-
-
- Copyright 1990, 1991 By
-
- Software Technology International
-
- All Rights Reserved
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- NOTICE
- ------
-
-
-
- All parts of this manual and the accompanying soft-
- ware are copyrighted material. You, as a registered
- user, are granted permission to make as many copies of
- the software, or manual, as you wish, as long as they
- are for your personal use. You may not copy this soft-
- ware, or manual, in any form whatsoever for usage
- outside of your personal use. This includes, but is not
- limited to, duplication of the disk, the files on the
- disk or the manual, by manual or electronic means.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- -1-
- TABLE OF CONTENTS
- -----------------
-
-
- Subject Page
- -----------------------------------------------------
-
- GENERAL DESCRIPTION ...................... 3
- Introduction ........................... 3
- The software ........................... 3
-
- THE SOFTWARE IN DETAIL ................... 4
- Functions and Procedures ............... 4
- Usage Pointers ......................... 5
-
- INDEX .................................... 6
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- -2-
- GENERAL DESCRIPTION
- -------------------
- Introduction
- ------------
-
- Welcome to Version 1.0 of Software Technology Inter-
- nationals' Music System. This group of functions will
- enable your Turbo Pascal Version 5.0 to emulate the
- play functions found in BASIC, WITHOUT a sound board.
- These functions were written to be flexible, as fast as
- possible, and as easy to use as possible. We hope they
- live up to your expectations. Please feel free to write
- to us anytime with bug reports or suggestions for
- future versions. If you are a registered user, this
- will entitle you to a free upgrade.
- Remember that this software is copyrighted, so
- please don't copy and distribute it, this is a federal
- offense.
-
- The Software
- ------------
-
- This system is made up of 2 procedures that will
- enable you to play music through your PC's speaker. The
- music format is basically the same as that provided
- with BASIC, with a few differences. The system DOES NOT
- need a sound board, and this is where the limitation
- arise. The system does not allow buffered music, or
- various instruments, or multiple channels, hence the
- music sounds a little tinny. However, the system pro-
- vides the notes A-G, with sharp etc, over 7 octaves. It
- also allows various notes lengths etc, so it IS useful.
- We hope you enjoy the software.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- -3-
- THE SOFTWARE IN DETAIL
- ----------------------
-
-
- The Procedures
- --------------
-
- STI_Play_Initialise;
-
- This procedure initialises the music system. It is
- not necessary to call this procedure, though it IS
- recommended to do so before playing each piece of
- music.
-
- STI_PlayString(ThePlayString : string);
-
- This is the procedure that plays the music. The
- parameter THEPLAYSTRING contains the music to play, in
- the format outlined below. This must be less than 255
- character long.
-
- The format characters accepted by this procedure are
- as follows.
-
- A-G These are the music notes. If followed by
- a # or + then the note is sharp. If followed
- by a -, the note is flat.
-
- < Move down one octave.
- > Move up one octave.
- . Extend the note by 1.5.
- MN Normal note duration.
- MS Staccato note duration.
- ML Legato note duration.
- Ln Set the length of the note where
- n = 1 : whole note.
- .
- .
- n = 64 : 1/64 of a note.
- Pn Set the pause length. Uses the same values as
- for note length.
- Tn Sets the Tempo where n = notes/minute and
- n = 32-255. The default is 120 notes/minute.
- On Sets the octave number, with n = 0-6.
- Nn Play note number n where n = 0-84.
-
- As mentioned earlier, there is no music buffering,
- and no instrument selection. So the system will stop
- waiting for the music to finish.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- -4-
- USAGE POINTERS
- --------------
-
- This system is very easy to use, so there should be
- few problems. Just remember that the music string must
- be less than 255 characters long, and that the system
- is not EXACTLY the same as the BASIC system.
-
- Other than that, everything should work smoothly.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- -5-
- INDEX
- -----
-
- Topic Page Number
- -------------------------------------------------------
-
- Contents.................................... 3
- Copying..................................... 2
- Copyright................................... 2
-
- Descriptions................................ 5
- Detailed Description........................ 4
-
- General Description......................... 4
-
- Introduction................................ 4
-
- Limitations................................. 4
-
- Music Format................................ 5
-
- Procedures.................................. 5
-
- STI_PlayString.............................. 5
- STI_Play_Initialise......................... 5
-
- Usage....................................... 6
- Users....................................... 2
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- -6-