public class RTMidiIn
extends java.lang.Object
implements javax.sound.midi.Receiver
Constructor and Description |
---|
RTMidiIn()
Constructor
|
Modifier and Type | Method and Description |
---|---|
void |
addMidiInputListener(MidiInputListener mil)
Attached Listeners
|
void |
close()
Close method to release resources
|
void |
notifyListeners(Event event)
Notify all listeners of a new event
|
void |
send(javax.sound.midi.MidiMessage message,
long deltaTime)
Called from the JavaSound MIDI Input Port for each new MIDI event
|
public void addMidiInputListener(MidiInputListener mil)
public void notifyListeners(Event event)
public void send(javax.sound.midi.MidiMessage message, long deltaTime)
send
in interface javax.sound.midi.Receiver
public void close()
close
in interface java.lang.AutoCloseable
close
in interface javax.sound.midi.Receiver