Quick Sign In:  

Forum: VirtualDJ Technical Support

Topic: Prime 4 Button FX SWEEP Led
Trying to remap the filter button in the sweep effects section of the Denon prime 4 controller. I'd like it to cycle through different modes.....off, filter, filter roll

Currently my script cycles through correctly. However, I'd like the led on the controller to function as follows:
Led off (filter off)
Led On (filter on)
Led blink (Filter Roll)

Here is th script so far:
CF_FILTER (button)

cycle 'cf_filter' 3 &
var_equal 'cf_filter' 0 ? set 'roll' 0 & deck all filter_activate off 'filter' :
var_equal 'cf_filter' 1 ? set 'roll' 0 & deck all filter_activate 'filter' :
var_equal 'cf_filter' 2 ? set 'roll' 1 & deck all filter_activate 'filter'

how do I map this kind of led?





 

geposted Sat 08 Jan 22 @ 8:46 pm
djdadPRO InfinityDevelopment ManagerMember since 2005
In your CF_FILTER button action, replace cf_filter variable with $cf_filter (global variable)
Then assign the key LED_CF_FILTER as ...
var '$cf_filter' 2 ? blink : var '$cf_filter' 1 ? on : off
 

geposted Sat 08 Jan 22 @ 9:00 pm
Got a bit confused... thought all of the keys used were listed on the left. Didn't realize there were more in the drop down menu.

Thank You, Worked Like a Charm!!!!

 

geposted Sat 08 Jan 22 @ 9:47 pm