Package heronarts.lx.midi
Class LXShortMessage
java.lang.Object
javax.sound.midi.MidiMessage
javax.sound.midi.ShortMessage
heronarts.lx.midi.LXShortMessage
- All Implemented Interfaces:
LXMidiMessage
,Cloneable
- Direct Known Subclasses:
MidiAftertouch
,MidiBeat
,MidiControlChange
,MidiNote
,MidiPitchBend
,MidiProgramChange
-
Field Summary
Fields inherited from class javax.sound.midi.ShortMessage
ACTIVE_SENSING, CHANNEL_PRESSURE, CONTINUE, CONTROL_CHANGE, END_OF_EXCLUSIVE, MIDI_TIME_CODE, NOTE_OFF, NOTE_ON, PITCH_BEND, POLY_PRESSURE, PROGRAM_CHANGE, SONG_POSITION_POINTER, SONG_SELECT, START, STOP, SYSTEM_RESET, TIMING_CLOCK, TUNE_REQUEST
Fields inherited from class javax.sound.midi.MidiMessage
data, length
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
LXShortMessage
(int command, int status, int value1, int value2) -
Method Summary
Modifier and TypeMethodDescriptionfinal void
dispatch
(LXMidiListener listener) static LXShortMessage
fromShortMessage
(ShortMessage message) setSource
(LXMidiSource source) Methods inherited from class javax.sound.midi.ShortMessage
clone, getChannel, getCommand, getData1, getData2, getDataLength, setMessage, setMessage, setMessage
Methods inherited from class javax.sound.midi.MidiMessage
getLength, getMessage, getStatus, setMessage
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface heronarts.lx.midi.LXMidiMessage
getInput
-
Constructor Details
-
LXShortMessage
protected LXShortMessage(int command, int status, int value1, int value2) throws InvalidMidiDataException - Throws:
InvalidMidiDataException
-
-
Method Details
-
fromShortMessage
-
setSource
- Specified by:
setSource
in interfaceLXMidiMessage
-
getSource
- Specified by:
getSource
in interfaceLXMidiMessage
-
dispatch
- Specified by:
dispatch
in interfaceLXMidiMessage
-