Connexion rapide:  

Forum: VirtualDJ Technical Support

Sujet Script automation to switch decks

Ce topic est ancien et peut contenir des informations obselètes ou incorrectes.

I'm relatively new to the scripting in VDJ and am quickly running into problems with what I thought would be a pretty simple automation. I'm trying to add an action point to a song that will:

A) stop the current song
B) move the crossfader to the opposite deck
C) go to cue 1 on the opposite deck
D) start playing the opposite deck

So far, I've only been able to reliably do part A. Little help?
 

Posté Tue 04 Oct 16 @ 6:51 am
locoDogPRO InfinityModeratorMember since 2013
stop & crossfader 0% ? crossfader 100% & deck 2 hot_cue 1 & deck 2 play : crossfader 0% & deck 1 hot_cue 1 & deck 1 play

stop [yeah easy]
query is the crossfader fully left ?
it is fully left, so send the crossfader fully right
it's deck 2 we want to deal with now since we sent the crossfader right.
deck 2 hot_cue 1 [might be enough to have this deck play, depends on cue mode {maybe} ]
just incase, deck 2 play
: [very important colon, we are on the false side of the query now]
the crossfader isn't fully left ~ assume that it is fully right, so send it left
deck 1 hot_cue 1 & deck 1 play


there are other ways to figure out which deck we are on, like
querying, stuff like below but you'd have to change up the order [stop would come after the query]
deck 1 play?
deck left play ?
device_side 'left' ?
device_side 1 ?
and similar queries for deck right / 2 etc
 

Posté Tue 04 Oct 16 @ 7:13 am
How can I make mix_and_load_next works with automixdualdeck mode, but automix not activated.
 

Posté Wed 05 Oct 16 @ 4:46 pm


(Les anciens sujets et forums sont automatiquement fermés)