sdr 0.7

net.cscott.sdr.sound
Class MidiDemo

java.lang.Object
  extended by net.cscott.sdr.sound.MidiDemo

public class MidiDemo
extends Object

MidiDemo Looping a MIDI file (JDK1.5 and later) Purpose Loops a MIDI file using the new looping methods in the Sequencer of the JDK1.5. Usage java MidiDemo midifile Parameters 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. This program requires the JDK 1.5. For looping using the JDK 1.4 or earlier, see LoopingMidiPlayer14. Source code MidiDemo.java


Constructor Summary
MidiDemo()
           
 
Method Summary
static void main(String[] args)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MidiDemo

public MidiDemo()
Method Detail

main

public static void main(String[] args)
                 throws MidiUnavailableException,
                        InvalidMidiDataException,
                        IOException
Throws:
MidiUnavailableException
InvalidMidiDataException
IOException

sdr 0.7

Copyright © 2006-2009 C. Scott Ananian