Could somone please explain how you would map/define RGB pads? In the past I have just had to mak a new <LED> for each color for each pad, but there has to be a better way?
Inviato Fri 14 Oct 16 @ 8:02 pm
The in built definition file for the launchpad2 [which I assume is the unit your talking about] has a value table tied to the colours sent by vdj
I don't understand how you mean new LED element for every colour of every pad, just define the led once and then use script to query the current page and status,
Here's an example from my launch pad, [I've changed a bit from the default] one LED element works on every page and can display any colour
LED_PAD_1_1
var '$mk2page' 0 ? loop 0.125 ? blink 200ms ? color 'red' : nothing : color 'red' : var '$mk2page' 1 ? get_sample_color 1 : var '$mk2page' 2 ? deck left cue_color 1 : var '$mk2page' 3 ? deck left effect_active 1 ? color 'cyan' : color 'blue' : var '$mk2page' 4 ? var '$shift' ? deck left padshift_button_color 1 : deck left pad_button_color 1 : var '$mk2page' 5 ? color 'blue' : var '$mk2page' 6 ? var '$dial' 1 ? effect_slider 'turnado' 13 0% ? color 'white' : off : color 'blue' : var '$mk2page' 7 ? deck 1 get_level _left & param_bigger 0.97 ? color 'red' : off
I don't understand how you mean new LED element for every colour of every pad, just define the led once and then use script to query the current page and status,
Here's an example from my launch pad, [I've changed a bit from the default] one LED element works on every page and can display any colour
LED_PAD_1_1
var '$mk2page' 0 ? loop 0.125 ? blink 200ms ? color 'red' : nothing : color 'red' : var '$mk2page' 1 ? get_sample_color 1 : var '$mk2page' 2 ? deck left cue_color 1 : var '$mk2page' 3 ? deck left effect_active 1 ? color 'cyan' : color 'blue' : var '$mk2page' 4 ? var '$shift' ? deck left padshift_button_color 1 : deck left pad_button_color 1 : var '$mk2page' 5 ? color 'blue' : var '$mk2page' 6 ? var '$dial' 1 ? effect_slider 'turnado' 13 0% ? color 'white' : off : color 'blue' : var '$mk2page' 7 ? deck 1 get_level _left & param_bigger 0.97 ? color 'red' : off
Inviato Fri 14 Oct 16 @ 8:17 pm
I am actually using the Ableton Push, which is verry similar, just like the Launchpad, it uses a 0-127 value to select the color, and I don't know how to define it. Could you give me a sample led definition for the launchpad?
Inviato Fri 14 Oct 16 @ 8:29 pm
You have to use <color>
See here..
http://www.virtualdj.com/wiki/ControllerDefinitionMIDIv8.html
<color note=".." name=".." values=".."/>
in the values, you need to define what color each velocity value is displaying. Once you come up with a values="..." definition, you can define this once using table="..." and then each <color> needs to have values="table"
Color values can be #html or even standard pre-defined ones, as you see them in that Wiki page.. e.g. #FF0000 or red
Example from Launchpad
See here..
http://www.virtualdj.com/wiki/ControllerDefinitionMIDIv8.html
<color note=".." name=".." values=".."/>
in the values, you need to define what color each velocity value is displaying. Once you come up with a values="..." definition, you can define this once using table="..." and then each <color> needs to have values="table"
Color values can be #html or even standard pre-defined ones, as you see them in that Wiki page.. e.g. #FF0000 or red
Example from Launchpad
<color note="0x51" values="table" name="LED_PAD_1_1" table="0x00=#000000,0x01=DARKGRAY,0x02=#7C7C7C,0x03=#FCFCFC, ... etc "/>
<color note="0x52" values="table" name="LED_PAD_1_2" />
<color note="0x53" values="table" name="LED_PAD_1_3" />
Inviato Fri 14 Oct 16 @ 8:42 pm
Is there already a color definition made for the Launchpad Pro? Could i copy it over to my definition? This is the table: http://i.imgur.com/Wc4Yh7j.jpg
It works for the Launchpad Mk2, Launchpad pro, and Ableton Push
It works for the Launchpad Mk2, Launchpad pro, and Ableton Push
Inviato Fri 14 Oct 16 @ 8:54 pm
We dont share the definitions, but to save you time here is the color table of the Launchpad
<color note="0x51" values="table" name="LED_PAD_1_1" table="0x00=#000000,0x01=DARKGRAY,0x02=#7C7C7C,0x03=#FCFCFC,0x04=#FF4D47,0x05=#FF0A00,0x06=#5A0100,0x07=#190000,0x08=BEIGE,0x09=#FF5600,0x0A=#5A1D00,0x0B=#241800,0x0C=#FDFD21,0x0D=#FDFD00,0x0E=#585800,0x0F=#181800,0x10=#80FD2A,0x11=#40FD00,0x12=#165800,0x13=#132800,0x14=#34FD28,0x15=#00FD00,0x16=#005800,0x17=#001800,0x18=#33FD46,0x19=#01FD00,0x1A=#005800,0x1B=#001800,0x1C=#32FD7E,0x1D=#00FD3A,0x1E=#005814,0x1F=#001C07,0x20=#2FFC80,0x21=#00FC91,0x22=#005831,0x23=#00180F,0x24=#39BFFF,0x25=#00A7FF,0x26=#004051,0x27=#001018,0x28=#4186FF,0x29=#0050FF,0x2A=#001A5A,0x2B=#000719,0x2C=MARINE,0x2D=#0000FF,0x2E=#00005B,0x2F=#000019,0x30=#8347FF,0x31=#5000FF,0x32=#160067,0x33=#0B0032,0x34=#FF49FF,0x35=#FF00FF,0x36=#5A005A,0x37=#190019,0x38=PINK,0x39=#FF0752,0x3A=#5A011B,0x3B=#210010,0x3C=#FF1900,0x3D=#9B3500,0x3E=#7A5100,0x3F=#3E6400,0x40=#003800,0x41=#005432,0x42=#00537E,0x43=#0000FF,0x44=#00444D,0x45=#1B00D2,0x46=LIGHTGRAY,0x47=#202020,0x48=#FF0A00,0x49=#BAFD00,0x4A=#AAED00,0x4B=GREEN,0x4C=#008800,0x4D=#00FC7A,0x4E=#00A7FF,0x4F=#001BFF,0x50=#3500FF,0x51=#7700FF,0x52=#B4177E,0x53=#412000,0x54=#FF4A00,0x55=#83E100,0x56=#65FD00,0x57=#01FD00,0x58=#01FD00,0x59=#45FD61,0x5A=#00FCCA,0x5B=#5086FF,0x5C=#274DC9,0x5D=#827AED,0x5E=#D30CFF,0x5F=#FF065A,0x60=#FF7D00,0x61=#B9B100,0x62=#8AFD00,0x63=#825D00,0x64=#392800,0x65=#0D4C05,0x66=#005037,0x67=#131329,0x68=#101F5A,0x69=#6A3C17,0x6A=#AC0400,0x6B=#E15135,0x6C=#DC6900,0x6D=#FFE100,0x6E=#99E100,0x6F=#5FB500,0x70=#1B1B31,0x71=#DCFD54,0x72=#76FCB8,0x73=#9697FF,0x74=#8B61FF,0x75=#404040,0x76=#747474,0x77=#DEFCFC,0x78=DARKRED,0x79=#350000,0x7A=#00D100,0x7B=DARKGREEN,0x7C=#B9B100,0x7D=#3D3000,0x7E=#B45D00,0x7F=#4A1400"/>
<color note="0x52" values="table" name="LED_PAD_1_2" />
as mentioned in my previous post, you only need to add the table="..." in one of the <color> lines and just have values="table" in all of them
......
<color note="0x51" values="table" name="LED_PAD_1_1" table="0x00=#000000,0x01=DARKGRAY,0x02=#7C7C7C,0x03=#FCFCFC,0x04=#FF4D47,0x05=#FF0A00,0x06=#5A0100,0x07=#190000,0x08=BEIGE,0x09=#FF5600,0x0A=#5A1D00,0x0B=#241800,0x0C=#FDFD21,0x0D=#FDFD00,0x0E=#585800,0x0F=#181800,0x10=#80FD2A,0x11=#40FD00,0x12=#165800,0x13=#132800,0x14=#34FD28,0x15=#00FD00,0x16=#005800,0x17=#001800,0x18=#33FD46,0x19=#01FD00,0x1A=#005800,0x1B=#001800,0x1C=#32FD7E,0x1D=#00FD3A,0x1E=#005814,0x1F=#001C07,0x20=#2FFC80,0x21=#00FC91,0x22=#005831,0x23=#00180F,0x24=#39BFFF,0x25=#00A7FF,0x26=#004051,0x27=#001018,0x28=#4186FF,0x29=#0050FF,0x2A=#001A5A,0x2B=#000719,0x2C=MARINE,0x2D=#0000FF,0x2E=#00005B,0x2F=#000019,0x30=#8347FF,0x31=#5000FF,0x32=#160067,0x33=#0B0032,0x34=#FF49FF,0x35=#FF00FF,0x36=#5A005A,0x37=#190019,0x38=PINK,0x39=#FF0752,0x3A=#5A011B,0x3B=#210010,0x3C=#FF1900,0x3D=#9B3500,0x3E=#7A5100,0x3F=#3E6400,0x40=#003800,0x41=#005432,0x42=#00537E,0x43=#0000FF,0x44=#00444D,0x45=#1B00D2,0x46=LIGHTGRAY,0x47=#202020,0x48=#FF0A00,0x49=#BAFD00,0x4A=#AAED00,0x4B=GREEN,0x4C=#008800,0x4D=#00FC7A,0x4E=#00A7FF,0x4F=#001BFF,0x50=#3500FF,0x51=#7700FF,0x52=#B4177E,0x53=#412000,0x54=#FF4A00,0x55=#83E100,0x56=#65FD00,0x57=#01FD00,0x58=#01FD00,0x59=#45FD61,0x5A=#00FCCA,0x5B=#5086FF,0x5C=#274DC9,0x5D=#827AED,0x5E=#D30CFF,0x5F=#FF065A,0x60=#FF7D00,0x61=#B9B100,0x62=#8AFD00,0x63=#825D00,0x64=#392800,0x65=#0D4C05,0x66=#005037,0x67=#131329,0x68=#101F5A,0x69=#6A3C17,0x6A=#AC0400,0x6B=#E15135,0x6C=#DC6900,0x6D=#FFE100,0x6E=#99E100,0x6F=#5FB500,0x70=#1B1B31,0x71=#DCFD54,0x72=#76FCB8,0x73=#9697FF,0x74=#8B61FF,0x75=#404040,0x76=#747474,0x77=#DEFCFC,0x78=DARKRED,0x79=#350000,0x7A=#00D100,0x7B=DARKGREEN,0x7C=#B9B100,0x7D=#3D3000,0x7E=#B45D00,0x7F=#4A1400"/>
<color note="0x52" values="table" name="LED_PAD_1_2" />
as mentioned in my previous post, you only need to add the table="..." in one of the <color> lines and just have values="table" in all of them
......
Inviato Fri 14 Oct 16 @ 9:23 pm
Also, in case colors (and others) dont work for you, you may need to set the unit to "User/Session" mode. Read the manual about the sysex that you need to send.
For the Launchpad MKII, its
<init sendsysex="F000202902182200F7" />
but the sysex could be different in your case
For the Launchpad MKII, its
<init sendsysex="F000202902182200F7" />
but the sysex could be different in your case
Inviato Sat 15 Oct 16 @ 9:56 am
Does that affect the color scheme? I had no idea. Only some colors were working. I found some documentation, and this is the SYSex:
240 71 127 21 98 0 1 1 247
What format does VDJ need it to be in?
240 71 127 21 98 0 1 1 247
What format does VDJ need it to be in?
Inviato Sat 15 Oct 16 @ 1:49 pm
Convert those decimal numbers to 2 digit hex
F0 47 7F etc
F0 47 7F etc
Inviato Sat 15 Oct 16 @ 3:38 pm