|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjavax.sound.midi.MidiEvent
public class MidiEvent
A MIDI event is the combination of a MIDI message and a timestamp specified in MIDI ticks.
| 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. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public MidiEvent(MidiMessage message,
long tick)
message - the MidiMessage for this eventtick - the timestamp for this event| Method Detail |
|---|
public MidiMessage getMessage()
public void setTick(long tick)
tick - the timestamppublic long getTick()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||