Playing a MIDI file (advanced)
Purpose. Plays a single MIDI file. Allows to select the sequencer, the synthesizer or MIDI port or dumping to the console.
java MidiPlayer -l
java MidiPlayer [ -s ] [ -m ] [ -d devicename ] [ -c ] [ -S sequencername ] midifile
All options may be used together. No option is equal to giving -s.
Bugs, limitations. This example requires the JDK1.5 or later.