Package heronarts.lx.clip
Class MidiNoteClipEvent
- All Implemented Interfaces:
LXSerializable,Comparator<MidiNoteClipEvent>
-
Nested Class Summary
Nested classes/interfaces inherited from interface heronarts.lx.LXSerializable
LXSerializable.Utils -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected static final Stringprotected static final Stringprotected static final Stringprotected static final Stringfinal MidiNoteClipLanefinal MidiNoteFields inherited from class heronarts.lx.clip.LXClipEvent
component, cursor, KEY_CURSOR -
Method Summary
Modifier and TypeMethodDescriptionvoidexecute()booleanbooleanisNoteOn()voidsave(LX lx, JsonObject obj) Serializes this instance into the JSON objectMethods inherited from class heronarts.lx.clip.LXClipEvent
compare, getCursor, loadMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.util.Comparator
equals, reversed, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
-
Field Details
-
lane
-
midiNote
-
KEY_CHANNEL
- See Also:
-
KEY_COMMAND
- See Also:
-
KEY_DATA_1
- See Also:
-
KEY_DATA_2
- See Also:
-
-
Method Details
-
isNoteOn
public boolean isNoteOn() -
isNoteOff
public boolean isNoteOff() -
getNoteOff
-
getNoteOn
-
execute
public void execute()- Specified by:
executein classLXClipEvent<MidiNoteClipEvent>
-
save
Description copied from interface:LXSerializableSerializes this instance into the JSON object- Specified by:
savein interfaceLXSerializable- Overrides:
savein classLXClipEvent<MidiNoteClipEvent>- Parameters:
lx- LX instanceobj- Object to serialize into
-