快速登录:  

Forum: VirtualDJ Technical Support

话题: What is wrong with this macro?

由于该帖子已年深日久,可能包含陈旧过时或描述错误的信息。

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.
 

发表时间 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.
 

发表时间 Sun 17 Dec 17 @ 6:34 pm


(陈旧帖子或论坛版块会自动关闭)