java.lang.AutoCloseable
, javax.sound.midi.Receiver
protected class MidiRouter.LogReceiver extends java.lang.Object implements javax.sound.midi.Receiver
Modifier and Type | Field | Description |
---|---|---|
(package private) MidiRouter.DisplayFrame |
display |
|
(package private) boolean |
isOpen |
Constructor | Description |
---|---|
LogReceiver() |
Modifier and Type | Method | Description |
---|---|---|
void |
close() |
|
void |
send(javax.sound.midi.MidiMessage message,
long timeStamp) |
Used by MIDI transmitter to send message to this receiver.
|
MidiRouter.DisplayFrame display
boolean isOpen
public LogReceiver()
public void send(javax.sound.midi.MidiMessage message, long timeStamp)
https://www.midi.org/specifications/item/table-1-summary-of-midi-message List of MIDI codes.
send
in interface javax.sound.midi.Receiver
message
- string of bytes containing messagetimeStamp
- time generated by transmitting devicepublic void close()
close
in interface java.lang.AutoCloseable
close
in interface javax.sound.midi.Receiver
Copyright © 2017. All rights reserved.