Package heronarts.lx.midi.surface
Class DJMA9
java.lang.Object
heronarts.lx.midi.surface.LXMidiSurface
heronarts.lx.midi.surface.DJMA9
- All Implemented Interfaces:
LXSerializable
,LXMidiListener
,LXParameterListener
DJM-A9 INSTRUCTIONS
On the mixer, under My Settings > MIDI:
-Button Type MUST be set to "Toggle". Otherwise only the
button state is sent to midi instead of function state.
-Any midi channel is usable, just set this class' midiChannel parameter to match.
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic enum
static 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 TypeFieldDescriptionfinal EnumParameter<DJMA9.Channel>
static final DJMA9.Channel[]
static final int
final EnumParameter<DJMA9.Channel>
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 BoundedParameter
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 BoundedParameter
static final int
final BoundedParameter
final BoundedParameter
static final int
final BoundedParameter
final BoundedParameter
static final int
final BoundedParameter
final BoundedParameter
static final int
final BoundedParameter
final BoundedParameter
final BoundedParameter
final BoundedParameter
final BoundedParameter
final BoundedParameter
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 String
static final int
final BoundedParameter
final BoundedParameter
final BoundedParameter
final BoundedParameter
final BoundedParameter
final BoundedParameter
final BoundedParameter
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 BoundedParameter
static final int
final BoundedParameter
final BoundedParameter
final BoundedParameter
static final int
final BoundedParameter
final BoundedParameter
final BoundedParameter
static final int
final BoundedParameter
final BoundedParameter
final BoundedParameter
static final int
final BoundedParameter
final BoundedParameter
final BoundedParameter
final BoundedParameter
final BoundedParameter
final BoundedParameter
final BoundedParameter
final BoundedParameter
final BoundedParameter
final BoundedParameter
final BoundedParameter
final BoundedParameter
final BoundedParameter
final BoundedParameter
static final int
final BoundedParameter
final BoundedParameter
final BoundedParameter
static final int
final BoundedParameter
final BoundedParameter
final BoundedParameter
static final int
final BoundedParameter
final BoundedParameter
final BoundedParameter
static final int
final BoundedParameter
final BoundedParameter
final BoundedParameter
final BoundedParameter
final BoundedParameter
final BoundedParameter
final BoundedParameter
static final int
final BoundedParameter
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 BoundedParameter
static final int
final BoundedParameter
final BoundedParameter
final BoundedParameter
static final int
final BoundedParameter
final BoundedParameter
final BoundedParameter
static final int
final BoundedParameter
final BoundedParameter
final BoundedParameter
static final int
final BoundedParameter
final BoundedParameter
final BoundedParameter
final BoundedParameter
final BoundedParameter
final BoundedParameter
final EnumParameter<DJMA9.MidiChannel>
final BoundedParameter
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 BoundedParameter
static final int
static final int
static final int
static final int
static final int
static final int
final EnumParameter<DJMA9.XFMode>
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
aftertouchReceived
(MidiAftertouch aftertouch) void
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
pitchBendReceived
(MidiPitchBend pitchBend) void
protected void
protected void
protected double
scaleEq
(double value) protected void
updateABcolor
(DJMA9.Channel channel) protected void
updateABeq
(DJMA9.Channel channel) protected void
protected void
updateAcolor
(DJMA9.Channel channel) protected void
protected void
updateAeq
(DJMA9.Channel channel) protected void
protected void
updateBcolor
(DJMA9.Channel channel) protected void
protected void
updateBeq
(DJMA9.Channel channel) protected void
updateColor
(DJMA9.Channel channel, double value) protected void
updateFade
(DJMA9.Channel channel, double value) protected void
updateHigh
(DJMA9.Channel channel, double value) protected void
protected void
updateLevelNet
(DJMA9.Channel channel) protected void
updateLow
(DJMA9.Channel channel, double value) protected void
protected void
updateMid
(DJMA9.Channel channel, double value) protected void
protected void
Methods inherited from class heronarts.lx.midi.surface.LXMidiSurface
addSetting, addState, getInput, getName, getOutput, getRemoteControlLength, getRemoteControlStart, isRemoteControlAux, load, onParameterChanged, onReconnect, save, sendControlChange, sendNoteOn
-
Field Details
-
DEVICE_NAME
- See Also:
-
midiChannel
-
ALL_CHANNELS
-
MASTER_FADER
public static final int MASTER_FADER- See Also:
-
BOOTH_FADER
public static final int BOOTH_FADER- See Also:
-
BOOTH_EQ_HI
public static final int BOOTH_EQ_HI- See Also:
-
BOOTH_EQ_LOW
public static final int BOOTH_EQ_LOW- See Also:
-
MULTIIO_SENDCH_1
public static final int MULTIIO_SENDCH_1- See Also:
-
MULTIIO_SENDCH_2
public static final int MULTIIO_SENDCH_2- See Also:
-
MULTIIO_SENDCH_3
public static final int MULTIIO_SENDCH_3- See Also:
-
MULTIIO_SENDCH_4
public static final int MULTIIO_SENDCH_4- See Also:
-
MULTIIO_SENDCH_MIC
public static final int MULTIIO_SENDCH_MIC- See Also:
-
MULTIIO_SENDCH_CFA
public static final int MULTIIO_SENDCH_CFA- See Also:
-
MULTIIO_SENDCH_CFB
public static final int MULTIIO_SENDCH_CFB- See Also:
-
MULTIIO_SENDCH_MASTER
public static final int MULTIIO_SENDCH_MASTER- See Also:
-
MULTIIO_LEVEL
public static final int MULTIIO_LEVEL- See Also:
-
XPAD_SLIDER
public static final int XPAD_SLIDER- See Also:
-
BEAT_LEFT
public static final int BEAT_LEFT- See Also:
-
BEAT_RIGHT
public static final int BEAT_RIGHT- See Also:
-
AUTO_TAP
public static final int AUTO_TAP- See Also:
-
BEAT_TAP_TEMPO
public static final int BEAT_TAP_TEMPO- See Also:
-
TIME_MSB
public static final int TIME_MSB- See Also:
-
TIME_LSB
public static final int TIME_LSB- See Also:
-
FX_LOW
public static final int FX_LOW- See Also:
-
FX_MID
public static final int FX_MID- See Also:
-
FX_HIGH
public static final int FX_HIGH- See Also:
-
FX_TYPE_DELAY
public static final int FX_TYPE_DELAY- See Also:
-
FX_TYPE_ECHO
public static final int FX_TYPE_ECHO- See Also:
-
FX_TYPE_PINGPONG
public static final int FX_TYPE_PINGPONG- See Also:
-
FX_TYPE_SPIRAL
public static final int FX_TYPE_SPIRAL- See Also:
-
FX_TYPE_HELIX
public static final int FX_TYPE_HELIX- See Also:
-
FX_TYPE_REVERB
public static final int FX_TYPE_REVERB- See Also:
-
FX_TYPE_FLANGER
public static final int FX_TYPE_FLANGER- See Also:
-
FX_TYPE_PHASER
public static final int FX_TYPE_PHASER- See Also:
-
FX_TYPE_FILTER
public static final int FX_TYPE_FILTER- See Also:
-
FX_TYPE_TRIPLETFILTER
public static final int FX_TYPE_TRIPLETFILTER- See Also:
-
FX_TYPE_TRANS
public static final int FX_TYPE_TRANS- See Also:
-
FX_TYPE_ROLL
public static final int FX_TYPE_ROLL- See Also:
-
FX_TYPE_TRIPLETROLL
public static final int FX_TYPE_TRIPLETROLL- See Also:
-
FX_TYPE_MOBIUS
public static final int FX_TYPE_MOBIUS- See Also:
-
FX_LEVEL
public static final int FX_LEVEL- See Also:
-
FX_ONOFF
public static final int FX_ONOFF- See Also:
-
SLIDE_LEFT
public static final int SLIDE_LEFT- See Also:
-
SLIDE_CENTER
public static final int SLIDE_CENTER- See Also:
-
SLIDE_RIGHT
public static final int SLIDE_RIGHT- See Also:
-
CROSSFADER
public static final int CROSSFADER- See Also:
-
EQ_CURVE
public static final int EQ_CURVE- See Also:
-
CHANNEL_FADER_CURVE
public static final int CHANNEL_FADER_CURVE- See Also:
-
CROSSFADER_CURVE
public static final int CROSSFADER_CURVE- See Also:
-
CHANNEL_FADER1
public static final int CHANNEL_FADER1- See Also:
-
CHANNEL_FADER2
public static final int CHANNEL_FADER2- See Also:
-
CHANNEL_FADER3
public static final int CHANNEL_FADER3- See Also:
-
CHANNEL_FADER4
public static final int CHANNEL_FADER4- See Also:
-
CROSSFADER_ASSIGN1
public static final int CROSSFADER_ASSIGN1- See Also:
-
CROSSFADER_ASSIGN2
public static final int CROSSFADER_ASSIGN2- See Also:
-
CROSSFADER_ASSIGN3
public static final int CROSSFADER_ASSIGN3- See Also:
-
CROSSFADER_ASSIGN4
public static final int CROSSFADER_ASSIGN4- See Also:
-
TRIM1
public static final int TRIM1- See Also:
-
TRIM2
public static final int TRIM2- See Also:
-
TRIM3
public static final int TRIM3- See Also:
-
TRIM4
public static final int TRIM4- See Also:
-
HIGH1
public static final int HIGH1- See Also:
-
HIGH2
public static final int HIGH2- See Also:
-
HIGH3
public static final int HIGH3- See Also:
-
HIGH4
public static final int HIGH4- See Also:
-
MID1
public static final int MID1- See Also:
-
MID2
public static final int MID2- See Also:
-
MID3
public static final int MID3- See Also:
-
MID4
public static final int MID4- See Also:
-
LOW1
public static final int LOW1- See Also:
-
LOW2
public static final int LOW2- See Also:
-
LOW3
public static final int LOW3- See Also:
-
LOW4
public static final int LOW4- See Also:
-
COLOR1
public static final int COLOR1- See Also:
-
COLOR2
public static final int COLOR2- See Also:
-
COLOR3
public static final int COLOR3- See Also:
-
COLOR4
public static final int COLOR4- See Also:
-
COLOR_PARAMETER
public static final int COLOR_PARAMETER- See Also:
-
PHONES_MIX_A
public static final int PHONES_MIX_A- See Also:
-
PHONES_LEVEL_A
public static final int PHONES_LEVEL_A- See Also:
-
PHONES_MIX_B
public static final int PHONES_MIX_B- See Also:
-
PHONES_LEVEL_B
public static final int PHONES_LEVEL_B- See Also:
-
MIC_EQ_HIGH
public static final int MIC_EQ_HIGH- See Also:
-
MIC_EQ_LOW
public static final int MIC_EQ_LOW- See Also:
-
MIC_FX_ECHO
public static final int MIC_FX_ECHO- See Also:
-
MIC_FX_PITCH
public static final int MIC_FX_PITCH- See Also:
-
MIC_FX_MEGAPHONE
public static final int MIC_FX_MEGAPHONE- See Also:
-
MIC_FX_PARAMETER
public static final int MIC_FX_PARAMETER- See Also:
-
MIC_REVERB_PARAMETER
public static final int MIC_REVERB_PARAMETER- See Also:
-
MULTIIO_INSERT_SOURCE
public static final int MULTIIO_INSERT_SOURCE- See Also:
-
QUANTIZE
public static final int QUANTIZE- See Also:
-
BEAT_FX_ASSIGN1
public static final int BEAT_FX_ASSIGN1- See Also:
-
BEAT_FX_ASSIGN2
public static final int BEAT_FX_ASSIGN2- See Also:
-
BEAT_FX_ASSIGN3
public static final int BEAT_FX_ASSIGN3- See Also:
-
BEAT_FX_ASSIGN4
public static final int BEAT_FX_ASSIGN4- See Also:
-
BEAT_FX_ASSIGN_MIC
public static final int BEAT_FX_ASSIGN_MIC- See Also:
-
BEAT_FX_ASSIGN_CFA
public static final int BEAT_FX_ASSIGN_CFA- See Also:
-
BEAT_FX_ASSIGN_CFB
public static final int BEAT_FX_ASSIGN_CFB- See Also:
-
BEAT_FX_ASSIGN_MASTER
public static final int BEAT_FX_ASSIGN_MASTER- See Also:
-
COLOR_FX_SPACE
public static final int COLOR_FX_SPACE- See Also:
-
COLOR_FX_DUBECHO
public static final int COLOR_FX_DUBECHO- See Also:
-
COLOR_FX_CRUSH
public static final int COLOR_FX_CRUSH- See Also:
-
COLOR_FX_SWEEP
public static final int COLOR_FX_SWEEP- See Also:
-
COLOR_FX_NOISE
public static final int COLOR_FX_NOISE- See Also:
-
COLOR_FX_FILTER
public static final int COLOR_FX_FILTER- See Also:
-
CUE1_A
public static final int CUE1_A- See Also:
-
CUE2_A
public static final int CUE2_A- See Also:
-
CUE3_A
public static final int CUE3_A- See Also:
-
CUE4_A
public static final int CUE4_A- See Also:
-
CUE_MASTER_A
public static final int CUE_MASTER_A- See Also:
-
CUE_LINK_A
public static final int CUE_LINK_A- See Also:
-
PHONES_MONO_SPLIT_A
public static final int PHONES_MONO_SPLIT_A- See Also:
-
CUE1_B
public static final int CUE1_B- See Also:
-
CUE2_B
public static final int CUE2_B- See Also:
-
CUE3_B
public static final int CUE3_B- See Also:
-
CUE4_B
public static final int CUE4_B- See Also:
-
CUE_MASTER_B
public static final int CUE_MASTER_B- See Also:
-
CUE_LINK_B
public static final int CUE_LINK_B- See Also:
-
PHONES_MONO_SPLIT_B
public static final int PHONES_MONO_SPLIT_B- See Also:
-
MIC_TALKOVER
public static final int MIC_TALKOVER- See Also:
-
MIC_REVERB
public static final int MIC_REVERB- See Also:
-
MIC_ON
public static final int MIC_ON- See Also:
-
low1raw
-
low2raw
-
low3raw
-
low4raw
-
mid1raw
-
mid2raw
-
mid3raw
-
mid4raw
-
high1raw
-
high2raw
-
high3raw
-
high4raw
-
fade1
-
fade2
-
fade3
-
fade4
-
masterFader
-
boothMonitor
-
crossfader
-
color1raw
-
color2raw
-
color3raw
-
color4raw
-
colorParameter
-
colorSensitivity
-
low1
-
low2
-
low3
-
low4
-
mid1
-
mid2
-
mid3
-
mid4
-
high1
-
high2
-
high3
-
high4
-
eqRangeMax
-
low1net
-
low2net
-
low3net
-
low4net
-
mid1net
-
mid2net
-
mid3net
-
mid4net
-
high1net
-
high2net
-
high3net
-
high4net
-
color1
-
color2
-
color3
-
color4
-
level1net
-
level2net
-
level3net
-
level4net
-
aChannel
-
bChannel
-
lowA
-
lowB
-
midA
-
midB
-
highA
-
highB
-
lowAnet
-
lowBnet
-
midAnet
-
midBnet
-
highAnet
-
highBnet
-
fadeA
-
fadeB
-
colorA
-
colorB
-
levelAnet
-
levelBnet
-
lowNet
-
midNet
-
highNet
-
smartXF
-
xfMode
-
-
Constructor Details
-
DJMA9
-
-
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
-
recalculateAllEq
protected void recalculateAllEq() -
scaleEq
protected double scaleEq(double value) -
updateLow
-
updateMid
-
updateHigh
-
updateFade
-
updateLevelNet
-
updateLowNet
protected void updateLowNet() -
updateMidNet
protected void updateMidNet() -
updateHighNet
protected void updateHighNet() -
updateABeq
-
updateAeq
protected void updateAeq() -
updateBeq
protected void updateBeq() -
updateAeq
-
updateBeq
-
updateSmartXF
protected void updateSmartXF() -
recalculateAllColors
protected void recalculateAllColors() -
updateColor
-
updateABcolor
-
updateAcolor
protected void updateAcolor() -
updateBcolor
protected void updateBcolor() -
updateAcolor
-
updateBcolor
-
controlChangeReceived
- Specified by:
controlChangeReceived
in interfaceLXMidiListener
- Overrides:
controlChangeReceived
in classLXMidiSurface
-
noteOnReceived
- Specified by:
noteOnReceived
in interfaceLXMidiListener
- Overrides:
noteOnReceived
in classLXMidiSurface
-
noteOffReceived
- Specified by:
noteOffReceived
in interfaceLXMidiListener
- Overrides:
noteOffReceived
in classLXMidiSurface
-
programChangeReceived
- Specified by:
programChangeReceived
in interfaceLXMidiListener
- Overrides:
programChangeReceived
in classLXMidiSurface
-
pitchBendReceived
- Specified by:
pitchBendReceived
in interfaceLXMidiListener
- Overrides:
pitchBendReceived
in classLXMidiSurface
-
aftertouchReceived
- Specified by:
aftertouchReceived
in interfaceLXMidiListener
- Overrides:
aftertouchReceived
in classLXMidiSurface
-
dispose
public void dispose()- Overrides:
dispose
in classLXMidiSurface
-