Quick Sign In:  

Forum: VirtualDJ Technical Support

Topic: Script automation to switch decks

This topic is old and might contain outdated or incorrect information.

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?
 

Posted 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
 

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

Posted Wed 05 Oct 16 @ 4:46 pm


(Old topics and forums are automatically closed)