Package heronarts.lx.midi.surface
Class APC40Mk2
java.lang.Object
heronarts.lx.midi.surface.LXMidiSurface
heronarts.lx.midi.surface.APC40Mk2
- 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
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 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
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
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
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
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:
-
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:
-
CLIP_LAUNCH_ROWS
public static final int CLIP_LAUNCH_ROWS- See Also:
-
CLIP_LAUNCH_COLUMNS
public static final int CLIP_LAUNCH_COLUMNS- See Also:
-
PALETTE_SWATCH_ROWS
public static final int PALETTE_SWATCH_ROWS- See Also:
-
PALETTE_SWATCH_COLUMNS
public static final int PALETTE_SWATCH_COLUMNS- See Also:
-
MASTER_SWATCH
public static final int MASTER_SWATCH- See Also:
-
RAINBOW_GRID_COLUMNS
public static final int RAINBOW_GRID_COLUMNS- See Also:
-
RAINBOW_GRID_ROWS
public static final int RAINBOW_GRID_ROWS- See Also:
-
RAINBOW_HUE_STEP
public static final int RAINBOW_HUE_STEP- See Also:
-
CHANNEL_FADER
public static final int CHANNEL_FADER- See Also:
-
TEMPO
public static final int TEMPO- 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:
-
CHANNEL_KNOB
public static final int CHANNEL_KNOB- See Also:
-
CHANNEL_KNOB_NUM
public static final int CHANNEL_KNOB_NUM- See Also:
-
CHANNEL_KNOB_MAX
public static final int CHANNEL_KNOB_MAX- See Also:
-
CHANNEL_KNOB_STYLE
public static final int CHANNEL_KNOB_STYLE- See Also:
-
CHANNEL_KNOB_STYLE_MAX
public static final int CHANNEL_KNOB_STYLE_MAX- See Also:
-
CLIP_LAUNCH
public static final int CLIP_LAUNCH- See Also:
-
CLIP_LAUNCH_NUM
public static final int CLIP_LAUNCH_NUM- See Also:
-
CLIP_LAUNCH_MAX
public static final int CLIP_LAUNCH_MAX- 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:
-
DEVICE_LEFT
public static final int DEVICE_LEFT- See Also:
-
DEVICE_RIGHT
public static final int DEVICE_RIGHT- See Also:
-
BANK_LEFT
public static final int BANK_LEFT- See Also:
-
BANK_RIGHT
public static final int BANK_RIGHT- See Also:
-
DEVICE_ON_OFF
public static final int DEVICE_ON_OFF- See Also:
-
DEVICE_LOCK
public static final int DEVICE_LOCK- See Also:
-
CLIP_DEVICE_VIEW
public static final int CLIP_DEVICE_VIEW- See Also:
-
DETAIL_VIEW
public static final int DETAIL_VIEW- 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:
-
SENDS
public static final int SENDS- See Also:
-
USER
public static final int USER- See Also:
-
PLAY
public static final int PLAY- See Also:
-
RECORD
public static final int RECORD- See Also:
-
SESSION
public static final int SESSION- 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:
-
METRONOME
public static final int METRONOME- See Also:
-
TAP_TEMPO
public static final int TAP_TEMPO- See Also:
-
NUDGE_MINUS
public static final int NUDGE_MINUS- See Also:
-
NUDGE_PLUS
public static final int NUDGE_PLUS- See Also:
-
BANK
public static final int BANK- See Also:
-
LED_OFF
public static final int LED_OFF- See Also:
-
LED_ON
public static final int LED_ON- See Also:
-
LED_GRAY
public static final int LED_GRAY- See Also:
-
LED_CYAN
public static final int LED_CYAN- See Also:
-
LED_GRAY_DIM
public static final int LED_GRAY_DIM- See Also:
-
LED_RED
public static final int LED_RED- See Also:
-
LED_RED_HALF
public static final int LED_RED_HALF- See Also:
-
LED_ORANGE_RED
public static final int LED_ORANGE_RED- See Also:
-
LED_GREEN
public static final int LED_GREEN- See Also:
-
LED_GREEN_HALF
public static final int LED_GREEN_HALF- See Also:
-
LED_YELLOW
public static final int LED_YELLOW- See Also:
-
LED_AMBER
public static final int LED_AMBER- See Also:
-
LED_AMBER_HALF
public static final int LED_AMBER_HALF- See Also:
-
LED_AMBER_DIM
public static final int LED_AMBER_DIM- See Also:
-
LED_MODE_PRIMARY
public static final int LED_MODE_PRIMARY- See Also:
-
LED_MODE_PULSE
public static final int LED_MODE_PULSE- See Also:
-
LED_MODE_BLINK
public static final int LED_MODE_BLINK- See Also:
-
masterFaderEnabled
-
crossfaderEnabled
-
performanceLock
-
-
Constructor Details
-
APC40Mk2
-
-
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
-