Accesso rapido:  

Forum: Old versions

Topic: Problems defining LED_SYNC and LED_STOP

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

carboePRO InfinityMember since 2011
Hi,

I am currently playing with the mapper of VDJ. So far everything seems to be working, but I still have 2 problems left:

1) I would like LED_SYNC to blink if the current deck is not synced with the master deck. I tried:
LED_SYNC: get beatdiff 50% ? off : blink
but the LED is constantly blinking.

2) I would like LED_STOP to be on if the current deck is not playing and the elapsed time is "0 sec" (that's the case when a new song has just been loaded to the deck). I tried:
LED_STOP: get time 0 ? on : off
But its always off. The weird thing is, that I couldnt find LED_STOP in the dropdown list of the available keys. So maybe the LED isnt even registered for the mapper?

I am using a Hercules DJ Console RMX with the latest version of VDJ and a 4-deck-skin (so both 1) and 2) should work with 4 decks)

Does anyone have an idea how to solve the problems?

Best regards
 

Inviato Thu 29 Sep 11 @ 8:23 am
carboePRO InfinityMember since 2011
Haha, uhh that's kinda embarrassing ;) Just figured out that there is no LED for the stop button :P
Well, I didnt question it since the buttons next to it have LEDs....ok, so 2) is solved.

But how do I manage 1)? Why isnt get beatdiff working?
 

Inviato Fri 30 Sep 11 @ 6:53 pm
have you tried setting a master deck?

deck I select & deck 1 masterdeck
or
deck left select & deck left masterdeck

not sure how you have it setup
 

Inviato Fri 30 Sep 11 @ 9:44 pm
carboePRO InfinityMember since 2011
Not sure if I got you correctly. So the command should be OK you say? (get beatdiff 50% ? off : blink)

I am using a Hercules RMX with the default 4-deck-skin of VDJ. For the sake of simplicity, let's assume I only use deck one and two of the four decks (thus, blue and red). After starting VDJ all decks are empty, blue is selected as master (font of "master" is orange in VDJ). So I load two tracks in deck 1 and 2 and hit play. However, no matter if they are in sync or not, the LED_SYNC is blinking.

It even blinks right after the start of VDJ, so when the decks arent even loaded.

Should I add "deck 1 select & deck 1 masterdeck" to the code of the LED? Do I need any queries for the side of the LED? I mean that "device_side 'left' ? ... : ..."-kinda stuff
 

Inviato Tue 04 Oct 11 @ 2:27 am
the master deck thing is for another button to set the master deck, try it on your keyboard that's why it has "deck 1" and the other doesnt..

if the light always blinks add another variable so it wil only work if the deck is playing

play ? get beatdiff 50% ? off : blink : off

in english it says

if playing & if beats match in middle then turn led off, if playing and beats don't match then blink the led, otherwise if not playing then turn the led off

you don't need "device_side "left" ?" unless you want to have different actions for each side of the controller
 

Inviato Tue 04 Oct 11 @ 4:30 am
carboePRO InfinityMember since 2011
But isnt the last deck I loaded a track into automatically the master deck?

I tried your piece of code. When I play 2 tracks and they are off-beat LED_SYNC blinks. Then I press the SYNC-button and the tracks align, but the LED keeps blinking.

Maybe a bug? Or do I need to add code for selecting the master deck? Where?
 

Inviato Tue 04 Oct 11 @ 5:22 am


(Vecchi argomenti e forum sono automaticamente chiusi)