Package eu.bandm.music.midi
Class Routing.EventReceiver
java.lang.Object
eu.bandm.music.midi.Routing.EventReceiver
- All Implemented Interfaces:
AutoCloseable
,Consumer<MidiEvent>
,Receiver
- Direct Known Subclasses:
Routing.ToTrack
- Enclosing class:
- Routing
A
Receiver
receives a {link MidiMessage} and a time stamp.
The time info should be ==-1, if none is intended.
The following wrapper takes a Receiver and adds interfaces and
convenience methods.-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
void
close()
void
send
(MidiMessage ev) void
send
(MidiMessage ev, long when)