filling~ buffer with folder and umenu
Hi,
first, you have to send the [umenu] directly into the [buffer~] , but I guess you know that.
Then need you folder in Max's radar (search path).
because you just send a relative path to [buffer~] so it can't find the file on your hard disk.
Unless the folder is located next to your patcher, you have to add the folder to max's search patch using "options/file preferences"
olivier
thats worked out great. for a long time i have heard people mention the max search path and i thought it meant everything in the max folder, didnt realise you could choose other folders without having them in the max folder. great help cheers.
so i figured adding my sample library as a user file path would be a good idea but its crashing max, maxforlive and ableton.
is adding large folders of large files a bad idea? this folder is only 16gig, and clearly its not 'moving' the whole folder, its just looking at it right?
its ok, just needed a bit of time to sort itself out. ignore me.
I am glad I could help ;)
olivier
so i made a drum player using 16 sfplays~ and 16 folder objects to drag folders of kicks and snares into it so change different sounds, saved it im am ableton set, then when i reloaded it the sound had gone and i had to drop them in again. do i need to tell a patch using folder object to remember the path?
Unless the folder is located next to your patcher, you have to add the folder to max’s search patch using "options/file preferences"
What if the folder is located next to the patcher?
How would you get a umenu to autopopulate with the contents of a folder located in the patchers directory on load?
Exeterdown, I think these two examples may be useful to you.Providing a full path nameUsing the full path when opening a file
Woah, thanks Christopher!
That [thispatcher] object is exactly the solution I've been looking for, as I needed to look for a folder where ever the patcher was located.
I've attached my solution to the problem if anyone is curious. You just have to save the patch, with a 'sounds' folder - just like the one in Christopher's example - http://music.arts.uci.edu/dobrian/s14/music147/maxpatches/tones.zip
Also, why the [deferlow] in your original patch?
The reason for the [deferlow] is provided in the explanatory text of that example page.