public class APC40Mk2 extends LXMidiSurface implements LXMidiSurface.Bidirectional
LXMidiSurface.Bidirectional
LXSerializable.Utils
Modifier and Type | Field and Description |
---|---|
static byte |
ABLETON_ALTERNATE_MODE |
static byte |
ABLETON_MODE |
static int |
BANK |
static int |
BANK_LEFT |
static int |
BANK_RIGHT |
static int |
BANK_SELECT_DOWN |
static int |
BANK_SELECT_LEFT |
static int |
BANK_SELECT_RIGHT |
static int |
BANK_SELECT_UP |
static int |
CHANNEL_ACTIVE |
static int |
CHANNEL_ARM |
static int |
CHANNEL_CROSSFADE_GROUP |
static int |
CHANNEL_FADER |
static int |
CHANNEL_FOCUS |
static int |
CHANNEL_KNOB |
static int |
CHANNEL_KNOB_MAX |
static int |
CHANNEL_KNOB_NUM |
static int |
CHANNEL_KNOB_STYLE |
static int |
CHANNEL_KNOB_STYLE_MAX |
static int |
CHANNEL_SOLO |
static int |
CLIP_DEVICE_VIEW |
static int |
CLIP_LAUNCH |
static int |
CLIP_LAUNCH_COLUMNS |
static int |
CLIP_LAUNCH_MAX |
static int |
CLIP_LAUNCH_NUM |
static int |
CLIP_LAUNCH_ROWS |
static int |
CLIP_STOP |
static int |
CROSSFADER |
static int |
CUE_LEVEL |
static int |
DETAIL_VIEW |
static int |
DEVICE_KNOB |
static int |
DEVICE_KNOB_MAX |
static int |
DEVICE_KNOB_NUM |
static int |
DEVICE_KNOB_STYLE |
static int |
DEVICE_KNOB_STYLE_MAX |
static int |
DEVICE_LEFT |
static int |
DEVICE_LOCK |
static String |
DEVICE_NAME |
static int |
DEVICE_ON_OFF |
static int |
DEVICE_RIGHT |
static byte |
GENERIC_MODE |
static int |
LED_AMBER |
static int |
LED_GRAY |
static int |
LED_GREEN |
static int |
LED_GREEN_HALF |
static int |
LED_MODE_BLINK |
static int |
LED_MODE_PRIMARY |
static int |
LED_MODE_PULSE |
static int |
LED_OFF |
static int |
LED_ON |
static int |
LED_RED |
static int |
LED_RED_HALF |
protected static int |
LED_STYLE_BIPOLAR |
protected static int |
LED_STYLE_OFF |
protected static int |
LED_STYLE_SINGLE |
protected static int |
LED_STYLE_UNIPOLAR |
static int |
LED_YELLOW |
static int |
MASTER_FADER |
static int |
MASTER_FOCUS |
static int |
METRONOME |
static int |
NUDGE_MINUS |
static int |
NUDGE_PLUS |
static int |
NUM_CHANNELS |
static int |
PAN |
static int |
PLAY |
static int |
RECORD |
static int |
SCENE_LAUNCH |
static int |
SCENE_LAUNCH_MAX |
static int |
SCENE_LAUNCH_NUM |
static int |
SENDS |
static int |
SESSION |
static int |
SHIFT |
static int |
STOP_ALL_CLIPS |
static int |
TAP_TEMPO |
static int |
TEMPO |
static int |
USER |
Constructor and Description |
---|
APC40Mk2(LX lx,
LXMidiInput input,
LXMidiOutput output) |
Modifier and Type | Method and Description |
---|---|
void |
controlChangeReceived(MidiControlChange cc) |
void |
noteOffReceived(MidiNote note) |
void |
noteOnReceived(MidiNoteOn note) |
protected void |
onEnable(boolean on)
Subclasses may override, invoked automatically when surface is enabled/disabled
|
protected void |
onReconnect()
Subclasses may override, invoked when the control surface was disconnected but
has now reconnected.
|
aftertouchReceived, getInput, getName, getOutput, load, pitchBendReceived, programChangeReceived, save, sendControlChange, sendNoteOn
public static final String DEVICE_NAME
public static final byte GENERIC_MODE
public static final byte ABLETON_MODE
public static final byte ABLETON_ALTERNATE_MODE
protected static final int LED_STYLE_OFF
protected static final int LED_STYLE_SINGLE
protected static final int LED_STYLE_UNIPOLAR
protected static final int LED_STYLE_BIPOLAR
public static final int NUM_CHANNELS
public static final int CLIP_LAUNCH_ROWS
public static final int CLIP_LAUNCH_COLUMNS
public static final int CHANNEL_FADER
public static final int TEMPO
public static final int MASTER_FADER
public static final int CROSSFADER
public static final int CUE_LEVEL
public static final int DEVICE_KNOB
public static final int DEVICE_KNOB_NUM
public static final int DEVICE_KNOB_MAX
public static final int DEVICE_KNOB_STYLE
public static final int DEVICE_KNOB_STYLE_MAX
public static final int CHANNEL_KNOB
public static final int CHANNEL_KNOB_NUM
public static final int CHANNEL_KNOB_MAX
public static final int CHANNEL_KNOB_STYLE
public static final int CHANNEL_KNOB_STYLE_MAX
public static final int CLIP_LAUNCH
public static final int CLIP_LAUNCH_NUM
public static final int CLIP_LAUNCH_MAX
public static final int CHANNEL_ARM
public static final int CHANNEL_SOLO
public static final int CHANNEL_ACTIVE
public static final int CHANNEL_FOCUS
public static final int CLIP_STOP
public static final int DEVICE_LEFT
public static final int DEVICE_RIGHT
public static final int BANK_LEFT
public static final int BANK_RIGHT
public static final int DEVICE_ON_OFF
public static final int DEVICE_LOCK
public static final int CLIP_DEVICE_VIEW
public static final int DETAIL_VIEW
public static final int CHANNEL_CROSSFADE_GROUP
public static final int MASTER_FOCUS
public static final int STOP_ALL_CLIPS
public static final int SCENE_LAUNCH
public static final int SCENE_LAUNCH_NUM
public static final int SCENE_LAUNCH_MAX
public static final int PAN
public static final int SENDS
public static final int USER
public static final int PLAY
public static final int RECORD
public static final int SESSION
public static final int BANK_SELECT_UP
public static final int BANK_SELECT_DOWN
public static final int BANK_SELECT_RIGHT
public static final int BANK_SELECT_LEFT
public static final int SHIFT
public static final int METRONOME
public static final int TAP_TEMPO
public static final int NUDGE_MINUS
public static final int NUDGE_PLUS
public static final int BANK
public static final int LED_OFF
public static final int LED_ON
public static final int LED_GRAY
public static final int LED_RED
public static final int LED_RED_HALF
public static final int LED_GREEN
public static final int LED_GREEN_HALF
public static final int LED_YELLOW
public static final int LED_AMBER
public static final int LED_MODE_PRIMARY
public static final int LED_MODE_PULSE
public static final int LED_MODE_BLINK
public APC40Mk2(LX lx, LXMidiInput input, LXMidiOutput output)
protected void onEnable(boolean on)
LXMidiSurface
onEnable
in class LXMidiSurface
on
- Whether surface is enabledprotected void onReconnect()
LXMidiSurface
onReconnect
in class LXMidiSurface
public void noteOnReceived(MidiNoteOn note)
noteOnReceived
in interface LXMidiListener
noteOnReceived
in class LXMidiSurface
public void noteOffReceived(MidiNote note)
noteOffReceived
in interface LXMidiListener
noteOffReceived
in class LXMidiSurface
public void controlChangeReceived(MidiControlChange cc)
controlChangeReceived
in interface LXMidiListener
controlChangeReceived
in class LXMidiSurface
LX library by Mark C. Slee. © 2012-2020