public class MidiEvent extends Object
| Constructor and Description |
|---|
MidiEvent(MidiMessage message,
long tick)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
MidiMessage |
getMessage()
Get the
MidiDevice of this MidiEvent |
long |
getTick()
Get the timeStamp in tick
|
void |
setTick(long tick)
Set the timeStamp in tick
|
public MidiEvent(@NonNull MidiMessage message, long tick)
message - the messagetick - -1 if timeStamp not supported.@NonNull public MidiMessage getMessage()
MidiDevice of this MidiEventMidiDevice of this MidiEventpublic long getTick()
public void setTick(long tick)
tick - timeStamp