Package heronarts.lx.midi.template
Class DJTTMidiFighterTwister
java.lang.Object
heronarts.lx.LXComponent
heronarts.lx.midi.template.LXMidiTemplate
heronarts.lx.midi.template.DJTTMidiFighterTwister
- All Implemented Interfaces:
LXComponent.Renamable
,LXPath
,LXSerializable
,LXMidiListener
,LXMidiTemplate.Bidirectional
,LXParameterListener
@Name("DJTT Midi Fighter Twister")
@DeviceName("Midi Fighter Twister")
public class DJTTMidiFighterTwister
extends LXMidiTemplate
implements LXMidiTemplate.Bidirectional
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionclass
class
Nested classes/interfaces inherited from class heronarts.lx.midi.template.LXMidiTemplate
LXMidiTemplate.Bidirectional, LXMidiTemplate.DeviceName, LXMidiTemplate.Name
Nested classes/interfaces inherited from class heronarts.lx.LXComponent
LXComponent.Description, LXComponent.Hidden, LXComponent.Placeholder, LXComponent.PluginRequired, LXComponent.Renamable
Nested classes/interfaces inherited from interface heronarts.lx.LXSerializable
LXSerializable.Utils
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final int
final DJTTMidiFighterTwister.Knob[]
static final int
static final int
final DJTTMidiFighterTwister.Switch[]
Fields inherited from class heronarts.lx.midi.template.LXMidiTemplate
connected, destinationDevice, sourceDevice
Fields 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, presetFile
Fields inherited from interface heronarts.lx.LXPath
DEFAULT_SEPARATOR, ROOT, ROOT_PREFIX, ROOT_SLASH
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
protected void
Subclasses should override this to initialize output values in the case where device synchronization is neededvoid
void
noteOffReceived
(MidiNote note) void
noteOnReceived
(MidiNoteOn note) void
Subclasses are free to override this if desired.Methods inherited from class heronarts.lx.midi.template.LXMidiTemplate
dispose, getIndex, getPath, getTemplateName, getTemplateName, initializeDefaultIO, sendControlChange, sendNoteOn, sendSysex
Methods 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, toString
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface heronarts.lx.midi.LXMidiListener
aftertouchReceived, pitchBendReceived, programChangeReceived, sysexReceived
Methods inherited from interface heronarts.lx.LXPath
getCanonicalLabel, getCanonicalLabel, getCanonicalLabel, getCanonicalLabel, getCanonicalLabel, getCanonicalPath, getCanonicalPath, isDescendant
-
Field Details
-
NUM_KNOBS
public static final int NUM_KNOBS- See Also:
-
KNOB_CHANNEL
public static final int KNOB_CHANNEL- See Also:
-
SWITCH_CHANNEL
public static final int SWITCH_CHANNEL- See Also:
-
knobs
-
switches
-
-
Constructor Details
-
DJTTMidiFighterTwister
-
-
Method Details
-
onParameterChanged
Description copied from class:LXComponent
Subclasses are free to override this if desired. It will automatically fire for any listenable parameter that is registered with this component.- Specified by:
onParameterChanged
in interfaceLXParameterListener
- Overrides:
onParameterChanged
in classLXMidiTemplate
- Parameters:
p
- Parameter that has a value change
-
initializeOutput
protected void initializeOutput()Description copied from class:LXMidiTemplate
Subclasses should override this to initialize output values in the case where device synchronization is needed- Overrides:
initializeOutput
in classLXMidiTemplate
-
noteOnReceived
- Specified by:
noteOnReceived
in interfaceLXMidiListener
-
noteOffReceived
- Specified by:
noteOffReceived
in interfaceLXMidiListener
-
midiPanicReceived
public void midiPanicReceived()- Specified by:
midiPanicReceived
in interfaceLXMidiListener
-
controlChangeReceived
- Specified by:
controlChangeReceived
in interfaceLXMidiListener
-