Lemur: Change Color of Objects from MAX

FriFlo's icon

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!

Mathieu Chamagne's icon
Max Patch
Copy patch and select New From Clipboard in Max.

this should work :

FriFlo's icon

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.

FriFlo's icon

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! :-)

Wetterberg's icon

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...

FriFlo's icon

Thanks man! Didn't know about the quotations ...