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. Usage. java MidiPlayer -l java MidiPlayer [ -s ] [ -m ] [ -d devicename ] [ -c ] [ -S sequencername ] midifile Parameters.
Bugs, limitations. This example requires the JDK1.5 or later. Source code. MidiPlayer.java, DumpReceiver.java, MidiCommon.java, gnu.getopt.Getopt | |