Package heronarts.lx.midi.surface
Class APC40
java.lang.Object
heronarts.lx.midi.surface.LXMidiSurface
heronarts.lx.midi.surface.APC40
- All Implemented Interfaces:
LXSerializable
,LXMidiListener
,LXMidiSurface.Bidirectional
,LXParameterListener
-
Nested Class Summary
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 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
final BooleanParameter
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 int
static final String
static final int
static final int
static final byte
static final int
static final int
static final int
static final int
static final int
static final int
static final int
protected static final int
protected static final int
protected static final int
protected 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 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
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()
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, getRemoteControlLength, getRemoteControlStart, isRemoteControlAux, load, pitchBendReceived, programChangeReceived, save, sendControlChange, sendNoteOn
-
Field Details
-
DEVICE_NAME
- See Also:
-
GENERIC_MODE
public static final byte GENERIC_MODE- See Also:
-
ABLETON_MODE
public static final byte ABLETON_MODE- See Also:
-
ABLETON_ALTERNATE_MODE
public static final byte ABLETON_ALTERNATE_MODE- See Also:
-
LED_STYLE_OFF
protected static final int LED_STYLE_OFF- See Also:
-
LED_STYLE_SINGLE
protected static final int LED_STYLE_SINGLE- See Also:
-
LED_STYLE_UNIPOLAR
protected static final int LED_STYLE_UNIPOLAR- See Also:
-
LED_STYLE_BIPOLAR
protected static final int LED_STYLE_BIPOLAR- See Also:
-
NUM_CHANNELS
public static final int NUM_CHANNELS- See Also:
-
CHANNEL_FADER
public static final int CHANNEL_FADER- See Also:
-
MASTER_FADER
public static final int MASTER_FADER- See Also:
-
CROSSFADER
public static final int CROSSFADER- See Also:
-
CUE_LEVEL
public static final int CUE_LEVEL- See Also:
-
DEVICE_KNOB
public static final int DEVICE_KNOB- 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:
-
DEVICE_KNOB_STYLE
public static final int DEVICE_KNOB_STYLE- See Also:
-
DEVICE_KNOB_STYLE_MAX
public static final int DEVICE_KNOB_STYLE_MAX- See Also:
-
TRACK_KNOB
public static final int TRACK_KNOB- See Also:
-
TRACK_KNOB_NUM
public static final int TRACK_KNOB_NUM- See Also:
-
TRACK_KNOB_MAX
public static final int TRACK_KNOB_MAX- See Also:
-
TRACK_KNOB_STYLE
public static final int TRACK_KNOB_STYLE- See Also:
-
TRACK_KNOB_STYLE_MAX
public static final int TRACK_KNOB_STYLE_MAX- See Also:
-
CLIP_LAUNCH
public static final int CLIP_LAUNCH- See Also:
-
CLIP_LAUNCH_ROWS
public static final int CLIP_LAUNCH_ROWS- See Also:
-
CLIP_LAUNCH_MAX
public static final int CLIP_LAUNCH_MAX- See Also:
-
CLIP_LAUNCH_COLUMNS
public static final int CLIP_LAUNCH_COLUMNS- See Also:
-
CHANNEL_ARM
public static final int CHANNEL_ARM- See Also:
-
CHANNEL_SOLO
public static final int CHANNEL_SOLO- See Also:
-
CHANNEL_ACTIVE
public static final int CHANNEL_ACTIVE- See Also:
-
CHANNEL_FOCUS
public static final int CHANNEL_FOCUS- See Also:
-
CLIP_STOP
public static final int CLIP_STOP- See Also:
-
CHANNEL_CROSSFADE_GROUP
public static final int CHANNEL_CROSSFADE_GROUP- See Also:
-
MASTER_FOCUS
public static final int MASTER_FOCUS- See Also:
-
STOP_ALL_CLIPS
public static final int STOP_ALL_CLIPS- See Also:
-
SCENE_LAUNCH
public static final int SCENE_LAUNCH- See Also:
-
SCENE_LAUNCH_NUM
public static final int SCENE_LAUNCH_NUM- See Also:
-
SCENE_LAUNCH_MAX
public static final int SCENE_LAUNCH_MAX- See Also:
-
PAN
public static final int PAN- See Also:
-
SEND_A
public static final int SEND_A- See Also:
-
SEND_B
public static final int SEND_B- See Also:
-
SEND_C
public static final int SEND_C- See Also:
-
PLAY
public static final int PLAY- See Also:
-
STOP
public static final int STOP- See Also:
-
RECORD
public static final int RECORD- See Also:
-
BANK_SELECT_UP
public static final int BANK_SELECT_UP- See Also:
-
BANK_SELECT_DOWN
public static final int BANK_SELECT_DOWN- See Also:
-
BANK_SELECT_RIGHT
public static final int BANK_SELECT_RIGHT- See Also:
-
BANK_SELECT_LEFT
public static final int BANK_SELECT_LEFT- See Also:
-
SHIFT
public static final int SHIFT- See Also:
-
TAP_TEMPO
public static final int TAP_TEMPO- See Also:
-
NUDGE_PLUS
public static final int NUDGE_PLUS- See Also:
-
NUDGE_MINUS
public static final int NUDGE_MINUS- See Also:
-
CLIP_TRACK
public static final int CLIP_TRACK- See Also:
-
DEVICE_ON_OFF
public static final int DEVICE_ON_OFF- See Also:
-
DEVICE_LEFT
public static final int DEVICE_LEFT- See Also:
-
DEVICE_RIGHT
public static final int DEVICE_RIGHT- See Also:
-
DETAIL_VIEW
public static final int DETAIL_VIEW- See Also:
-
REC_QUANTIZE
public static final int REC_QUANTIZE- See Also:
-
MIDI_OVERDUB
public static final int MIDI_OVERDUB- See Also:
-
METRONOME
public static final int METRONOME- See Also:
-
LED_OFF
public static final int LED_OFF- See Also:
-
LED_ON
public static final int LED_ON- See Also:
-
LED_BLINK
public static final int LED_BLINK- See Also:
-
LED_GREEN
public static final int LED_GREEN- See Also:
-
LED_GREEN_BLINK
public static final int LED_GREEN_BLINK- See Also:
-
LED_RED
public static final int LED_RED- See Also:
-
LED_RED_BLINK
public static final int LED_RED_BLINK- See Also:
-
LED_YELLOW
public static final int LED_YELLOW- See Also:
-
LED_YELLOW_BLINK
public static final int LED_YELLOW_BLINK- See Also:
-
masterFaderEnabled
-
crossfaderEnabled
-
clipLaunchEnabled
-
-
Constructor Details
-
APC40
-
-
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
-
dispose
public void dispose()- Overrides:
dispose
in classLXMidiSurface
-