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
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.
Thanks a lot with readfolder send to polybuffer~ I think it will work
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?
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.
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.
[conformpath] may help.
C74 RSS Feed | © Copyright Cycling '74