Tips for a dude getting started with max

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

Hi! I'm just getting into max and I'm working on a project involving lots of elements that continuously change color. I was got the following little patch working to have an LED element cycle through colors.
Here the code:

Within the sub-patch I have separate counters going up and down, generating 4 floating variables that are combined into a single message that is sent to the oncolor attribute of the LED. I was looking at other functions that created sine waves but none really did the trick. Although, I'm sure this could be done a lot more efficiently and I would appreciate any tips to get the same functionality. Thanks!

Emiel

3471.ledcolorcycle.maxpat
Max Patch
Andrew Benson's icon

If you are interested in ways to make values change over time in interesting ways, I highly recommend Gregory's excellent LFO tutorials. Here is the first:
https://cycling74.com/tutorials/lfo-tutorial-1-the-zen-of-the-silent-patch/

Happy Patching!