http://www.jsresources.org/faq_midi.html#loop_sequence

E nella documentazione (dalla 1.5)
http://java.sun.com/j2se/1.5.0/docs/...Sequencer.html

in particolare setLoopCount(Sequencer.LOOP_CONTINUOUSLY)