[beginner] Backgroud color don't react very good

Oct 4, 2013 at 8:26pm

[beginner] Backgroud color don't react very good

Hi :)

I’m trying to control the background color of MAX receiving OSC messages. I use the OSC CNMAT_Externals-Windows-1.0-58 library.

Everything looks good, I receive perfectly my OSC message and with a JavaScript code, I get 3 output integers 0..255 of the R,G and B values. The change is in realtime. But the “Refresh” of the background fails, I have to send two times the OSC message (click 2 or 3 times on the button with the tablet).

What happen? I’m sure I forgot something in the patch…

Thanks for advance for the help!

  1. OSCColorMAX.zip
Oct 6, 2013 at 8:32am

I think it’s because you’re forgetting the right-to-left message ordering in max? Your outputs seem to be going 0, 1, 2, 3 when sending out messages.

Also, you can send a straight four-member list to the leftmost inlet of bgcolor, that would help simplify things a bit, too.


You must be logged in to reply to this topic.