Package heronarts.lx.midi
Class LXMidiMapping.Note
java.lang.Object
heronarts.lx.midi.LXMidiMapping
heronarts.lx.midi.LXMidiMapping.Note
- All Implemented Interfaces:
LXSerializable
- Enclosing class:
- LXMidiMapping
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic enum
static enum
Nested classes/interfaces inherited from class heronarts.lx.midi.LXMidiMapping
LXMidiMapping.ControlChange, LXMidiMapping.Note, LXMidiMapping.Type
Nested classes/interfaces inherited from interface heronarts.lx.LXSerializable
LXSerializable.Utils
-
Field Summary
Modifier and TypeFieldDescriptionfinal DiscreteParameter
final BoundedParameter
final BoundedParameter
final int
Fields inherited from class heronarts.lx.midi.LXMidiMapping
booleanParameter, channel, discreteParameter, isBoolean, isDiscrete, parameter, type
-
Method Summary
Modifier and TypeMethodDescriptionvoid
save
(LX lx, JsonObject object) Serializes this instance into the JSON objectMethods inherited from class heronarts.lx.midi.LXMidiMapping
create, create, load, makeBoundedRangeParameter, makeDiscreteRangeParameter, setValue
-
Field Details
-
pitch
public final int pitch -
mode
-
discreteMode
-
offValue
-
onValue
-
fixedValue
-
-
Method Details
-
getDescription
- Specified by:
getDescription
in classLXMidiMapping
-
save
Description copied from interface:LXSerializable
Serializes this instance into the JSON object- Specified by:
save
in interfaceLXSerializable
- Overrides:
save
in classLXMidiMapping
- Parameters:
lx
- LX instanceobject
- Object to serialize into
-