Accesso rapido:  

Forum: VirtualDJ Technical Support

Topic: What is wrong with this macro?

Questo argomento è obsoleto e potrebbe contenere informazioni obsolete o errate.

What is wrong with this macro: "deck 1 is_sync ? deck 1 sync & deck 1 play_pause : deck 1 play_pause" ?
If the deck is not synced ( the else ) don't work.
 

Inviato Sun 17 Dec 17 @ 12:06 pm
Basically this script should do the same regardless of deck state: play_pause
Reason?

deck 1 is_sync ? <--- becomes true when the deck has the same bpm with master deck.
deck 1 is_sync ? deck 1 sync & play_pause <--- Since the deck is already synced, using sync here has no useful function. Therefore it works the same as if it wasn't used at all and results only in "play_pause" being useful.

I believe you're looking for the opposite script:
deck 1 is_sync ? deck 1 play_pause : deck 1 sync & deck 1 play_pause

Or maybe you're looking for this:
deck 1 is_sync ? deck 1 play_pause & deck 1 sync : deck 1 play_pause

The last script has the "sync" and "play_pause" actions in reverse order. This means that the deck will start playing and then sync the phase of the deck if the BPM is similar.
 

Inviato Sun 17 Dec 17 @ 6:34 pm


(Vecchi argomenti e forum sono automaticamente chiusi)