RGB Leds

Back to VDJ Script Examples

RGB Leds in VirtualDJ 8

Version 8 offers the ability to define the color of an RGB led in a much more user-friendly way.
The color is defined using the constant 'text' action and expects a text of :

  • a pre-defined color (such as .. red, green, blue, white, yello, orange etc. See table below)
  • a HTML color hexadecimal code e.g. #FF0000, #909090 etc
  • a RGB or ARGB color code e.g. 255,0,0 or 127,255,0 etc.

List of pre-defined colors :

Examples :

constant 'red'

result : Led turns on red constantly

blink ? constant '#FF0000' : off

result : Led will blink between red and off

play ? constant 'green' : off

result : Led will turn on green if track is playing and turn off if paused.

effect_active ? blink ? constant 'blue' : constant 'yellow' : constant 'yellow'

result: If Effect is active, Led will blink between blue and yellow, and if Effect not active will turn on yellow constantly

Note :
Keep in mind that some units do not offer "real" RGB Leds (e.g. they offer 64 or even less colors). VirtualDJ will tend to use the closest color from the available ones in order match the assigned color, the best way possible. (E.g if you try to assign a Cyan color to a LED that only offers Blue , the Blue will be used if the Led is assigned as Cyan)

Back to VDJ Script Examples