Forums > MaxMSP

Patch Randomizer

February 26, 2011 | 10:09 pm


first time poster and new to Max. I was just wondering if anyone was working on a patch randomizer for synths. I know I would need to send a random CC message to each parameter. what would be the most efficient way to do this?


February 26, 2011 | 11:01 pm

A simple way is to send a metro to a "random 50" or something, then scale that "scale 0 50 0 1000" and then connect that to a cycle or a saw object. That will give you 50 random tones in a frequency between 0 and 1000.

March 1, 2011 | 5:48 am

Thanks for the response. I’m talking about randomizing a patch setting on an external synth through midi. Specifically, I was wondering do I need to map out every CC parameter or can I just send a general CC message to the synth?

March 1, 2011 | 7:53 am

you need to map every parameter, and you also might need to send some sysex data to be able to randomize everything, but that depends on your synth. Loop up the midi specs in the manual of your synth. If you are unlucky the midi implementation is crappy and the order in which you send messages is important as well (as I recently found out)

Personally I would first make a max patch that completely controls the synth (always useful) and then make a randomization option for that max patch, but that be a bit too much work for what you want

March 2, 2011 | 10:35 pm

you could simply use the uzi object to trigger 127 random cc messages. But that would probably be too fast for midi’s low bandwidth.

Here’s one way to do it with a metro, that triggers every 5 ms. (i don’t know if this is the proper timing for midi hardware…)

good luck ;)

— Pasted Max Patch, click to expand. —
Viewing 5 posts - 1 through 5 (of 5 total)

Forums > MaxMSP