Connexion rapide:  

Forum: General Discussion

Sujet n00b LED mapping script questions

Ce topic est ancien et peut contenir des informations obselètes ou incorrectes.

I'm mapping my xone K2 and am done with all the basic functionality.
Now I want to map some LEDs.

Does anyone have any examples of scripts for making an LED light up while the button is pressed? Do I map this on the button or on the LED?

I'd also like an LED to light up while sync is on, but haven't figured that out either.

If I want to get real fancy I would like my play/pause button on each deck to 'blink 500ms' when the song has 30 seconds left, but that's not important.

If anyone has any tips I would be grateful.
 

Posté Sat 11 Jul 20 @ 9:05 am
 

Posté Sat 11 Jul 20 @ 1:53 pm
Xone K2 is already defined in VirtualDJ, so dont need a definition file
 

Posté Sat 11 Jul 20 @ 2:01 pm
DJ Anarkodandy wrote :

Does anyone have any examples of scripts for making an LED light up while the button is pressed? Do I map this on the button or on the LED?


Usually this is automatic if the action in the script returns true at given action (or condition).

Else you can use explicitly on or off as part of the script

contition or action ? blink 500ms & do something : off & do something

action ? on & action : off & action


 

Posté Sat 11 Jul 20 @ 2:03 pm
Thanks! I figured it out.
 

Posté Sun 12 Jul 20 @ 3:50 pm


(Les anciens sujets et forums sont automatiquement fermés)