OSC controlling HSB
in
Programming Questions
•
2 years ago
Hi all
first time here so maybe a noob question. Pretty new to processing but getting to grips.
I want to use OSC messages to control colour elements such as brightness using the HSB colorMode.
I have my sketch running with all the correct code as far as I can tell. I have my OSC message coming in with the prepended title of /a1. I then define colour (in HSB) as:
color(350,100,a1);
I am hoping then that I can then use a slider in MaxMSP to increase/decrease the brightness of my object.
However, this isn't working. I know there is not an issue with my Max patch as I have tested it with a sketch that my lecturer created and I can control that fine. And in comparison, my code seems to be the same.
Is it just not possible to adjust elements like this? I doubt it of course.
Any help would be greatly appreciated!
p.s. I can post some code if needs be :)
1