playmf
Plays a standard MIDI file.
Synopsis
playmf <MIDI file> <PIMap file> [<num
repeats>]
Description
Loads a standard MIDI format file, loads instruments and AIFF samples
described in a PIMap file, and plays the MIDI file the specified number of
times. Demonstrates use of the Juggler and the score playing routines.
This program is implemented as both a shell program (in $c) and as an
example.
Arguments
- MIDI file
- Path and file name of a Format 0 or Format 1 MIDI file.
- PIMap file
- Path and file name of a PIMap (Program-Instrument Map) text file. This
file is parsed at run-time to associate MIDI program numbers with AIFF
samples.
- num repeats
- Number of times to play the MIDI file. Defaults to 1.
Implementation
Released as an example in V20.
Also implemented as a command in V24.
Location
$c/playmf
examples/Audio