Connexion rapide:  

Forum: General Discussion

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

Cette partie de ce topic est ancien et peut contenir des informations obselètes ou incorrectes

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

SYNC
sync  :  pitch_lock 

Shift+Sync
pitch_lock : off
 

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

Posté Wed 30 Dec 20 @ 3:44 am
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
 

Posté Wed 30 Dec 20 @ 4:51 am
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
 

Posté Wed 30 Dec 20 @ 7:35 am
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

 

Posté Wed 30 Dec 20 @ 8:38 am
philadisco wrote :
Different software, prob. won't happen.


Try it...
 

Posté Wed 30 Dec 20 @ 8:40 am
AdionPRO InfinityCTOMember since 2006
Not sure what
sync  :  pitch_lock

or
pitch_lock : off

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

Posté Wed 30 Dec 20 @ 9:40 am
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...






 

Posté Wed 30 Dec 20 @ 9:59 am
AdionPRO InfinityCTOMember since 2006
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
 

Posté Wed 30 Dec 20 @ 10:02 am
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...
 

Posté Wed 30 Dec 20 @ 10:05 am
DJL79PRO InfinityMember since 2009
i just test the scripts with ddj-rb it works like serato ....... thank you sartzetakis for the smart sync
 

Posté Wed 30 Dec 20 @ 10:05 am
AdionPRO InfinityCTOMember since 2006
Yes (and I programmed it lol), what difference do you get between
sync  :  pitch_lock

and
sync

?
 

Posté Wed 30 Dec 20 @ 10:10 am
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?...


 

Posté Wed 30 Dec 20 @ 10:17 am
AdionPRO InfinityCTOMember since 2006
Ok, and what do you expect this " : pitch_lock" to do in vdj then? (because it does nothing)
 

Posté Wed 30 Dec 20 @ 10:21 am
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.
 

Posté Wed 30 Dec 20 @ 10:31 am
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 ...
 

Posté Wed 30 Dec 20 @ 10:40 am
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
 

Posté Wed 30 Dec 20 @ 11:11 am
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!
 

Posté Wed 30 Dec 20 @ 1:56 pm
metrixPRO InfinityMember since 2007
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
 

Posté Fri 01 Jan 21 @ 1:13 pm
metrixPRO InfinityMember since 2007
and for LED

pitch_lock ? on : match_bpm ? blink : off
 

Posté Fri 01 Jan 21 @ 2:45 pm
95%