Patch Randomizer

Braintentacle's icon

Hey,

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?

Thanks.

zach's icon

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.

Braintentacle's icon

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?

Timo Rozendal's icon

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

mudang's icon

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...)

Max Patch
Copy patch and select New From Clipboard in Max.

good luck ;)