public class DJM900nxs2 extends LXMidiSurface
Modifier and Type | Class and Description |
---|---|
static class |
DJM900nxs2.Channel |
LXMidiSurface.Bidirectional
LXSerializable.Utils
Constructor and Description |
---|
DJM900nxs2(LX lx,
LXMidiInput input,
LXMidiOutput output) |
Modifier and Type | Method and Description |
---|---|
void |
aftertouchReceived(MidiAftertouch aftertouch) |
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
|
void |
pitchBendReceived(MidiPitchBend pitchBend) |
void |
programChangeReceived(MidiProgramChange pc) |
protected void |
recalculateAllColors() |
protected void |
recalculateAllEq() |
protected double |
scaleEq(double value) |
protected void |
updateABcolor(DJM900nxs2.Channel channel) |
protected void |
updateABeq(DJM900nxs2.Channel channel) |
protected void |
updateAcolor() |
protected void |
updateAcolor(DJM900nxs2.Channel channel) |
protected void |
updateAeq() |
protected void |
updateAeq(DJM900nxs2.Channel channel) |
protected void |
updateBcolor() |
protected void |
updateBcolor(DJM900nxs2.Channel channel) |
protected void |
updateBeq() |
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 |
updateHighNet() |
protected void |
updateLevelNet(DJM900nxs2.Channel channel) |
protected void |
updateLow(DJM900nxs2.Channel channel,
double value) |
protected void |
updateLowNet() |
protected void |
updateMid(DJM900nxs2.Channel channel,
double value) |
protected void |
updateMidNet() |
protected void |
updateSmartXF() |
getInput, getName, getOutput, load, onReconnect, save, sendControlChange, sendNoteOn
public static final String DEVICE_NAME
public static final DJM900nxs2.Channel[] ALL_CHANNELS
public static final int MASTER_FADER
public static final int BALANCE
public static final int BOOTH_FADER
public static final int CROSSFADER
public static final int EQ_CURVE
public static final int CHANNEL_FADER_CURVE
public static final int CROSSFADER_CURVE
public static final int CHANNEL_FADER1
public static final int CHANNEL_FADER2
public static final int CHANNEL_FADER3
public static final int CHANNEL_FADER4
public static final int CROSSFADER_ASSIGN1
public static final int CROSSFADER_ASSIGN2
public static final int CROSSFADER_ASSIGN3
public static final int CROSSFADER_ASSIGN4
public static final int TRIM1
public static final int TRIM2
public static final int TRIM3
public static final int TRIM4
public static final int HIGH1
public static final int HIGH2
public static final int HIGH3
public static final int HIGH4
public static final int MID1
public static final int MID2
public static final int MID3
public static final int MID4
public static final int LOW1
public static final int LOW2
public static final int LOW3
public static final int LOW4
public static final int COLOR1
public static final int COLOR2
public static final int COLOR3
public static final int COLOR4
public static final int COLOR_PARAMETER
public static final int COLOR_FX_SPACE
public static final int COLOR_FX_DUBECHO
public static final int COLOR_FX_SWEEP
public static final int COLOR_FX_NOISE
public static final int COLOR_FX_CRUSH
public static final int COLOR_FX_FILTER
public static final int CUE1
public static final int CUE2
public static final int CUE3
public static final int CUE4
public static final int CUE_MASTER
public static final int CUE_LINK
public static final int PHONES_MIXING
public static final int PHONES_LEVEL
public static final int SENDRETURN_SOURCE
public static final int SENDRETURN_TYPE
public static final int SENDRETURN_LEVEL
public static final int SENDRETURN_ONOFF
public static final int PITCH_SOMETHING1
public static final int PITCH_SOMETHING2
public static final int BEAT_LOWER
public static final int BEAT_HIGHER
public static final int AUTO_TAP
public static final int TAP_TEMPO
public static final int FX_LOW
public static final int FX_MID
public static final int FX_HIGH
public static final int FX_TYPE_DELAY
public static final int FX_TYPE_ECHO
public static final int FX_TYPE_PINGPONG
public static final int FX_TYPE_SPIRAL
public static final int FX_TYPE_REVERB
public static final int FX_TYPE_TRANS
public static final int FX_TYPE_FILTER
public static final int FX_TYPE_FLANGER
public static final int FX_TYPE_PHASER
public static final int FX_TYPE_PITCH
public static final int FX_TYPE_SLIPROLL
public static final int FX_TYPE_ROLL
public static final int FX_TYPE_VINYLBRAKE
public static final int FX_TYPE_HELIX
public static final int FX_TARGET_CROSSFADER_B
public static final int FX_TARGET_CROSSFADER_A
public static final int FX_TARGET_MIC
public static final int FX_TARGET_CHANNEL1
public static final int FX_TARGET_CHANNEL2
public static final int FX_TARGET_CHANNEL3
public static final int FX_TARGET_CHANNEL4
public static final int FX_TARGET_MASTER
public static final int FX_LEVEL
public static final int FX_ONOFF
public static final int QUANTIZE
public final BoundedParameter low1raw
public final BoundedParameter low2raw
public final BoundedParameter low3raw
public final BoundedParameter low4raw
public final BoundedParameter mid1raw
public final BoundedParameter mid2raw
public final BoundedParameter mid3raw
public final BoundedParameter mid4raw
public final BoundedParameter high1raw
public final BoundedParameter high2raw
public final BoundedParameter high3raw
public final BoundedParameter high4raw
public final BoundedParameter fade1
public final BoundedParameter fade2
public final BoundedParameter fade3
public final BoundedParameter fade4
public final BoundedParameter masterFader
public final BoundedParameter boothMonitor
public final BoundedParameter crossfader
public final BoundedParameter color1raw
public final BoundedParameter color2raw
public final BoundedParameter color3raw
public final BoundedParameter color4raw
public final BoundedParameter colorParameter
public final BoundedParameter colorSensitivity
public final BoundedParameter low1
public final BoundedParameter low2
public final BoundedParameter low3
public final BoundedParameter low4
public final BoundedParameter mid1
public final BoundedParameter mid2
public final BoundedParameter mid3
public final BoundedParameter mid4
public final BoundedParameter high1
public final BoundedParameter high2
public final BoundedParameter high3
public final BoundedParameter high4
public final BoundedParameter eqRangeMax
public final BoundedParameter low1net
public final BoundedParameter low2net
public final BoundedParameter low3net
public final BoundedParameter low4net
public final BoundedParameter mid1net
public final BoundedParameter mid2net
public final BoundedParameter mid3net
public final BoundedParameter mid4net
public final BoundedParameter high1net
public final BoundedParameter high2net
public final BoundedParameter high3net
public final BoundedParameter high4net
public final BoundedParameter color1
public final BoundedParameter color2
public final BoundedParameter color3
public final BoundedParameter color4
public final BoundedParameter level1net
public final BoundedParameter level2net
public final BoundedParameter level3net
public final BoundedParameter level4net
public final EnumParameter<DJM900nxs2.Channel> aChannel
public final EnumParameter<DJM900nxs2.Channel> bChannel
public final BoundedParameter lowA
public final BoundedParameter lowB
public final BoundedParameter midA
public final BoundedParameter midB
public final BoundedParameter highA
public final BoundedParameter highB
public final BoundedParameter lowAnet
public final BoundedParameter lowBnet
public final BoundedParameter midAnet
public final BoundedParameter midBnet
public final BoundedParameter highAnet
public final BoundedParameter highBnet
public final BoundedParameter fadeA
public final BoundedParameter fadeB
public final BoundedParameter colorA
public final BoundedParameter colorB
public final BoundedParameter levelAnet
public final BoundedParameter levelBnet
public final BoundedParameter lowNet
public final BoundedParameter midNet
public final BoundedParameter highNet
public final BoundedParameter smartXF
public DJM900nxs2(LX lx, LXMidiInput input, LXMidiOutput output)
protected void onEnable(boolean on)
LXMidiSurface
onEnable
in class LXMidiSurface
on
- Whether surface is enabledprotected void recalculateAllEq()
protected double scaleEq(double value)
protected void updateLow(DJM900nxs2.Channel channel, double value)
protected void updateMid(DJM900nxs2.Channel channel, double value)
protected void updateHigh(DJM900nxs2.Channel channel, double value)
protected void updateFade(DJM900nxs2.Channel channel, double value)
protected void updateLevelNet(DJM900nxs2.Channel channel)
protected void updateLowNet()
protected void updateMidNet()
protected void updateHighNet()
protected void updateABeq(DJM900nxs2.Channel channel)
protected void updateAeq()
protected void updateBeq()
protected void updateAeq(DJM900nxs2.Channel channel)
protected void updateBeq(DJM900nxs2.Channel channel)
protected void updateSmartXF()
protected void recalculateAllColors()
protected void updateColor(DJM900nxs2.Channel channel, double value)
protected void updateABcolor(DJM900nxs2.Channel channel)
protected void updateAcolor()
protected void updateBcolor()
protected void updateAcolor(DJM900nxs2.Channel channel)
protected void updateBcolor(DJM900nxs2.Channel channel)
public void controlChangeReceived(MidiControlChange cc)
controlChangeReceived
in interface LXMidiListener
controlChangeReceived
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 programChangeReceived(MidiProgramChange pc)
programChangeReceived
in interface LXMidiListener
programChangeReceived
in class LXMidiSurface
public void pitchBendReceived(MidiPitchBend pitchBend)
pitchBendReceived
in interface LXMidiListener
pitchBendReceived
in class LXMidiSurface
public void aftertouchReceived(MidiAftertouch aftertouch)
aftertouchReceived
in interface LXMidiListener
aftertouchReceived
in class LXMidiSurface
LX library by Mark C. Slee. © 2012-2020