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!
this should work :
----------begin_max5_patcher---------- 718.3ocyW98aaBCDG+YxeEVV4g1srLrcvP1Sa6gs22qUSUNfSp6.CxXZSWU+ ee1FHM+hERGJZJRgbF74693yeOxyi7fKxWyKgfOAtA3487HOO2P1A7Zr8fYr 0worR2iAKSEIbEbR8sJE+laGFGPm52LVdkNkq0OUvq8KDB9YysDINeju39OD D05CYUlPZlgy+nlAKX536DxU2p3w5Z+LytDfHr8azrYtKQS823biepW58bjh kw0b0sbIaQpKl1DoJAWpYZQtzME6nuLZj8qI8DGY7xR1Jdatn4q00XhoqTNO CFifmEYvyae9k4RszD8ta8EkfkdTlgOEyP9NnEF4LBOIyrqa6NKBMMXd.JJ7 M.m37rLCfO.N+36eEnyAo7rJEHNOMeS8zR0pEtcnMUSaWxDdlf4jESADGQBr KG.62IX7OFXLLc.KXHHTHgblkJyhFtREZMDBQNjf564qA.IkOZilty7I.3xz bl935H9GMQIm7LAt4h6PAc6D0T1ZllXgHUneZ6bcWBf+aJLuALH4OZRnCJLp jEr3eA7se5jQB6orctbTVgF5CPXe+5xkvogH57HyOm2YICoC4EJcNlLb.iut PAt5pwBD3c.ZP.gdM38.iM1XaZTYsFKHW2NwTgjGmWI0auo1ylXzyDnmrrDi C2CnD7YqWOv.sPwK3xDvG+Fyz5G74cTr6GnFbka77ZNEQOgz8.pS0AdJM8xl 55kAOLwICchSvNkYJ4eukkaltx+8dCP2haGeWXTlWoha2la0S.uF.I7RsPt4 0ot40yHa8P2IRR3xsivDQoU1LoacyyJdv8IdvWt3A0m3AcYhG+9regtb6Wzd DOgWrvIrGQC4xAmndDN1+qv+SaV1WH8BULuWp2Qwr+ajO0ZirhhG3pxFe5BE SKg6Mc+LlzINSgr1zobCU7GDsOuqYOjoLB4ZiJdkpV7ecDENxtNuL5O.3Rzh yA -----------end_max5_patcher-----------
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.
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! :-)
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…
Thanks man! Didn’t know about the quotations …