Scripting actions and notifications (list): Difference between revisions

From Xylio
Jump to navigation Jump to search
No edit summary
Line 630: Line 630:
|}
|}


== Get Values ==
== Values ==


These are like the notifications but instead of the script waiting for them to be send it can request their value anytime. So the direction is SCRIPT -> FUTUREDECKS.<br/>
These are like the notifications but instead of the script waiting for them to be send it can request their value anytime. So the direction is SCRIPT -> FUTUREDECKS.<br/>

Revision as of 15:24, 30 May 2013

Actions

Actions are called by the script itself. So the direction is SCRIPT -> FUTUREDECKS.
Here is a list of the actions you can call:

Global actions (sliders/knobs)

setCrossfader
setCFCurve
setCFAudio
setCFVideo
setCuePflMix
setCuePgmMix
setMasterBalance
setMasterGain
setMonitorGain
setPreview
setMicGain
setMicEqLow
setMicEqMid
setMicEqHigh
lbMoveCursor list/browser move selection (increment)
setPitchRange 1 = 4%; 2 = 8%; 3 = 16%; 4 = 24%; 5 = 32%; 6 = 50%;

Global actions (buttons/switches)

minimize
maximize
closeapp
lbToggleSelect list/browser toggle selection
lbBrowserSelect browser select
lbListSelect list select
listInsert
listInsertAll
listNew
listDelete
listEdit
listExport
listLoad
listSaveAs
listAdd
listAddDir
listRemove
listClear
listRandom
listShuffle
listDragUp
listDragDown
listDragTop
listDragBottom
listSelect
record
mixNext
setAutoDj
previewSong
searchStop
autoDjMore
autoDjLess
limiter
reloadSkin
phonesSplit
syncLock
masterFxAdd
masterFxSel
samplesSel
micFxSel
micFxAdd
micTalkOver
micOnAir
setMicTalkOver
setMicOnAir
micEqLowKill
micEqMidKill
micEqHighKill
samplerPlay
samplerVolume
hidePanel
showPanel
showPrevPanel
showNextPanel
sleep
showHelp
showCfg
setPhonesSplit

Deck actions (sliders/knobs)

setDeckVolume
setDeckPitch
setDeckPitchKey
setDeckPos
setDeckCutoff
setDeckGain
setDeckEqLow
setDeckEqMid
setDeckEqHigh
searchDeckJW implemented as increments mode (deck,+/-inc,totalPositionsPerCompleteRevolution)
scratchDeckJW implemented as increments mode (deck,+/-inc,totalPositionsPerCompleteRevolution)
moveDeckJogWheel implemented as increments mode (deck,+/-inc,totalPositionsPerCompleteRevolution)
holdDeckJogWheel
moveDeckPitch implemented as increments mode (deck,+/-inc)
deckFxPanDW fx sliders (dry-wet, param1, param2)
deckFxFlangerDW
deckFxPhaserDW
deckFxReverbDW
deckFxEchoDW
deckFxDelayDW
deckFxBeatwawDW
deckFxPanP1
deckFxFlangerP1
deckFxPhaserP1
deckFxReverbP1
deckFxEchoP1
deckFxDelayP1
deckFxBeatwawP1
deckFxPanP2
deckFxFlangerP2
deckFxPhaserP2
deckFxReverbP2
deckFxEchoP2
deckFxDelayP2
deckFxBeatwawP2
deckFx1DryWet toggle effects banks
deckFx1Param1
deckFx1Param2
deckFx2DryWet
deckFx2Param1
deckFx2Param2

Deck actions (buttons/switches)

deckLBLoad list/browser load
deckFxSel
deckFxAdd
deckSync
deckMatch
deckMonitor
deckBoost
deckMute
deckInMaster
deckEditBpm
deckSaveBpm
deckTapBpm
deckBackToTop
deckSetCue
deckCue
deckPlayPause
deckCuePlay
deckBendDown
deckBendUp
deckUnload
deckRev
deckFwd
deckResetPitch
deckLoadNext
deckLoopInEnd
deckLoopExit
deckLoopExitOrReloop
deckLoopReloop
deckLoopPrev
deckLoopNext
deckLoopLess
deckLoopMore
deckLoop1_16
deckLoop1_8
deckLoop1_4
deckLoop1_2
deckLoop1
deckLoop2
deckLoop4
deckLoop8
deckLoop16
deckLoop32
deckLoopNormal64ths
deckLoopInstant64ths
deckLoopPoint1
deckLoopPoint2
deckLoopPoint3
deckLoopPoint4
deckLoopPoint5
deckLoopSong
deckSlowBpm
deckReverse
deckBrake
deckEqLowKill
deckEqMidKill
deckEqHighKill
deckSearchLeft
deckSearchRight
deckScratch
deckSkipBeatPrev
deckSkipBeatNext
deckSkipBarPrev
deckSkipBarNext
deckKeyLock
deckAnalogIn
deckTimecodeIn
deckFxEdit1
deckFxEdit2
deckFxEdit3
deckFxEdit4
deckFxLoad1
deckFxLoad2
deckFxLoad3
deckFxLoad4
deckFxOn1
deckFxOn2
deckFxOn3
deckFxOn4
deckFxPan
deckFxFlanger
deckFxPhaser
deckFxReverb
deckFxEcho
deckFxDelay
deckFxBeatwaw
deckCueIn
deckCueOut
deckCuePos1
deckCuePos2
deckCuePos3
deckCuePos4
deckCuePos5
deckCuePos6
deckCuePos7
deckCuePos8
deckCuePos9
deckCuePos10
deckCuePos1Clear
deckCuePos2Clear
deckCuePos3Clear
deckCuePos4Clear
deckCuePos5Clear
deckCuePos6Clear
deckCuePos7Clear
deckCuePos8Clear
deckCuePos9Clear
deckCuePos10Clear
deckCuePosClear
deckFx1Prev toggle effects banks
deckFx1Next
deckFx2Prev
deckFx2Next
setDeckMonitor
setDeckAnalogIn

Notifications

Notifications are pushed to the script by FutureDecks. So the direction is FUTUREDECKS -> SCRIPT.
Here is a list of the notifications you will receive:

Global notifications

sampler1
sampler2
sampler3
sampler4
sampler5
sampler6
sampler7
sampler8
onAir *not in FutureDJ
talkOver *not in FutureDJ
autoDj *not in FutureDJ
random *not in FutureDJ
lbMode
pitchRange

Deck notifications

play
cue
keyLock
pitchIs0
loopSize
loopIn
looping
monitor
onbeat
cuepos1
cuepos2
cuepos3
cuepos4 *not in FutureDJ
cuepos5 *not in FutureDJ
cuepos6 *not in FutureDJ
cuepos7 *not in FutureDJ
cuepos8 *not in FutureDJ
cuepos9 *not in FutureDJ
cuepos10 *not in FutureDJ
artist *not in FutureDJ
title *not in FutureDJ
analogIn *not in FutureDJ
timecodeIn *not in FutureDJ
brake *not in FutureDJ
justLoaded *not in FutureDJ
reverse
fxPan
fxFlanger
fxPhaser
fxReverb
fxEcho
fxDelay
fxBeatwaw
killLow
killMid
killHigh
micKillLow *not in FutureDJ
micKillMid *not in FutureDJ
micKillHigh *not in FutureDJ

Values

These are like the notifications but instead of the script waiting for them to be send it can request their value anytime. So the direction is SCRIPT -> FUTUREDECKS.
Here is a list of the values you can request (using getValue):

Global values

onAir
talkOver
autoDj
random
lbMode
sampler1loaded
sampler2loaded
sampler3loaded
sampler4loaded
sampler5loaded
sampler6loaded
sampler7loaded
sampler8loaded
sampler1playing
sampler2playing
sampler3playing
sampler4playing
sampler5playing
sampler6playing
sampler7playing
sampler8playing
crossfader
cfAudio
cfVideo
pitchRange
jogWheelAngle float

Deck values

bpm float
currentBpm float
pitch
timeElapsed float
timeRemain float
artist-title string
artist string
title string
play
cue
keyLock
pitchIs0
loopSize
looping
loopIn
monitor
cuepos1
cuepos2
cuepos3
cuepos4
cuepos5
cuepos6
cuepos7
cuepos8
cuepos9
cuepos10
onbeat
vumeterDeck float
vumeterDeckL float
vumeterDeckR float
vumeterMic float
vumeterMasterL float
vumeterMasterR float
analogIn
timecodeIn
brake
reverse
micKillLow
micKillMid
micKillHigh
killLow
killMid
killHigh
fxPan
fxFlanger
fxPhaser
fxReverb
fxEcho
fxDelay
fxBeatwaw
fxPanDryWet
fxFlangerDryWet
fxPhaserDryWet
fxReverbDryWet
fxEchoDryWet
fxDelayDryWet
fxBeatwawDryWet
fxPanParam1
fxFlangerParam1
fxPhaserParam1
fxReverbParam1
fxEchoParam1
fxDelayParam1
fxBeatwawParam1
fxPanParam2
fxFlangerParam2
fxPhaserParam2
fxReverbParam2
fxEchoParam2
fxDelayParam2
fxBeatwawParam2
fx1 toggle effects banks
fx2 0 flanger; 1 echo; 2 beatwaw; 3 reverb; 4 delay; 5 pan; 6 phaser;
fx1DryWet
fx2DryWet
fx1Param1
fx2Param1
fx1Param2
fx2Param2