how to load soundfiles in a max app

JMF's icon

Hello everyone!

I've made a quite simple patch that plays a set of predefined files.
inside the patch I work with a coll which loads the cues on a sflist into a poly~ object which uses sfplay. - this works perfectly when using Max, because the folder containing the files is in Max's search path.
but when building an app from this patch, I can't figure how to actually locate the folder, or how to impose it on the file player.

thanks in advance.

cap10subtext's icon

On OSX, Right click, show package contents, copy sound files to contents/support. Now they'll be bundled with your app.

JMF's icon

it works, of course!

Thanks a lot!!!