Package heronarts.lx.midi.surface
Class DJM900nxs2
java.lang.Object
heronarts.lx.midi.surface.LXMidiSurface
heronarts.lx.midi.surface.DJM900nxs2
- All Implemented Interfaces:
LXSerializable
,LXMidiListener
,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 TypeFieldDescriptionfinal EnumParameter<DJM900nxs2.Channel>
static final DJM900nxs2.Channel[]
static final int
static final int
final EnumParameter<DJM900nxs2.Channel>
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 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
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
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
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
final EnumParameter<DJM900nxs2.XFMode>
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
(DJM900nxs2.Channel channel) protected void
updateABeq
(DJM900nxs2.Channel channel) protected void
protected void
updateAcolor
(DJM900nxs2.Channel channel) protected void
protected void
updateAeq
(DJM900nxs2.Channel channel) protected void
protected void
updateBcolor
(DJM900nxs2.Channel channel) protected void
protected void
updateBeq
(DJM900nxs2.Channel channel) protected void
updateColor
(DJM900nxs2.Channel channel, double value) protected void
updateFade
(DJM900nxs2.Channel channel, double value) protected void
updateHigh
(DJM900nxs2.Channel channel, double value) protected void
protected void
updateLevelNet
(DJM900nxs2.Channel channel) protected void
updateLow
(DJM900nxs2.Channel channel, double value) protected void
protected void
updateMid
(DJM900nxs2.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:
-
ALL_CHANNELS
-
MASTER_FADER
public static final int MASTER_FADER- See Also:
-
BALANCE
public static final int BALANCE- See Also:
-
BOOTH_FADER
public static final int BOOTH_FADER- 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:
-
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_SWEEP
public static final int COLOR_FX_SWEEP- See Also:
-
COLOR_FX_NOISE
public static final int COLOR_FX_NOISE- See Also:
-
COLOR_FX_CRUSH
public static final int COLOR_FX_CRUSH- See Also:
-
COLOR_FX_FILTER
public static final int COLOR_FX_FILTER- See Also:
-
CUE1
public static final int CUE1- See Also:
-
CUE2
public static final int CUE2- See Also:
-
CUE3
public static final int CUE3- See Also:
-
CUE4
public static final int CUE4- See Also:
-
CUE_MASTER
public static final int CUE_MASTER- See Also:
-
CUE_LINK
public static final int CUE_LINK- See Also:
-
PHONES_MIXING
public static final int PHONES_MIXING- See Also:
-
PHONES_LEVEL
public static final int PHONES_LEVEL- See Also:
-
SENDRETURN_SOURCE
public static final int SENDRETURN_SOURCE- See Also:
-
SENDRETURN_TYPE
public static final int SENDRETURN_TYPE- See Also:
-
SENDRETURN_LEVEL
public static final int SENDRETURN_LEVEL- See Also:
-
SENDRETURN_ONOFF
public static final int SENDRETURN_ONOFF- See Also:
-
PITCH_SOMETHING1
public static final int PITCH_SOMETHING1- See Also:
-
PITCH_SOMETHING2
public static final int PITCH_SOMETHING2- See Also:
-
BEAT_LOWER
public static final int BEAT_LOWER- See Also:
-
BEAT_HIGHER
public static final int BEAT_HIGHER- See Also:
-
AUTO_TAP
public static final int AUTO_TAP- See Also:
-
TAP_TEMPO
public static final int TAP_TEMPO- 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_REVERB
public static final int FX_TYPE_REVERB- See Also:
-
FX_TYPE_TRANS
public static final int FX_TYPE_TRANS- See Also:
-
FX_TYPE_FILTER
public static final int FX_TYPE_FILTER- 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_PITCH
public static final int FX_TYPE_PITCH- See Also:
-
FX_TYPE_SLIPROLL
public static final int FX_TYPE_SLIPROLL- See Also:
-
FX_TYPE_ROLL
public static final int FX_TYPE_ROLL- See Also:
-
FX_TYPE_VINYLBRAKE
public static final int FX_TYPE_VINYLBRAKE- See Also:
-
FX_TYPE_HELIX
public static final int FX_TYPE_HELIX- See Also:
-
FX_TARGET_CROSSFADER_B
public static final int FX_TARGET_CROSSFADER_B- See Also:
-
FX_TARGET_CROSSFADER_A
public static final int FX_TARGET_CROSSFADER_A- See Also:
-
FX_TARGET_MIC
public static final int FX_TARGET_MIC- See Also:
-
FX_TARGET_CHANNEL1
public static final int FX_TARGET_CHANNEL1- See Also:
-
FX_TARGET_CHANNEL2
public static final int FX_TARGET_CHANNEL2- See Also:
-
FX_TARGET_CHANNEL3
public static final int FX_TARGET_CHANNEL3- See Also:
-
FX_TARGET_CHANNEL4
public static final int FX_TARGET_CHANNEL4- See Also:
-
FX_TARGET_MASTER
public static final int FX_TARGET_MASTER- See Also:
-
FX_LEVEL
public static final int FX_LEVEL- See Also:
-
FX_ONOFF
public static final int FX_ONOFF- See Also:
-
QUANTIZE
public static final int QUANTIZE- 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
-
DJM900nxs2
-
-
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
-