Hi all -
I've combed thru tutorials and just cannot seem to come up with a working script for what' i'm trying to achieve with VDJ 2021 and Denon Prime 4.
GOAL:
Map the "Sync" button to operate in the following manner:
Press Sync Button = Sync (current default) LED on Steady
Doubleclick Sync Button = Toggles Beatlock + Blink 250ms to indicate state
So far, I've been able to get the beatlock portion to work successfully with this:
doubleclick ? beatlock : sync
But every iteration of adding the blink function just kills the script.
It would also help if when beatlock is engaged, when you load a new song, it toggles beatlock off.
Any thoughts that can point me in the right direction would be appreciated.
I've combed thru tutorials and just cannot seem to come up with a working script for what' i'm trying to achieve with VDJ 2021 and Denon Prime 4.
GOAL:
Map the "Sync" button to operate in the following manner:
Press Sync Button = Sync (current default) LED on Steady
Doubleclick Sync Button = Toggles Beatlock + Blink 250ms to indicate state
So far, I've been able to get the beatlock portion to work successfully with this:
doubleclick ? beatlock : sync
But every iteration of adding the blink function just kills the script.
It would also help if when beatlock is engaged, when you load a new song, it toggles beatlock off.
Any thoughts that can point me in the right direction would be appreciated.
Posted Sun 11 Apr 21 @ 11:14 am
To not make it too complicated, the simpler way could just do this at button for example :
beatlock ? blink & beatlock : doubleclick ? beatlock : sync
Then at the keyboard mapper, at ONSONGLOAD set the action to : beatlock off
beatlock ? blink & beatlock : doubleclick ? beatlock : sync
Then at the keyboard mapper, at ONSONGLOAD set the action to : beatlock off
Posted Sun 11 Apr 21 @ 11:32 am
Thank you Rune -
I tried your example and it worked great for turning off beatlock when loading a new track, however, still not getting the blinking LED.
I went ahead and tried just a script to make the sync button blink when synced, and that didn't work either, so at this point I'm thinking the blink function is not enabled on the hardware side of things. No worries, with YOUR script at least when both decks are in beatlock, the sync LED stays on, which it was not previously. That will work for me.
Thank you for your assistance!
Rick
I tried your example and it worked great for turning off beatlock when loading a new track, however, still not getting the blinking LED.
I went ahead and tried just a script to make the sync button blink when synced, and that didn't work either, so at this point I'm thinking the blink function is not enabled on the hardware side of things. No worries, with YOUR script at least when both decks are in beatlock, the sync LED stays on, which it was not previously. That will work for me.
Thank you for your assistance!
Rick
Posted Sun 11 Apr 21 @ 7:52 pm
Found it! How to get Sync LED to blink when beatlock is engaged:
KEY - LED_SYNC
beatlock ? blink 200ms : is_sync
Now if I can just get it to blink on both sides when beatlock is engaged... ;-
KEY - LED_SYNC
beatlock ? blink 200ms : is_sync
Now if I can just get it to blink on both sides when beatlock is engaged... ;-
Posted Sun 11 Apr 21 @ 9:25 pm
The LEDs usually have their own mapping entries, as you figured out...
To query both decks, just add it to the query string.. .
something along this might work:
deck left beatlock ? blink : deck right beatlock ? blink : sync
or is_sync at end if you want it to light up constant when in beat
To query both decks, just add it to the query string.. .
something along this might work:
deck left beatlock ? blink : deck right beatlock ? blink : sync
or is_sync at end if you want it to light up constant when in beat
Posted Sun 11 Apr 21 @ 9:33 pm
Rune - That's it! Perfect!
Thank you so much!
Thank you so much!
Posted Mon 12 Apr 21 @ 1:54 am