Multiple audiofiles in multiple folder

Dec 8, 2012 at 3:31pm

Multiple audiofiles in multiple folder

Hi,
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

#65573
Dec 8, 2012 at 5:23pm

polybuffer~ ?

#236233
Dec 8, 2012 at 5:47pm

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.

#236234
Dec 8, 2012 at 5:49pm

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

#236235
Jan 11, 2013 at 2:53pm

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?

#236236
Jan 11, 2013 at 3:56pm

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.

#236237
Jan 13, 2013 at 10:21pm

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/myApp.app/Contents/MediaFolder.

M

#236238
Jan 13, 2013 at 11:53pm

[conformpath] may help.

#236239

You must be logged in to reply to this topic.