javax.sound.midi
public interface Receiver
Modifier and Type | Method and Description |
---|---|
void |
close()
Close this receiver, possibly freeing system resources.
|
void |
send(MidiMessage message,
long timeStamp)
Send a MIDI message and timestamp.
|
void send(MidiMessage message, long timeStamp) throws IllegalStateException
message
- the MIDI message to sendtimeStamp
- time timestamp for this message in microseconds (or -1)IllegalStateException
- if the receiver is closedvoid close()