javax.sound.midi
public class MidiEvent extends Object
Since: 1.3
| Constructor Summary | |
|---|---|
| MidiEvent(MidiMessage message, long tick)
Create a MIDI event object from the given MIDI message and timestamp.
| |
| Method Summary | |
|---|---|
| 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.
|
Parameters: message the MidiMessage for this event tick the timestamp for this event
Returns: the MidiMessage for this event
Returns: the timestamp for this even in MIDI ticks
Parameters: tick the timestamp