Package heronarts.lx.midi.template
Class AkaiMPD218
java.lang.Object
heronarts.lx.LXComponent
heronarts.lx.midi.template.LXMidiTemplate
heronarts.lx.midi.template.AkaiMPD218
- All Implemented Interfaces:
LXComponent.Renamable,LXPath,LXSerializable,LXMidiListener,LXMidiTemplate.Bidirectional,LXParameterListener
@Name("Akai MPD218")
@DeviceName("MPD218")
public class AkaiMPD218
extends LXMidiTemplate
implements LXMidiTemplate.Bidirectional
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class heronarts.lx.midi.template.LXMidiTemplate
LXMidiTemplate.Bidirectional, LXMidiTemplate.DeviceName, LXMidiTemplate.NameNested classes/interfaces inherited from class heronarts.lx.LXComponent
LXComponent.Description, LXComponent.Hidden, LXComponent.Placeholder, LXComponent.PluginRequired, LXComponent.RenamableNested classes/interfaces inherited from interface heronarts.lx.LXSerializable
LXSerializable.Utils -
Field Summary
FieldsModifier and TypeFieldDescriptionfinal EnumParameter<AkaiMPD218.Bank> final heronarts.lx.midi.template.AkaiMPD218.Knob[]static final intstatic final intstatic final intfinal BooleanParameter[]Fields inherited from class heronarts.lx.midi.template.LXMidiTemplate
connected, destinationDevice, sourceDeviceFields inherited from class heronarts.lx.LXComponent
childArrays, children, internalParameters, KEY_CHILDREN, KEY_CLASS, KEY_COMPONENT_ID, KEY_ID, KEY_INTERNAL, KEY_PARAMETER_PATH, KEY_PARAMETERS, KEY_PATH, KEY_RESET, label, legacyInternalParameters, legacyParameters, lx, modulationColor, modulationControlsExpanded, modulationsExpanded, parameters, presetFileFields inherited from interface heronarts.lx.LXPath
DEFAULT_SEPARATOR, ROOT, ROOT_PREFIX, ROOT_SLASH -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidprotected voidSubclasses should override this to initialize output values in the case where device synchronization is neededvoidvoidnoteOffReceived(MidiNote note) voidnoteOnReceived(MidiNoteOn note) voidSubclasses are free to override this if desired.Methods inherited from class heronarts.lx.midi.template.LXMidiTemplate
dispose, getIndex, getPath, getTemplateName, getTemplateName, initializeDefaultIO, sendControlChange, sendNoteOn, sendSysexMethods inherited from class heronarts.lx.LXComponent
addArray, addChild, addInternalParameter, addLegacyInternalParameter, addLegacyParameter, addParameter, addParameter, addParameters, assertDisposed, contains, copyParameters, getCategory, getChild, getComponentDescription, getComponentName, getComponentName, getComponentName, getDescription, getId, getLabel, getLX, getOscAddress, getOscLabel, getOscPath, getParameter, getParameters, getParent, handleOscMessage, hasParameter, isValidOscParameter, load, loadParameters, loadPreset, removeParameter, removeParameter, removeParameter, removeParameter, save, savePreset, setDescription, setParent, toOscQuery, toOscQuery, toOscQuery, toString, toStringMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface heronarts.lx.midi.LXMidiListener
aftertouchReceived, pitchBendReceived, programChangeReceived, sysexReceivedMethods inherited from interface heronarts.lx.LXPath
getCanonicalLabel, getCanonicalLabel, getCanonicalLabel, getCanonicalLabel, getCanonicalLabel, getCanonicalPath, getCanonicalPath, isDescendant
-
Field Details
-
NUM_BANKS
public static final int NUM_BANKS- See Also:
-
NUM_PADS
public static final int NUM_PADS- See Also:
-
NUM_KNOBS
public static final int NUM_KNOBS- See Also:
-
bank
-
pads
-
knobs
public final heronarts.lx.midi.template.AkaiMPD218.Knob[] knobs
-
-
Constructor Details
-
AkaiMPD218
-
-
Method Details
-
onParameterChanged
Description copied from class:LXComponentSubclasses are free to override this if desired. It will automatically fire for any listenable parameter that is registered with this component.- Specified by:
onParameterChangedin interfaceLXParameterListener- Overrides:
onParameterChangedin classLXMidiTemplate- Parameters:
p- Parameter that has a value change
-
initializeOutput
protected void initializeOutput()Description copied from class:LXMidiTemplateSubclasses should override this to initialize output values in the case where device synchronization is needed- Overrides:
initializeOutputin classLXMidiTemplate
-
noteOnReceived
- Specified by:
noteOnReceivedin interfaceLXMidiListener
-
noteOffReceived
- Specified by:
noteOffReceivedin interfaceLXMidiListener
-
controlChangeReceived
- Specified by:
controlChangeReceivedin interfaceLXMidiListener
-
midiPanicReceived
public void midiPanicReceived()- Specified by:
midiPanicReceivedin interfaceLXMidiListener
-