Forums > MaxMSP

selecting random wav files

December 6, 2012 | 9:08 pm

so i’m creating a patch based around ambisoncs and granular synthesis. i have a gran sampler set up to a load/play message but i have 50 recorded sounds, how can a set up a system where after upon a click/bang a random sample is outputted


December 7, 2012 | 9:54 pm

There’s a few ways you can do this, and you’ll have to experiment with which one gets the exact results you want. One way is having a random object which selects a number, which changes the buffer on a groove~ object. Another way would be to have multiple sfplay~ objects where the random object presses play on one.

If you’re trying to do this really fast, the groove~ object will probably be your best bet.

GW


Viewing 2 posts - 1 through 2 (of 2 total)