Forums > MaxMSP

Can Max search through subfolders?

November 2, 2007 | 6:02 am

My idea is to create a percussion patch with samplers that could randomly load samples from my large sound effects library. Is there a way to have the patch randomly choose from a sound in a subfolder if I point it to the harddrive? In other words, max would have to search for all the sound files at the ends of all the subfolders.

Thanks!

Ben


November 2, 2007 | 9:49 am

Hi,

you can use ubumenu for file selection, just adjust it’s recursion
depth(maximum is 512), choose a root folder + filetypes and you
should be fine. It might take a while(few seconds) to populate
ubumenu when you close the inspector.

best,
nesa

On Nov 2, 2007, at 7:02 AM, ben wrote:

>
> My idea is to create a percussion patch with samplers that could
> randomly load samples from my large sound effects library. Is there
> a way to have the patch randomly choose from a sound in a subfolder
> if I point it to the harddrive? In other words, max would have to
> search for all the sound files at the ends of all the subfolders.
>
> Thanks!
>
>
> Ben


November 2, 2007 | 11:42 am

ben schrieb:
> My idea is to create a percussion patch with samplers that could
> randomly load samples from my large sound effects library. Is there a
> way to have the patch randomly choose from a sound in a subfolder if
> I point it to the harddrive? In other words, max would have to search
> for all the sound files at the ends of all the subfolders.

With ubumenu’s prefix you can fill a ubumenu with all sounds of a
folder. By defining the recursion depth in the inspector, you can tell
it to search recursively through subfolders…

If you know the length of you ubumenu, you can setup a random to
randomly choose sounds from the ubumenu…

Stefan


Stefan Tiedje————x——-
–_____———–|————–
–(_|_ —-|—–|—–()——-
– _|_)—-|—–()————–
———-()——–www.ccmix.com


November 2, 2007 | 2:52 pm

OMG guys, that is perfect!
Works like a charm.

Thanks (again) for your continued help.

Ben


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