Umenu - finding audio, help

m1ndbullet's icon

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.

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

thanks for your time.

gwsounddsg's icon

So wait, are you asking how to play the audio from the randomly chosen file? If so, you should take a look at MSP tutorial 16 which teaches you about playing audio files.

GW

m1ndbullet's icon

placing a buffer under the prepend read object loads a file and double clicking it works but when connecting its grove, theres no sound put

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

I got it to work

m1ndbullet's icon

hey man thank you so much for your time, still getting used to it again. it only plays the sound once though, ive added play/stop messages to the groove but no joy. Thanks again for your help!.

m1ndbullet's icon

i worked out that the ezdac needs to be switched off and on again for it to work if you press stop

gwsounddsg's icon

for groove~ you can send it a message "loop 1" to turn on looping.

m1ndbullet's icon

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.

gwsounddsg's icon

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.