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_REQUESTFields inherited from class javax.sound.midi.MidiMessage
data, length -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedLXShortMessage(int command, int status, int value1, int value2) -
Method Summary
Modifier and TypeMethodDescriptionfinal voiddispatch(LXMidiListener listener) static LXShortMessagefromShortMessage(ShortMessage message) setSource(LXMidiSource source) Methods inherited from class javax.sound.midi.ShortMessage
clone, getChannel, getCommand, getData1, getData2, getDataLength, setMessage, setMessage, setMessageMethods inherited from class javax.sound.midi.MidiMessage
getLength, getMessage, getStatus, setMessageMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods 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:
setSourcein interfaceLXMidiMessage
-
getSource
- Specified by:
getSourcein interfaceLXMidiMessage
-
dispatch
- Specified by:
dispatchin interfaceLXMidiMessage
-