Lemur: Change Color of Objects from MAX

Jun 12, 2013 at 9:25pm

Lemur: Change Color of Objects from MAX

Can anyone tell me some useful way of changing colors of controllers on the Lemur App (iPad) in a meaningful way? Liine’s manual is terrible …
They say something about three values (float from 0. to 1.), but I found out it works with this kind of message via OSC:
/OBJECTNAME @color “integer” “integer”, whereas I cannot see any changes with the first integer, but it is necessary to be send, as only the second one changes the color. However, it is a RGB number from 0 to 8.355.711. I don’t know how to do the math to get a color menu together to easily change the color in MAX. I tried the swap object, but without success … any hints are welcome!

#252554
Jun 13, 2013 at 4:32am

this should work :

<code>

– Pasted Max Patch, click to expand. –

</code>

#252581
Jun 13, 2013 at 11:13am

Mathieu, thank you so much! That did it. For lemur you just have to pack another integer (0 or any number) before the color number to make it work. As I said: I don’t know what the number is for, as I cannot see anything changing with different values.

#252656
Jun 13, 2013 at 12:33pm

Edit: I found it in the menu of the Lemur now: the first integer is for the color of the background … But in the forums I found many entries, this was a mistake and the RGB value has to be set with three floats (R, G and B). This however only applies to the internal Lemur scripts … that is why I have asked them repeatedly to make more detailed documentation available for sending messages via OSC. But they insist, the manual is sufficient. Well, I will keep insisting, that it is NOT! :-)

#252673
Jun 13, 2013 at 1:55pm

Hey, while on this topic, has anyone figured out an elegant way of sending an RGB matrix to lemur objects?

I’ve been unpacking/packing matrices and it gets really ugly…

#252684
Jun 13, 2013 at 2:33pm

Thanks man! Didn’t know about the quotations …

#252690

You must be logged in to reply to this topic.