home *** CD-ROM | disk | FTP | other *** search
- DMCS_GMMacros
-
- I. INTRODUCTION
-
- This readme file contains three AREXX macros that assist users of
- DMCS who have General Midi protocol instruments. The three macros
- are:
-
- NumPatch.dmcs takes a number as input and returns the name of the
- associated instrument patch.
-
- PatchNum.dmcs allows you to get the patch number given the name
- of the instrument. You may search for the desired instrument in a
- variety of ways.
-
- DrumNum.dmcs allows you to insert a note that corresponds to a
- specified drum sound. You may search for the drum name in a variety
- of ways.
-
- These macros should be helpful in several situations. They are invaluable
- for entering scores that are to be played on your GM instrument. You
- no longer need to constantly refer to your manual to pick out patch
- numbers and drum note numbers. It is also helpful when you read in a GM
- Standard Midi File. You can quickly find out which instruments are used
- in the song.
-
- In order to use these macros copy them to your REXX: directory. From DMCS
- use the Macro Execute Command or assign it to a function key. If you are
- confused, please refer to the DMCS manual.
-
- Before I describe the macros in detail I have to get the legal stuff out
- of the way. These programs are freeware and may be freely redistributed.
- I would appreciate it if my name stays with the file. Who knows, this
- may be my fifteen minutes of fame. Commercial redistribution is
- welcome, but I would appreciate knowing about it. (Actually, if
- anyone from EA is listening, it would be a good idea to gather these
- little tidbits that people are generating and include them with the next
- release.)
-
- Here is an individual description of each macro.
-
- II NUMPATCH.DMCS
-
- This is the easiest macro to use and understand. Use it when you are in a
- situation where you need to find the GM instrument patch name when you
- know the number.
-
- Execute the macro. You will be prompted for the number. Enter the number
- and hit 'Return' or the Done button. In a few moments a requester will
- show up that will tell you the name of the instrument. Click the Button to
- continue. Note that in DMCS you can execute these macros at any time, even
- while the Set Instrument Requester is showing. This is when you will
- usually need it.
-
- III PATCHNUM.DMCS
-
- This macro is the opposite of NumPatch. Use it when you know the name
- of the instrument you want but don't have the patch number. When it
- first comes up it asks for the name of the instrument. If you know it,
- enter it and the patch number will be displayed. If you click 'Help' you
- will be presented with three choices: Search, List or Group.
-
- 'Search' allows you to enter a string that will be matched. If you enter a
- single letter it will assume that you want all instruments that start with
- that letter. If you enter a string, all instances of that string will be
- matched. In other words, if you enter 'harp' it will find 'harp' and
- 'harpsichord.' Use of spaces and quotes in the search string are
- undefined.
-
- If you select 'List', you will be presented with a list of all the names
- in order. Click on the numbered box that corresponds with the name and
- the corresponding patch will be displayed. Click 'Next' to get the next
- list. If you reach the end without making a selection the macro exits.
-
- 'Group' allows you to select one of the sixteen groups or categories of
- instruments that are defined in the General Midi Specification. You
- are first allowed to select from the list of groups which then leads
- you to a list of instruments within that group. This function is much
- quicker than searching the list of all 128 names!
-
-
- If the program finds the name you want, a requester will appear with
- the patch number.
-
- IV DRUMNUM.DMCS
-
- This macro inserts the drum note from the name of the drum. Use it
- to build up rhythm patterns. The list and search functions are similar
- to patchnum.dmcs, but there is no group search.
-
- The main difference is that when the name is found, it inserts the note of
- the correct pitch at the insertion point. I suggest inserting into a bass
- clef. By entering, say, sixteenth notes, you can insert a pattern of drums
- and then go back and insert rests in between. You have to set the midi
- channel of the staff to 10 and enable midi to hear your rhythm track.
-
- V MODIFYING THE MACROS
-
- At some time you might want to make changes to the instrument lists.
-
- I have named the instruments and drums based on my Boss Dr. Synth
- and an internet document on General Midi that I received. I would
- not be surprised if you wanted to change the names to suit your taste.
- This is very easy and the programs can be modified to add instruments
- or even be used for non-GM instruments with a little effort. Use a text
- editor that does not embed "control characters" in the file. If you use
- your word processor make sure that it is in text only mode. At the
- beginning of each macro you will find a bunch of statements like:
-
- name.1 = "THIS IS A NAME" ; name.2 = "THIS IS ANOTHER"
-
- name is the stem variable and the .1 is the index and represents
- the number of the patch as listed in the manual for your instrument.
- The letters in quotes are the names that are assigned to the instrument
- or whatever makes sense to you. In order to make changes simply add new
- numbers or change the text inside the quotes. In patchnum.dmcs and
- numpatch.dmcs the indexes 1 and 128 are hard-coded in the searches so
- if you add new names you will need to look for those numbers in the DO
- LOOPs and change them. Since all 128 patches are used for General Midi,
- you probably won't need to change them anyway.
-
- Drumnum.dmcs is a little different. You almost certainly will have extra
- or different sounds that will need to be changed. Simply add, modify or
- delete my sounds. When you are done change the highnote and lownote
- variables to represent the new limits and away you go.
-
- I hope that these macros are useful. It is my first attempt at AREXX, so
- they might not be the most elegant. But I did manage to find a use for
- the CLIPLIST!
-
- If you would like to reach me my GENIE address is K.BARKLEY.
- My Internet address is keith@technet.macom.com.
-