Package heronarts.lx.midi.surface
Class MidiFighterTwister
java.lang.Object
heronarts.lx.midi.surface.LXMidiSurface
heronarts.lx.midi.surface.MidiFighterTwister
- All Implemented Interfaces:
LXSerializable
,LXMidiListener
,LXMidiSurface.Bidirectional
,LXParameterListener
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic enum
static enum
Nested classes/interfaces inherited from class heronarts.lx.midi.surface.LXMidiSurface
LXMidiSurface.Bidirectional
Nested classes/interfaces inherited from interface heronarts.lx.LXSerializable
LXSerializable.Utils
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final byte
static final byte
static final byte
static final byte
static final byte
static final byte
static final byte
static final byte
static final byte
static final byte
static final byte
static final byte
static final byte
static final byte
static final byte
static final byte
static final byte
static final byte
static final byte
static final byte
static final byte
static final byte
static final byte
static final byte
static final byte
static final byte
static final byte
static final byte
static final byte
static final byte
static final byte
static final byte
static final byte
static final byte
static final byte
static final byte
static final byte
static final byte
static final byte
static final byte
static final int
static final int
static final int
static final int
static final int
static final int
static final int
final DiscreteParameter
static final int
static final int
static final int
static final int
static final String
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
final BooleanParameter
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final byte
static final byte
static final byte
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final byte
static final byte
static final byte
static final byte
Fields inherited from class heronarts.lx.midi.surface.LXMidiSurface
enabled, input, KEY_NAME, KEY_SETTINGS, KEY_STATE, lx, mutableSettings, mutableState, output, settings, state
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
void
dispose()
int
int
boolean
void
noteOffReceived
(MidiNote note) void
noteOnReceived
(MidiNoteOn note) protected void
onEnable
(boolean on) Subclasses may override, invoked automatically when surface is enabled/disabledvoid
Invoked when the value of a parameter is changed.protected void
Subclasses may override, invoked when the control surface was disconnected but has now reconnected.Methods inherited from class heronarts.lx.midi.surface.LXMidiSurface
addSetting, addState, aftertouchReceived, getInput, getName, getOutput, load, pitchBendReceived, programChangeReceived, save, sendControlChange, sendNoteOn
-
Field Details
-
DEVICE_NAME
- See Also:
-
CHANNEL_ROTARY_ENCODER
public static final int CHANNEL_ROTARY_ENCODER- See Also:
-
CHANNEL_SWITCH_AND_COLOR
public static final int CHANNEL_SWITCH_AND_COLOR- See Also:
-
CHANNEL_ANIMATIONS_AND_BRIGHTNESS
public static final int CHANNEL_ANIMATIONS_AND_BRIGHTNESS- See Also:
-
CHANNEL_SYSTEM
public static final int CHANNEL_SYSTEM- See Also:
-
CHANNEL_SHIFT
public static final int CHANNEL_SHIFT- See Also:
-
CHANNEL_SWITCH_ANIMATION
public static final int CHANNEL_SWITCH_ANIMATION- See Also:
-
CHANNEL_SEQUENCER
public static final int CHANNEL_SEQUENCER- See Also:
-
DEVICE_KNOB
public static final int DEVICE_KNOB- See Also:
-
DEVICE_KNOB_PER_BANK
public static final int DEVICE_KNOB_PER_BANK- See Also:
-
DEVICE_KNOB_NUM
public static final int DEVICE_KNOB_NUM- See Also:
-
DEVICE_KNOB_MAX
public static final int DEVICE_KNOB_MAX- See Also:
-
KNOB_DECREMENT_VERYFAST
public static final int KNOB_DECREMENT_VERYFAST- See Also:
-
KNOB_DECREMENT_FAST
public static final int KNOB_DECREMENT_FAST- See Also:
-
KNOB_DECREMENT
public static final int KNOB_DECREMENT- See Also:
-
KNOB_INCREMENT
public static final int KNOB_INCREMENT- See Also:
-
KNOB_INCREMENT_FAST
public static final int KNOB_INCREMENT_FAST- See Also:
-
KNOB_INCREMENT_VERYFAST
public static final int KNOB_INCREMENT_VERYFAST- See Also:
-
KNOB_TICKS_PER_DISCRETE_INCREMENT
public static final int KNOB_TICKS_PER_DISCRETE_INCREMENT- See Also:
-
BANK1
public static final int BANK1- See Also:
-
BANK2
public static final int BANK2- See Also:
-
BANK3
public static final int BANK3- See Also:
-
BANK4
public static final int BANK4- See Also:
-
BANK1_LEFT1
public static final int BANK1_LEFT1- See Also:
-
BANK1_LEFT2
public static final int BANK1_LEFT2- See Also:
-
BANK1_LEFT3
public static final int BANK1_LEFT3- See Also:
-
BANK1_RIGHT1
public static final int BANK1_RIGHT1- See Also:
-
BANK1_RIGHT2
public static final int BANK1_RIGHT2- See Also:
-
BANK1_RIGHT3
public static final int BANK1_RIGHT3- See Also:
-
BANK2_LEFT1
public static final int BANK2_LEFT1- See Also:
-
BANK2_LEFT2
public static final int BANK2_LEFT2- See Also:
-
BANK2_LEFT3
public static final int BANK2_LEFT3- See Also:
-
BANK2_RIGHT1
public static final int BANK2_RIGHT1- See Also:
-
BANK2_RIGHT2
public static final int BANK2_RIGHT2- See Also:
-
BANK2_RIGHT3
public static final int BANK2_RIGHT3- See Also:
-
BANK3_LEFT1
public static final int BANK3_LEFT1- See Also:
-
BANK3_LEFT2
public static final int BANK3_LEFT2- See Also:
-
BANK3_LEFT3
public static final int BANK3_LEFT3- See Also:
-
BANK3_RIGHT1
public static final int BANK3_RIGHT1- See Also:
-
BANK3_RIGHT2
public static final int BANK3_RIGHT2- See Also:
-
BANK3_RIGHT3
public static final int BANK3_RIGHT3- See Also:
-
BANK4_LEFT1
public static final int BANK4_LEFT1- See Also:
-
BANK4_LEFT2
public static final int BANK4_LEFT2- See Also:
-
BANK4_LEFT3
public static final int BANK4_LEFT3- See Also:
-
BANK4_RIGHT1
public static final int BANK4_RIGHT1- See Also:
-
BANK4_RIGHT2
public static final int BANK4_RIGHT2- See Also:
-
BANK4_RIGHT3
public static final int BANK4_RIGHT3- See Also:
-
RGB_INACTIVE_COLOR
public static final int RGB_INACTIVE_COLOR- See Also:
-
RGB_ACTIVE_COLOR
public static final int RGB_ACTIVE_COLOR- See Also:
-
RGB_BLUE
public static final int RGB_BLUE- See Also:
-
RGB_GREEN
public static final int RGB_GREEN- See Also:
-
RGB_RED
public static final int RGB_RED- See Also:
-
RGB_PRIMARY
public static final int RGB_PRIMARY- See Also:
-
RGB_AUX
public static final int RGB_AUX- See Also:
-
RGB_ANIMATION_NONE
public static final int RGB_ANIMATION_NONE- See Also:
-
RGB_TOGGLE_EVERY_8_BEATS
public static final int RGB_TOGGLE_EVERY_8_BEATS- See Also:
-
RGB_TOGGLE_EVERY_4_BEATS
public static final int RGB_TOGGLE_EVERY_4_BEATS- See Also:
-
RGB_TOGGLE_EVERY_2_BEATS
public static final int RGB_TOGGLE_EVERY_2_BEATS- See Also:
-
RGB_TOGGLE_EVERY_BEAT
public static final int RGB_TOGGLE_EVERY_BEAT- See Also:
-
RGB_TOGGLE_EVERY_HALF_BEAT
public static final int RGB_TOGGLE_EVERY_HALF_BEAT- See Also:
-
RGB_TOGGLE_EVERY_QUARTER_BEAT
public static final int RGB_TOGGLE_EVERY_QUARTER_BEAT- See Also:
-
RGB_TOGGLE_EVERY_EIGTH_BEAT
public static final int RGB_TOGGLE_EVERY_EIGTH_BEAT- See Also:
-
RGB_TOGGLE_EVERY_SIXTEENTH_BEAT
public static final int RGB_TOGGLE_EVERY_SIXTEENTH_BEAT- See Also:
-
RGB_PULSE_EVERY_8_BEATS
public static final int RGB_PULSE_EVERY_8_BEATS- See Also:
-
RGB_PULSE_EVERY_4_BEATS
public static final int RGB_PULSE_EVERY_4_BEATS- See Also:
-
RGB_PULSE_EVERY_2_BEATS
public static final int RGB_PULSE_EVERY_2_BEATS- See Also:
-
RGB_PULSE_EVERY_BEAT
public static final int RGB_PULSE_EVERY_BEAT- See Also:
-
RGB_PULSE_EVERY_HALF_BEAT
public static final int RGB_PULSE_EVERY_HALF_BEAT- See Also:
-
RGB_PULSE_EVERY_QUARTER_BEAT
public static final int RGB_PULSE_EVERY_QUARTER_BEAT- See Also:
-
RGB_PULSE_EVERY_EIGTH_BEAT
public static final int RGB_PULSE_EVERY_EIGTH_BEAT- See Also:
-
RGB_BRIGHTNESS_OFF
public static final int RGB_BRIGHTNESS_OFF- See Also:
-
RGB_BRIGHTNESS_MID
public static final int RGB_BRIGHTNESS_MID- See Also:
-
RGB_BRIGHTNESS_MAX
public static final int RGB_BRIGHTNESS_MAX- See Also:
-
INDICATOR_ANIMATION_NONE
public static final int INDICATOR_ANIMATION_NONE- See Also:
-
INDICATOR_TOGGLE_EVERY_8_BEATS
public static final int INDICATOR_TOGGLE_EVERY_8_BEATS- See Also:
-
INDICATOR_TOGGLE_EVERY_4_BEATS
public static final int INDICATOR_TOGGLE_EVERY_4_BEATS- See Also:
-
INDICATOR_TOGGLE_EVERY_2_BEATS
public static final int INDICATOR_TOGGLE_EVERY_2_BEATS- See Also:
-
INDICATOR_TOGGLE_EVERY_BEAT
public static final int INDICATOR_TOGGLE_EVERY_BEAT- See Also:
-
INDICATOR_TOGGLE_EVERY_HALF_BEAT
public static final int INDICATOR_TOGGLE_EVERY_HALF_BEAT- See Also:
-
INDICATOR_TOGGLE_EVERY_QUARTER_BEAT
public static final int INDICATOR_TOGGLE_EVERY_QUARTER_BEAT- See Also:
-
INDICATOR_TOGGLE_EVERY_EIGTH_BEAT
public static final int INDICATOR_TOGGLE_EVERY_EIGTH_BEAT- See Also:
-
INDICATOR_TOGGLE_EVERY_SIXTEENTH_BEAT
public static final int INDICATOR_TOGGLE_EVERY_SIXTEENTH_BEAT- See Also:
-
INDICATOR_PULSE_EVERY_8_BEATS
public static final int INDICATOR_PULSE_EVERY_8_BEATS- See Also:
-
INDICATOR_PULSE_EVERY_4_BEATS
public static final int INDICATOR_PULSE_EVERY_4_BEATS- See Also:
-
INDICATOR_PULSE_EVERY_2_BEATS
public static final int INDICATOR_PULSE_EVERY_2_BEATS- See Also:
-
INDICATOR_PULSE_EVERY_BEAT
public static final int INDICATOR_PULSE_EVERY_BEAT- See Also:
-
INDICATOR_PULSE_EVERY_HALF_BEAT
public static final int INDICATOR_PULSE_EVERY_HALF_BEAT- See Also:
-
INDICATOR_PULSE_EVERY_QUARTER_BEAT
public static final int INDICATOR_PULSE_EVERY_QUARTER_BEAT- See Also:
-
INDICATOR_PULSE_EVERY_EIGTH_BEAT
public static final int INDICATOR_PULSE_EVERY_EIGTH_BEAT- See Also:
-
INDICATOR_PULSE_EVERY_SIXTEENTH_BEAT
public static final int INDICATOR_PULSE_EVERY_SIXTEENTH_BEAT- See Also:
-
INDICATOR_BRIGHTNESS_OFF
public static final int INDICATOR_BRIGHTNESS_OFF- See Also:
-
INDICATOR_BRIGHTNESS_25
public static final int INDICATOR_BRIGHTNESS_25- See Also:
-
INDICATOR_BRIGHTNESS_MID
public static final int INDICATOR_BRIGHTNESS_MID- See Also:
-
INDICATOR_BRIGHTNESS_MAX
public static final int INDICATOR_BRIGHTNESS_MAX- See Also:
-
RAINBOW_CYCLE
public static final int RAINBOW_CYCLE- See Also:
-
BANK_OFF
public static final int BANK_OFF- See Also:
-
BANK_ON
public static final int BANK_ON- See Also:
-
knobClickMode
-
focusMode
-
currentBank
-
isAux
-
MIDI_MFR_ID_0
public static final byte MIDI_MFR_ID_0- See Also:
-
MIDI_MFR_ID_1
public static final byte MIDI_MFR_ID_1- See Also:
-
MIDI_MFR_ID_2
public static final byte MIDI_MFR_ID_2- See Also:
-
SYSEX_COMMAND_PUSH_CONF
public static final byte SYSEX_COMMAND_PUSH_CONF- See Also:
-
SYSEX_COMMAND_PULL_CONF
public static final byte SYSEX_COMMAND_PULL_CONF- See Also:
-
SYSEX_COMMAND_SYSTEM
public static final byte SYSEX_COMMAND_SYSTEM- See Also:
-
SYSEX_COMMAND_BULK_XFER
public static final byte SYSEX_COMMAND_BULK_XFER- See Also:
-
CFG_COUNT_ENC
public static final int CFG_COUNT_ENC- See Also:
-
CFG_COUNT_GLOBAL
public static final int CFG_COUNT_GLOBAL- See Also:
-
CFG_FALSE
public static final byte CFG_FALSE- See Also:
-
CFG_TRUE
public static final byte CFG_TRUE- See Also:
-
CFG_GLOBAL_SSACTION_CCHOLD
public static final byte CFG_GLOBAL_SSACTION_CCHOLD- See Also:
-
CFG_GLOBAL_SSACTION_CCTOGGLE
public static final byte CFG_GLOBAL_SSACTION_CCTOGGLE- See Also:
-
CFG_GLOBAL_SSACTION_NOTEHOLD
public static final byte CFG_GLOBAL_SSACTION_NOTEHOLD- See Also:
-
CFG_GLOBAL_SSACTION_NOTETOGGLE
public static final byte CFG_GLOBAL_SSACTION_NOTETOGGLE- See Also:
-
CFG_GLOBAL_SSACTION_SHIFTPAGE1
public static final byte CFG_GLOBAL_SSACTION_SHIFTPAGE1- See Also:
-
CFG_GLOBAL_SSACTION_SHIFTPAGE2
public static final byte CFG_GLOBAL_SSACTION_SHIFTPAGE2- See Also:
-
CFG_GLOBAL_SSACTION_BANKUP
public static final byte CFG_GLOBAL_SSACTION_BANKUP- See Also:
-
CFG_GLOBAL_SSACTION_BANKDOWN
public static final byte CFG_GLOBAL_SSACTION_BANKDOWN- See Also:
-
CFG_GLOBAL_SSACTION_BANK1
public static final byte CFG_GLOBAL_SSACTION_BANK1- See Also:
-
CFG_GLOBAL_SSACTION_BANK2
public static final byte CFG_GLOBAL_SSACTION_BANK2- See Also:
-
CFG_GLOBAL_SSACTION_BANK3
public static final byte CFG_GLOBAL_SSACTION_BANK3- See Also:
-
CFG_GLOBAL_SSACTION_BANK4
public static final byte CFG_GLOBAL_SSACTION_BANK4- See Also:
-
CFG_GLOBAL_SSACTION_CYCLE_BANK
public static final byte CFG_GLOBAL_SSACTION_CYCLE_BANK- See Also:
-
CFG_ENC_CONTROLTYPE_ENCODER
public static final byte CFG_ENC_CONTROLTYPE_ENCODER- See Also:
-
CFG_ENC_CONTROLTYPE_SWITCH
public static final byte CFG_ENC_CONTROLTYPE_SWITCH- See Also:
-
CFG_ENC_CONTROLTYPE_SHIFT
public static final byte CFG_ENC_CONTROLTYPE_SHIFT- See Also:
-
CFG_ENC_MOVEMENTTYPE_DIRECT_HIGHRESOLUTION
public static final byte CFG_ENC_MOVEMENTTYPE_DIRECT_HIGHRESOLUTION- See Also:
-
CFG_ENC_MOVEMENTTYPE_EMULATION_RESPONSIVE
public static final byte CFG_ENC_MOVEMENTTYPE_EMULATION_RESPONSIVE- See Also:
-
CFG_ENC_MOVEMENTTYPE_VELOCITYSENSITIVE
public static final byte CFG_ENC_MOVEMENTTYPE_VELOCITYSENSITIVE- See Also:
-
CFG_ENC_SWACTION_CCHOLD
public static final byte CFG_ENC_SWACTION_CCHOLD- See Also:
-
CFG_ENC_SWACTION_CCTOGGLE
public static final byte CFG_ENC_SWACTION_CCTOGGLE- See Also:
-
CFG_ENC_SWACTION_NOTEHOLD
public static final byte CFG_ENC_SWACTION_NOTEHOLD- See Also:
-
CFG_ENC_SWACTION_NOTETOGGLE
public static final byte CFG_ENC_SWACTION_NOTETOGGLE- See Also:
-
CFG_ENC_SWACTION_ENCRESETVALUE
public static final byte CFG_ENC_SWACTION_ENCRESETVALUE- See Also:
-
CFG_ENC_SWACTION_ENCFINEADJUST
public static final byte CFG_ENC_SWACTION_ENCFINEADJUST- See Also:
-
CFG_ENC_SWACTION_SHIFTHOLD
public static final byte CFG_ENC_SWACTION_SHIFTHOLD- See Also:
-
CFG_ENC_SWACTION_SHIFTTOGGLE
public static final byte CFG_ENC_SWACTION_SHIFTTOGGLE- See Also:
-
CFG_ENC_MIDITYPE_SENDNOTE
public static final byte CFG_ENC_MIDITYPE_SENDNOTE- See Also:
-
CFG_ENC_MIDITYPE_SENDCC
public static final byte CFG_ENC_MIDITYPE_SENDCC- See Also:
-
CFG_ENC_MIDITYPE_SENDRELENC
public static final byte CFG_ENC_MIDITYPE_SENDRELENC- See Also:
-
CFG_ENC_MIDITYPE_SENDNOTEOFF
public static final byte CFG_ENC_MIDITYPE_SENDNOTEOFF- See Also:
-
CFG_ENC_MIDITYPE_SENDSWITCHVELCONTROL
public static final byte CFG_ENC_MIDITYPE_SENDSWITCHVELCONTROL- See Also:
-
CFG_ENC_MIDITYPE_SENDRELENCMOUSEEMUDRAG
public static final byte CFG_ENC_MIDITYPE_SENDRELENCMOUSEEMUDRAG- See Also:
-
CFG_ENC_MIDITYPE_SENDRELENCMOUSEEMUSCROLL
public static final byte CFG_ENC_MIDITYPE_SENDRELENCMOUSEEMUSCROLL- See Also:
-
CFG_ENC_INDICATORTYPE_DOT
public static final byte CFG_ENC_INDICATORTYPE_DOT- See Also:
-
CFG_ENC_INDICATORTYPE_BAR
public static final byte CFG_ENC_INDICATORTYPE_BAR- See Also:
-
CFG_ENC_INDICATORTYPE_BLENDEDBAR
public static final byte CFG_ENC_INDICATORTYPE_BLENDEDBAR- See Also:
-
CFG_ENC_INDICATORTYPE_BLENDEDDOT
public static final byte CFG_ENC_INDICATORTYPE_BLENDEDDOT- See Also:
-
-
Constructor Details
-
MidiFighterTwister
-
-
Method Details
-
onParameterChanged
Description copied from interface:LXParameterListener
Invoked when the value of a parameter is changed.- Specified by:
onParameterChanged
in interfaceLXParameterListener
- Overrides:
onParameterChanged
in classLXMidiSurface
- Parameters:
p
- The parameter that has changed its value
-
onEnable
protected void onEnable(boolean on) Description copied from class:LXMidiSurface
Subclasses may override, invoked automatically when surface is enabled/disabled- Overrides:
onEnable
in classLXMidiSurface
- Parameters:
on
- Whether surface is enabled
-
onReconnect
protected void onReconnect()Description copied from class:LXMidiSurface
Subclasses may override, invoked when the control surface was disconnected but has now reconnected. Re-initialization may be necessary.- Overrides:
onReconnect
in classLXMidiSurface
-
noteOnReceived
- Specified by:
noteOnReceived
in interfaceLXMidiListener
- Overrides:
noteOnReceived
in classLXMidiSurface
-
noteOffReceived
- Specified by:
noteOffReceived
in interfaceLXMidiListener
- Overrides:
noteOffReceived
in classLXMidiSurface
-
controlChangeReceived
- Specified by:
controlChangeReceived
in interfaceLXMidiListener
- Overrides:
controlChangeReceived
in classLXMidiSurface
-
getRemoteControlStart
public int getRemoteControlStart()- Overrides:
getRemoteControlStart
in classLXMidiSurface
-
getRemoteControlLength
public int getRemoteControlLength()- Overrides:
getRemoteControlLength
in classLXMidiSurface
-
isRemoteControlAux
public boolean isRemoteControlAux()- Overrides:
isRemoteControlAux
in classLXMidiSurface
-
dispose
public void dispose()- Overrides:
dispose
in classLXMidiSurface
-