Working example of buffer~ loading in M4L

Ernest's icon

I've been asking this question for five months now, and I still haven't got an answer how to do it. Is there a working example of a project to build a M4L object which automatically loads audio files into buffer??

kleine's icon

Hello Ernest,

Best,
Christian

Ernest's icon

thank you christian, please could you share .maxpat file and project file?

kleine's icon

Ernest, this is a frozen amxd with a soundfile read into a buffer on load - you don't need the maxpat file

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

If you create a amxd and add the assets to the project and consolidate + freeze it, the dependencies are 'fixed' and the media files
are loaded into the buffers on load or whenever you want it.
Nonetheless, here's the patch without the media files (but this won't really help much…)

Ernest's icon

Thaks Christian, but the problem I have is when I consolidate it, and freeze it, then open it on a Mac instead of a PC, it cant find the files.

kleine's icon

This could happen if you use encrypted samples from some Ableton packs (where the other machine lacks the license). Does it happen
with 'normal' .wav/.aif files?

Ernest's icon

yes, it happens with normal wav files. I would really appreciate it if Cycling74 could provide some examples, including some project files already set up, so we know how Cycling74 wants it done.

kleine's icon

I gladly take a look at this issue (and escalate if necessary) if you provide a example where i can reproduce this.
my mail is kleine [at] ableton [dot] com
Let me also know your Max/Live version…

C.