Connexion rapide:  

Forum: VirtualDJ Technical Support

Sujet RGB pad colors not displaying correctly

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

NuzzletPRO InfinityMember since 2015
I am defining led RGB color pads, but, the colors never display as they should.

Here are the relevant snippets from my Definition:

<init sendsysex="F0477F1562011F7" />

I here is my table
<color values="table" note="36" name="Pad 01 LED" table="0=off,1=darkgrey,2=grey,3=white,5=brightred,6=red,7=dimred,9=brightorange,A=orange,B=dimorange,D=brightyellow,E=yellow,F=dimyellow,15=brightgreen,16=green,17=dimgreen,21=brightcyan,22=cyan,23=dimcyan,2D=brightblue,2E=blue,2F=dimblue,31=brightpurple,32=purple,33=dimpurple,39=brightpink,3A=pink,3B=dimpink"/>

The colors are simply not accurate!

I will give it "RED" and it will be red, but I give it "BLUE" and it lights up a white'ish. I have ensured that the HEX values are accurate. Also, when I would use "color '#300000'", it would make the pad blue, however, i couldn't find that at all anywhere in my table color definition? How does VirtualDJ compuete and display RGB pad colors?
 

Posté Sun 16 Oct 16 @ 6:18 pm
Please read here:
http://www.virtualdj.com/wiki/ControllerDefinitionMIDIv8.html

Not all names you used on your table are understood by VirtualDj. Also you have typed the numbers as HEX, but with "decimal" format!
So, effectively VirtualDj tries to match the colors only for the values it understands.

For a better result I would also advise you to use ARGB on your table instead of names

Something like:
<color values="table" note="36" name="Pad 01 LED" table="0x00=#000000,0x01=#FF3F3F3F,0x02=#FF7F7F7F,0x03=#FFFFFFFF,0x06=#FFFF0000,0x07=#FF7F0000,0x16=#FF00FF00,0x17=#FF007F00,0x2E=#FF0000FF,0x2F=#FF00007F"/>
e.t.c.
As you can see I didn't define your "bright" colors. That's because I don't know what's their real color. I mean most likely they are named as such on your MIDI chart, but "bright" is not an accurate term.
Either your "bright" colors are a "mix" that makes the color seem brighter, or they are the normal color and the normal color is dimmed, and the dimmed color is dimmed even more.
I mean that:

RED= 255,0,0 (on RGB) Dimmed RED= 127,0,0. But Bright RED= ???? You can't have a value greater than 255. So your "Bright RED" is either 255,X,Y
OR:
Bright RED= 255,0,0 RED= 127,0,0 and Dimmed RED=64,0,0

SO:
1) Define your color table by using the correct syntax for HEX numbers which is 0xHEX (0x2A for instance)
2) Use #AARRGGBB for the colors, or use only the names that VirtualDj understands (they are mentioned on the link I gave you above)
 

Posté Tue 18 Oct 16 @ 1:09 pm


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