| Constructor and Description |
|---|
MidiEvent(MidiMessage message,
long tick)
Create a MIDI event object from the given MIDI message and timestamp.
|
| Modifier and Type | Method and Description |
|---|---|
MidiMessage |
getMessage()
Get the MIDI message for this event.
|
long |
getTick()
Get the timestamp for this event in MIDI ticks.
|
void |
setTick(long tick)
Set the timestemp for this event in MIDI ticks.
|
public MidiEvent(MidiMessage message, long tick)
message - the MidiMessage for this eventtick - the timestamp for this eventpublic MidiMessage getMessage()
public void setTick(long tick)
tick - the timestamppublic long getTick()