Looping a MIDI file (JDK1.5 and later)PurposeLoops a MIDI file using the new looping methods in the
Sequencer of the JDK1.5.Usagejava MidiDemomidifileParametersthe name of the MIDI file that should be
playedBugs, limitationsThis 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.This program requires the JDK 1.5. For looping using the JDK
1.4 or earlier, see LoopingMidiPlayer14.Source codeMidiDemo.java