storing audio files

benree's icon

Hi,

is it possible to load audio files so they open with the max patch as opposed to having to load them off my hard drive each time i open the patch?

thanks.

2672.audiofileplayer.maxpat
Max Patch
MIB's icon

I am assuming you mean to have the file automatically load into sfplay~ rather than manually find it? it is always loaded form the HD!!

Max Patch
Copy patch and select New From Clipboard in Max.

This assumes that the file is in the max searchpath...

bassfalk's icon

And what if it's not in the Max searchpath? Can I define a path, for example in the project folder so that I can move the whole folder and still the patch has the correct reference path to the file?

benree's icon

thanks for example patch MIB, but sorry, I dont get how this works...how do i specify the max search path? sorry if I havent understood your example properly.

MIB's icon

if it's in the same folder as your patch, it should be fine as well. but there is also an object called "filepath" which lets you add a folder to the searchpath. have a look at that.
otherwise, you specify the searchpath with "File Preferences", which is under the "Option" menu...