home *** CD-ROM | disk | FTP | other *** search
- WM MIDtoLST
- ───────────
-
- WM MIDtoLST reads a Standard MIDI file (Level 0 or Level 1) {WMMID} and
- creates a human-readable LST (WM playlist) file which may be viewed and
- edited with any standard text editor before rendering with WM LSTtoWAV
- {LSTtoWAV}.
-
- The instruments "played" by MIDtoLST/LSTtoWAV are described by the PRG files
- stored in WAVmaker's PRG\ subdirectory (an alternate directory, i.e. an
- alternate instrument bank, can be selected with the /PRG option). PRG
- filenames are just MIDI program numbers: when MIDtoLST encounters a MIDI
- program change event to (say) program number 37, it goes looking for the file
- 37.PRG (or D37.PRG if the /d option {MIDtoLST 94} has been set for the
- track and channel containing the event in question). You can edit existing
- instruments and create new ones using PRGed {PRGed}.
-
- PRG files map sample files to keys and contain performance parameters. Most
- electronic musicians would probably refer to them as "patches". The actual
- sample files are kept in the WAV\ subdirectory.
-
- The default PRG and WAV library supplied with WAVmaker is General MIDI (GM)
- compliant, i.e. the program (instrument) numbers and the keyboard maps used
- for the drum kits (the assignment of samples to keys) follow the industry
- standard used by most computer music hardware and software (but see the Note
- on drum channel assignments {MIDtoLST 94}). Most MIDI files which you are
- likely to encounter on the Internet or on BBSs are General MIDI (or Roland
- GS, a fairly compatible superset of General MIDI) so if you intend to modify
- the default library extensively, you should probably work on copies of the
- original files, and keep them in separate directories.
-
-
- ─── The LST file format ────────────────────────────────────────────────────────
-
- LST files are easy to read once you understand the format.
-
- The first line is the max event time (often, the last Note Off event) in
- milliseconds. It is used by WM LSTtoWAV to create an empty WAV file of the
- specified duration prior to actual rendering. This way, (almost all) the
- necessary disk space is allocated right away, reducing the risk for out-of-
- space errors occurring somewhere in midrun, especially if you are using a
- multitasking environment with other processes also using the disk (although
- the WAV file will often need to be extended later on, to accomodate a release
- section following the last Note Off event; if you are out of luck, that
- release section will be the proverbial straw...) and fatal errors will still
- leave you with something to listen to (everything rendered before their
- occurrence) without having WM LSTtoWAV constantly updating the WAV header for
- the current file length (a slow affair, due to long disk seek times).
-
- The rest of the file is made up of one or more Sample Blocks delimited by
- curly brackets.
-
- Each Sample Block is headed by a line listing the sample file name, the base
- key number, the base volume, the base panpot, and the various controller and
- envelope parameters specified in the PRG file, in the same order as in the
- PRG file.
-
- In the subsequent lines, there are one or more Note Blocks, one for each note
- produced using the current sample file (low notes are listed first). Note
- Blocks are delimited by square brackets.
-
- The first line in each Note Block is the note number.
-
- The subsequent lines are time-ordered events, on the general format
- <event time in milliseconds> <event codes> <event parameter>. The event
- code/parameter combination should be one of the following:
-
- ■ ON <velocity> (Note On)
- ■ OFF <velocity> (Note Off)
- ■ PRS <pressure> (Channel or Polyphonic Pressure)
- ■ MOD <modulation> (Modulation Wheel)
- ■ VOL <volume> (Volume)
- ■ PAN <position> (Stereo Panning)
- ■ EXP <expression> (Expression)
- ■ BND <bend> (Pitch Bend)
-
-
- ─── WM MIDtoLST usage ──────────────────────────────────────────────────────────
-
- Usage: MIDtoLST <source> [<destination>]
-
- If no <destination> is given, the <source> filename is used. The
- default extensions are MID and LST, respectively. The default
- directories are MID\ and LST\; you can override these choices with
- the /MID and /LST options. The default directory for PRGs is PRG\;
- you can override this choice with the /PRG options.
-
- Options: /MID <alternate MID source directory>
- /LST <alternate LST destination directory>
- /PRG <alternate PRG instrument direcory>
- /d <track>:<channel> (use Drum PRGs for this track and channel)
- /q (quiet mode: no screen output)
-
- Note: General MIDI and GS files use MIDI channel number 10 for drums. WM
- MIDtoLST does not use ANY channel for drums unless instructed to do
- so with the /drums option. If the file is Standard MIDI Level 0 (you
- can use WM MIDscan to find out {MIDscan}), there is only one track,
- so "/d 1:10" will do. With Level 1 files, try "/d ALL:10": this
- instructs WM MIDtoLST to use drums for channel number 10, regardless
- of track number. The ALL keyword works for channels too, by the way.
- Writing "/d 1:ALL" would cause drums to be used for track number
- 1, regardless of channel number.
-
- See {WMMID} if the difference between MIDI tracks and MIDI channels
- is not clear to you!
-
- The following title:value pairs are written to WAVmaker's public Function key
- file {FnKeys} upon successful termination:
-
- File #1 : <source>
- File #2 : <destination>