Sign In:     


Forum: VirtualDJ Technical Support

Topic: Led change color
I was looking but I couldn’t find it, I have a launchpad midi, and I’m looking for the script on how to change the led colors
 

Posted Mon 21 Apr 25 @ 11:14 pm
colours manually selected with color
to blend between 2 colours determined by a value color_mix

Other things you can grab to set a hardware colour dynamically
cue_color loop_color get_deck_color get_loaded_song_color get_browsed_song_color get_sampler_color sampler_color get_key_color
 

Do I have to put a formula in there or the color name, what they have is 00FF00, something like that
 

Yes, either a recognised colour name or a colour in RGB hex format like you listed
example
color '#FF7F00'

hex format here is
FF red [so hex to decimal is 255, full strength]
7F green [127, half strength]
00 blue [no blue element]
 

Thank you
 

var '$padmode' 0 ? get_sample_color 46 : var '$padmode' 1 ? deck right slicer 6 ? get_constant '#00FF00' : get_constant '#AAFF00' : nothing.

This is the script for my launch pad mini, I'm trying to get just the sample LED to turn red instead of yellow, how can i do that?
 

get_constant '#AAFF00'
is what we had before color was a verb.
Change stuff, see what happens.
 

In "Sampler" mode, your controller should read the color of the samples.
So, your button is yellow because the sample is yellow.
That's what the get_sample_color 46 part of the code does.

You "can" replace it to have a fixed color, but it's not recommended.