Umenu – finding audio, help

andrew benson has been a huge help and i’m sure this is a simple fix you guys but we have developed a patch which selects audio files from a folder at random, i just cant seem to work out how to get the audio out.

thanks for your time.

– Pasted Max Patch, click to expand. –

Copy all of the following text. Then, in Max, select New From Clipboard.

thanks, i worked it out. Last question, say i wanted four of these, how do i change the foo message so my buffer/groove objects are independent of each other and still update their wave form displays?
thanks again.

the way that buffer~ works is you give it a name as the first argument. So you can have 2, 5, 10000 (well maybe not that many) buffer objects each named: foo1, foo2, foo3…fooN. Then you have groove~ objects which you can either set the buffer it reads from via the set message, or you can put it in as the first argument.