Sign In:     


Forum: General Discussion

Topic: Mapping Sync Button and Sync led like Serato - Page: 1

This part of topic is old and might contain outdated or incorrect information

LED SYNC
pitch_lock ? on : match_bpm ? blink : on ? match_bpm

SYNC
sync  :  pitch_lock 

Shift+Sync
pitch_lock : off
 

Posted Wed 30 Dec 20 @ 2:01 am
Different software, prob. won't happen.
 

Pitch_lock

Pitch_lock? blink 10ms : off




I have a apc 40 where the leds are set to blink to the bpm to the bass and then when the button also changes color when pressed . Here is what my commands are
action:
deck effect active ? on : beatlock ? off : play ? Sync


Button pressed : effect_active "Loop Roll" ? blink 10ms : off

Ok , make a custom mapping in the mapping area: name it
select button you want to map by scrolling through the key: example A1 , map it
effect_select "Loop Roll"
now go back into key ; scroll
I see Led_a1_green
paste :
deck effect active ? on : beatlock ? off : play ? Sync
now go back in key : scroll to
Led_a1_redblink
paste :
Button pressed : effect_active "Loop Roll" ? blink 10ms : off

now its done .
A1 ' Is my Loop Roll and it blinks to the beat in green but when i press the button it blinks red .

the name of the effect or button has to be exact as its name and capital letters too.
The designers freaking rock on here.
You can press a button in mapping , then in the mapping area there is a eyedropper tool at the bottom click on it and it will link that button to the thing you click on the screen skin . example play . it will link the button to play.
side note: lots of tutorials on line and even now in settings at the top
 

Yes, Serato only has 2 ways of Sync'ing, where VirtualDJ really has 5 + the automated ones
So it's pretty much just a matter of choosing which ones you want and mapping them (like suggested above)
I did a video on the 5 sync's back when it was VDJ2018

And later did a video on all the auto features when it was VDJ2020

Maybe that will inspire you
 

First, enable Auto pitch lock

sartzetakis wrote :
LED SYNC
pitch_lock ? on : match_bpm ? blink : on ? match_bpm

SYNC
sync  :  pitch_lock 

Shift+Sync
pitch_lock : off


Testet with SX2 . SB3 ,SR2
Works great with DDJ models

The Sync works like Serato Smart Sync

 

philadisco wrote :
Different software, prob. won't happen.


Try it...
 

Not sure what
sync  :  pitch_lock

or
pitch_lock : off

Is supposed to be though, since that is not valid vdjscript syntax.
 

Adion wrote :
Not sure what
sync  :  pitch_lock

or
pitch_lock : off

Is supposed to be though, since that is not valid vdjscript syntax.


Hi dear Adion

Connect a DDj with VDJ
enable first Auto_pitch_lock
then go to middi mapping...
Choose SYNC

sync : pitch_lock




Then find LED-Sync and add

pitch_lock ? on : match_bpm ? blink : on ? match_bpm





Final find Shift+SYNC and add

pitch_lock : off



Your Sync now , works likeserato smart sync...






 

Well, again, this is not valid VDJscript syntax.
The correct syntax for if-then-else is
queryaction ? trueaction : falseaction

A colon without a question mark has no meaning in vdj, so it will do nothing.
So instead of writing
sync : pitch_lock

You could simply write
sync
 

Adion wrote :
Well, again, this is not valid VDJscript syntax.
The correct syntax for if-then-else is
queryaction ? trueaction : falseaction

A colon without a question mark has no meaning in vdj, so it will do nothing.
So instead of writing
sync : pitch_lock

You could simply write
sync


Test it please...it works...
 

i just test the scripts with ddj-rb it works like serato ....... thank you sartzetakis for the smart sync
 

Yes (and I programmed it lol), what difference do you get between
sync  :  pitch_lock

and
sync

?
 

In Serato
when you have activated the Smart sync option

On the controller button the first "click" , Sync BPM and the led blinking
The second "click" , led stop blinking and you have pitch_lock

Does it help you to understand how the Sync button works in Serato?...


 

Ok, and what do you expect this " : pitch_lock" to do in vdj then? (because it does nothing)
 

I've no idea how Serato works, I've never used it. Although, I've had it supplied with one of my Controllers, I've never opened the package, not interested.

I have modified with script some actions that I regularly use in a 'live' situation. I am an open format DJ and through the course of a gig I may drop into beat mixing for say 30 minutes then move onto not beat mixing for other parts of the gig. I originally created these mods for my Denon MC6000 Mk1 when VirtualDJ 8 was first introduced, I then adapted the same actions to my next Controller, a Denon MC6000 Mk2. I have also modified my current Denon MC7000 where I use key combinations, but, I also programmed a Pad Page with the same commands.


Some of my custom commands that I use on the Denon MC6000 MKII;

Shift + PLAY - to switch SmartPlay on/off
var '$shift' ? holding 500ms ? goto_first_beat : smart_play : play_pause

Shift + VINYL - pitch reset slowly, double press resets instantly
var '$shift' ? pitch_reset : vinyl_mode

Shift + CUE - pitch lock on/off
var ‘$shift’ ? pitch_lock : cue_stop

I also modified the mappings on a Pioneer DDJ1000 and a Roland 707m that I owned for a short time.
 

Adion wrote :
Ok, and what do you expect this " : pitch_lock" to do in vdj then? (because it does nothing)


After many test I see the button works like Serato flawless if I add. "sync : pitch_lock"
When I and just "sync" I have issues...

Sorry, I m not an expert ...and the results that I have are after testing ...
 

djles.co.uk wrote :
I've no idea how Serato works, I've never used it. Although, I've had it supplied with one of my Controllers, I've never opened the package, not interested.

I have modified with script some actions that I regularly use in a 'live' situation. I am an open format DJ and through the course of a gig I may drop into beat mixing for say 30 minutes then move onto not beat mixing for other parts of the gig. I originally created these mods for my Denon MC6000 Mk1 when VirtualDJ 8 was first introduced, I then adapted the same actions to my next Controller, a Denon MC6000 Mk2. I have also modified my current Denon MC7000 where I use key combinations, but, I also programmed a Pad Page with the same commands.


Some of my custom commands that I use on the Denon MC6000 MKII;

Shift + PLAY - to switch SmartPlay on/off
var '$shift' ? holding 500ms ? goto_first_beat : smart_play : play_pause

Shift + VINYL - pitch reset slowly, double press resets instantly
var '$shift' ? pitch_reset : vinyl_mode

Shift + CUE - pitch lock on/off
var ‘$shift’ ? pitch_lock : cue_stop

I also modified the mappings on a Pioneer DDJ1000 and a Roland 707m that I owned for a short time.


Thank you for your help
 

Adion wrote :
Yes (and I programmed it lol), what difference do you get between
sync  :  pitch_lock

and
sync

?


Congratulation and Respect for your work! You make our job ...game!
 

i don´t understand how pitch lock should work with you code it must be so:

is_sync ? pitch_lock : sync


first press = sync
second = sync and pitch lock
third = pitch lock off
 

and for LED

pitch_lock ? on : match_bpm ? blink : off
 

95%