Forums > MaxMSP

Multiple audiofiles in multiple folder

December 8, 2012 | 3:31 pm

I’ve multiple audiofiles in multiple folders and I want to be able to choose from my patcher the folder and hear the files in it like a jukebox. I can read the path of the patch and add the path to the folder, but I am unable to tell the buffer~ object to read in this folder. I think it’s trivial but apparently not for me.
thanks for your help

December 8, 2012 | 5:23 pm

polybuffer~ ?

December 8, 2012 | 5:47 pm

Polybuffer~ works fine for this (thanks to Matt) let me know how you get on when you change folders.
You’ll need to use message boxes to clear, open, read etc.

December 8, 2012 | 5:49 pm

Thanks a lot with readfolder send to polybuffer~ I think it will work

January 11, 2013 | 2:53 pm

Polybuffer~ works fine. but when I change folder, there is a little latency (the time for polybuffer to load samples). Another problem occurs when I want to make a standalone application. The polybuffer return an error message like "patati/patata is not a folder". I’ve tried to include the different folders and to save the application in the same parent folder, but I can’t figure out the problem. an idea?

January 11, 2013 | 3:56 pm

For the first part of the question, this is kinda expected, loading multitple files form the disk to the ram takes a little bit of time, it depends on the length of the file as well.

January 13, 2013 | 10:21 pm

Usually, it’s best to try to avoid loading buffers in performance time — load as much as your RAM can take at initilaization. As far as your path goes, you may need to specify the complete path to your sample folder, even if it is inside your app. Something like /Applications/


January 13, 2013 | 11:53 pm

[conformpath] may help.

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

Forums > MaxMSP