home *** CD-ROM | disk | FTP | other *** search
-
-
-
- M E L O D Y M A S T E R
- Version 2.1
-
-
-
- =================================
- P r o g r a m m e r s'
- M u s i c S u p p o r t K i t
- =================================
-
-
-
- Copyright 1991-92 by Alexei A. Efros, Jr.
- All Rights Reserved.
-
-
-
-
-
- INTRODUCTION
-
-
- When Melody Master was conceived, the idea was to develop a
- utility that would help programmers use the IBM PC's internal
- speaker to add music to their programs. Melody Master can
- hardly be called a "utility", but the goal has been reached.
- Melody Master helps to create music using standard notation
- on a musical staff. The output can be saved in any of 17
- different music formats! The program does not require music-
- writing expertise. Over 100 melodies are included.
-
-
-
- HOW TO GENERATE MUSIC
-
-
- To generate music with Melody Master, load (or enter) the tune
- you want to use. Select a tempo and style. Press F7 and choose
- the format you wish to use. Melody Master will create a music
- file in the current directory. The file will have the same name
- as the tune that was loaded plus an extension (.pas, .bas, .dat,
- and so on). The file may now be copied into any other program.
-
- If the music is not completely satisfying the first time, return
- to Melody Master and change some of the musical parameters such
- as tempos, styles, and octaves. Some formats cannot play very
- high notes; it may be helpful to move everything down one octave.
- (Use F9, Miscellaneous Utilities and the "8 down" command.)
-
- NOTE: To use Melody Master output files in for-profit software,
- a Commercial License is required (see Registration).
-
-
-
-
-
-
-
-
-
-
- MUSIC FORMATS OVERVIEW
-
-
- The following chart contains a comparison of the music formats
- available with Melody Master. Formats are compared by quality
- of music, size if executable, and the applications required.
-
-
-
-
- Name |Quality| Size | Application(s)
-
- ================================================================
-
- TP proc. | great | worst | Turbo Pascal 4.0+
- ----------------------------------------------------------------
- TP array | great | good | Turbo Pascal 4.0+ and PLARRAY.PAS**
- ----------------------------------------------------------------
- TP back-gr| avg.# | great | Turbo Pascal 4.0+ and SOUNDER.PAS**
- ----------------------------------------------------------------
- TP play | good | great | Turbo Pascal 4.0+ and MUSIC.PAS**
- ----------------------------------------------------------------
- C | good | poor | C and TONE.C**
- ----------------------------------------------------------------
- C back-gr |great #| good | C, PLAYBG.C** and SOUNDSYS.C**
- ----------------------------------------------------------------
- Turbo C | great | poor | Turbo C/Borland C++
- ----------------------------------------------------------------
- BASIC | good #| great | GW-BASIC,QBASIC,QuickBASIC, etc.
- ----------------------------------------------------------------
- Data File | great | avg. | PLAY.EXE**
- ----------------------------------------------------------------
- SPKR.SYS | poor #| avg. | SPKR.SYS**
- ----------------------------------------------------------------
- ANSI | good | great | QModem*,ANSIplay*,A_TYPE*,etc...
- ----------------------------------------------------------------
- ASCII | good | best! | VMUSIC*, POLY*, etc.
- ----------------------------------------------------------------
- Norton BE | poor | poor | Norton Utilities
- ----------------------------------------------------------------
- SPKRDRV. | great#| good | SPKRDRV.SYS*
- ----------------------------------------------------------------
- PianoMan 3| good | great | PIANOMAN 3.0*
- ----------------------------------------------------------------
- PianoMan 4| good | great | PIANOMAN 4.0*
- ----------------------------------------------------------------
- 4DOS/NDOS | aver. | good | 4DOS* / NDOS from UN 6.0
- ================================================================
-
- # - Plays music in background.
- * - Available as Shareware or Public Domain
- ** - File is included in the Melody Master package.
-
-
-
-
-
-
-
-
-
-
- MUSIC FORMATS
-
-
- "TP proc." - Turbo Pascal procedure. Can be called from your
- program. Requires a CRT unit. Use only with short tunes.
-
- "TP array" - Constant array. Must be included in PLARRAY.PAS
- unit using {$I filename} directive. Place PLARRAY in your
- program and call PlayArray (style) procedure.
-
- "TP back-gr" - Constant array. Must be used with Nels
- Anderson's SOUNDER.PAS unit. Plays music in the background.
-
- "TP play" - Turbo Pascal procedure. Must be used with a
- MUSIC.PAS unit included in the package.
-
- "C" - C function. TONE.C must be included. The playing
- speed will vary from computer to computer.
-
- "C bck-gr" - Global array. Plays music in background. Uses P/D
- routine SOUNDSYS.C. A sample function PLAYBG.C is provided to
- help you understand how it works. Also can be used to play
- music foreground.
-
- "Turbo C" - Turbo C function. Can be called from your program
- to play music. Use only with short tunes.
-
- "BASIC" - BASIC program in ASCII. The "Tn" and "M" directives
- may be changed.
-
- "Data File" - ASCII text file. Use PLAY.EXE to play in DOS.
- Several melodies may be included in one data file. PLAY.EXE
- can play all melodies, a specified melody, or random melodies.
- Great for batch files! See PLAY.EXE for more details. The
- music file will have a .dat extension.
-
- "SPKR.SYS" - ASCII file. SPKR.SYS must be installed in the
- CONFIG.SYS file. Copy the generated file into SPK. Music will
- play in the background. Long tunes use many files of the same
- name with different extensions (.spk, .sp1, .sp2, and so on).
-
- "ANSI" - ANSI music file. Contains screen and music codes in [MF
- notation. Recommended for long music pieces. Extension '.ANS'.
-
- "ANSI-BBS" - ANSI music file. Contains screen and music codes in
- [M notation specificly for putting short music pieces into BBS
- screens. Extansion '.BBS'.
-
-
-
-
-
- "ASCII" - ASCII file of BASIC PLAY codes without the PLAY
- command. Can be used for different applications. Extension '.ASC'.
-
- "Norton BE" - Must be called by BE BEEP filename. BE is a
- command in Norton Utilities. Extansion '.be'.
-
- "SPKRDRV." - SPKRDRV.SYS must be installed in the CONFIG.SYS
- file. Copy the generated file into SPK. The music will play
- in the background. There is no limit on size! GREAT!
-
- "PianoMan 3" - produces *.MUS files for use with PIANOMAN 3.
- "PianoMan 4" - produces *.MUZ files for use with PIANOMAN 4.
-
- "4DOS/NDOS" - Batch file fragment for use in the 4DOS or NDOS
- environment. (NDOS is a part of Norton Utilities 6.0).
-
-
-
-
- ANSI MUSIC PROBLEM
-
-
- So-called ANSI music consists of a set of codes that are
- primarily used in communications. ANSI music is not related
- to ANSI organization. The general structure is as follows:
-
- ESC[MF ...music codes... ^N
- or
- ESC[M ...music codes... ^N
-
- The music codes are the same as in BASIC's PLAY statements.
-
- These codes are recognized by many popular communication
- software programs such as QModem and Deluxe2. The problem is
- that ANSI music is NOT supported by the ANSI.SYS driver.
- Therefore, it cannot be heard using the DOS TYPE command. For
- more information on ANSI music in the BBS world you may contact
- Linda Bloom, the SYSOP of Bloomunit BBS with your modem at
- 407-687-8712. She is an expert in ANSI music and the author of
- "BBS ANSI music tutorial".
-