"How to Automatically Load Samples in gen~ Environment After Reopening a Patch in Max/MSP?"

MINHYEOCK LEE's icon

I am using samples downloaded from Splice in my patch. How can I make the samples automatically load in the gen~ environment when I close and reopen the patch?

Graham Wakefield's icon

The easy way: Put the samples in the exact same folder as your max patch. If a sample is called "foo.wav", create a buffer~ foo foo.wav in the Max patch, and buffer foo in the gen~ patch.

If they are not in the same folder, you'll probably need to deal with some loading messages to handle file paths. I think someone answered that question for you on Discord.