Quick Sign In:  

Forum: Old versions

Topic: LED Mapping Script

This topic is old and might contain outdated or incorrect information.

Gentlemen, can anyone help with a simple script to map an LED button on my Xone K2. I need 4 buttons to be mapped so that when they are pressed their LEDs illuminate, i.e. they will toggle on and off independently. The 4 buttons have no functions in VDJ, they are mapped to cubase to control other effects.

So far I have tried - toggle, toggle_led_1..2...3...4, and toggle LED_BUTTON_1_AMBER.....2_AMBER....3_AMB......

The above will work but when at my gig I noticed that randomly the LED's would turn off when loading a new track(but not every time).

Is use a similar script for LED's when using Freestyler8 plugin where 16 buttons are mapped to turn on when pressed, then turn off when pressed again, or turn off if another of the 16 buttons are pressed.

BUTTON_A - set $fsvalue 255 & set $fscommand 46 & var_equal '$myled' 1 ? set '$myled' 0 : set '$myled' 1
LED_BUTTON_A - var_equal '$myled' 1

Is there a similar map to this but they will operate completely independent of each other?
 

Posted Sun 23 Nov 14 @ 11:52 am


(Old topics and forums are automatically closed)