Playing a MIDI file (easy)

Purpose. Plays a single MIDI file.

Usage. 

java SimpleMidiPlayer midifile

Parameters. 

midifile

the name of the MIDI file that should be played

Bugs, limitations. This program always uses the default Sequencer and the default Synthesizer to play on. For using non-default sequencers, synthesizers or to play on an external MIDI port, see MidiPlayer.

Source code.  SimpleMidiPlayer.java