Package heronarts.lx.midi.surface
Class APCmini
java.lang.Object
heronarts.lx.midi.surface.LXMidiSurface
heronarts.lx.midi.surface.APCmini
- 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 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
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 double
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/disabledprotected 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, onParameterChanged, pitchBendReceived, programChangeReceived, save, sendControlChange, sendNoteOn
-
Field Details
-
DEVICE_NAME
- See Also:
-
NUM_CHANNELS
public static final int NUM_CHANNELS- See Also:
-
PARAMETER_INCREMENT_AMOUNT
public static final double PARAMETER_INCREMENT_AMOUNT- See Also:
-
CHANNEL_FADER
public static final int CHANNEL_FADER- See Also:
-
CHANNEL_FADER_MAX
public static final int CHANNEL_FADER_MAX- See Also:
-
MASTER_FADER
public static final int MASTER_FADER- See Also:
-
MIDI_CHANNEL
public static final int MIDI_CHANNEL- 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_COLUMNS
public static final int CLIP_LAUNCH_COLUMNS- 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_BUTTON
public static final int CHANNEL_BUTTON- See Also:
-
CHANNEL_BUTTON_MAX
public static final int CHANNEL_BUTTON_MAX- 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:
-
TOGGLE_CLIPS
public static final int TOGGLE_CLIPS- See Also:
-
TOGGLE_PARAMETERS
public static final int TOGGLE_PARAMETERS- See Also:
-
PARAMETER_COLUMNS
public static final int PARAMETER_COLUMNS- See Also:
-
PARAMETER_COLUMN_STRIDE
public static final int PARAMETER_COLUMN_STRIDE- See Also:
-
PARAMETER_ROWS
public static final int PARAMETER_ROWS- See Also:
-
PARAMETER_ROW_STRIDE
public static final int PARAMETER_ROW_STRIDE- See Also:
-
PARAMETER_NUM
public static final int PARAMETER_NUM- See Also:
-
PARAMETER_START
public static final int PARAMETER_START- See Also:
-
SHIFT
public static final int SHIFT- See Also:
-
SELECT_UP
public static final int SELECT_UP- See Also:
-
SELECT_DOWN
public static final int SELECT_DOWN- See Also:
-
SELECT_LEFT
public static final int SELECT_LEFT- See Also:
-
SELECT_RIGHT
public static final int SELECT_RIGHT- See Also:
-
FADER_CTRL_VOLUME
public static final int FADER_CTRL_VOLUME- See Also:
-
FADER_CTRL_PAN
public static final int FADER_CTRL_PAN- See Also:
-
FADER_CTRL_SEND
public static final int FADER_CTRL_SEND- See Also:
-
FADER_CTRL_DEVICE
public static final int FADER_CTRL_DEVICE- See Also:
-
CHANNEL_BUTTON_FOCUS
public static final int CHANNEL_BUTTON_FOCUS- See Also:
-
CHANNEL_BUTTON_ENABLED
public static final int CHANNEL_BUTTON_ENABLED- See Also:
-
CHANNEL_BUTTON_CUE
public static final int CHANNEL_BUTTON_CUE- See Also:
-
CHANNEL_BUTTON_ARM
public static final int CHANNEL_BUTTON_ARM- See Also:
-
CHANNEL_BUTTON_CROSSFADEGROUP
public static final int CHANNEL_BUTTON_CROSSFADEGROUP- See Also:
-
CLIP_STOP
public static final int CLIP_STOP- See Also:
-
SOLO
public static final int SOLO- See Also:
-
REC_ARM
public static final int REC_ARM- See Also:
-
MUTE
public static final int MUTE- See Also:
-
SELECT
public static final int SELECT- See Also:
-
EXTRA1
public static final int EXTRA1- See Also:
-
EXTRA2
public static final int EXTRA2- See Also:
-
STOP_ALL_CLIPS
public static final int STOP_ALL_CLIPS- 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:
-
LED_PATTERN_ACTIVE
public static final int LED_PATTERN_ACTIVE- See Also:
-
LED_PATTERN_TRANSITION
public static final int LED_PATTERN_TRANSITION- See Also:
-
LED_PATTERN_FOCUSED
public static final int LED_PATTERN_FOCUSED- See Also:
-
LED_PATTERN_INACTIVE
public static final int LED_PATTERN_INACTIVE- See Also:
-
LED_CLIP_INACTIVE
public static final int LED_CLIP_INACTIVE- See Also:
-
LED_CLIP_PLAY
public static final int LED_CLIP_PLAY- See Also:
-
LED_CLIP_ARM
public static final int LED_CLIP_ARM- See Also:
-
LED_CLIP_RECORD
public static final int LED_CLIP_RECORD- See Also:
-
LED_PARAMETER_INCREMENT
public static final int LED_PARAMETER_INCREMENT- See Also:
-
LED_PARAMETER_DECREMENT
public static final int LED_PARAMETER_DECREMENT- See Also:
-
LED_PARAMETER_RESET
public static final int LED_PARAMETER_RESET- See Also:
-
LED_PARAMETER_ISDEFAULT
public static final int LED_PARAMETER_ISDEFAULT- See Also:
-
-
Constructor Details
-
APCmini
-
-
Method Details
-
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
-