Forums > Max For Live

Including an audio file in AMXD

January 23, 2014 | 5:44 pm

Hi guys,

I would like to include a few audiofiles in the amxd file. But somehow I can’t solve it… but found this:

"A frozen device contains files it needs to operate. These files might include subpatchers, audio files, image files, Javascript code, or third-party Max external objects. If your device opens files during its operation (such as a folder of samples or images), you may need to add these files as dependencies before freezing."

http://cycling74.com/docs/max5/vignettes/core/live_sharing.html

So if I load a sample into a buffer object, then Freeze and save the device, I thought it should include the WAV file, next time I open the frozen device… But it’s not, so i thought i should add the files as explicit dependencies as written here:

http://cycling74.com/docs/max5/vignettes/core/live_dependencies.html

But my View/Dependencies menu is grey and not clickable…

Any idea what I do wrong?

thanx in advance,
Kevin


January 24, 2014 | 12:25 am

You can save your max device as a consolidated project, then freeze the device.
If you then read from the consolidated files into a buffer, it should be fine.
I did that e.g. here:

http://www.maxforlive.com/library/device/1511/m4l-vinyl

Best,
Christian


January 24, 2014 | 2:48 am

Thanx Christian, will try it now, althought i don’t see what’s the connection beetween a separate Max4live device and a consolidated ableton project (as i know consolidating means only copying the files into the project directory, but an amxd file don’t have a project directory)… So if there is any, hope Ableton or Cycling will do some documentation on it…

btw, wanted to check your device, but it crashes my live (9.1.1).. strange…


January 24, 2014 | 3:05 am

Just tried, but still didn’t include any of the files in the buffer~ objects…


January 24, 2014 | 1:58 pm

look for "show containing project" on the bottom toolbar. there you can add files before freezing. use loadbang to load the soundfile at device initialization. O.

The use of the Dependencies Window is deprecated as of version 6.1 of Max, and the functions associated with it have migrated to Projects.

http://cycling74.com/docs/max6/dynamic/c74_docs.html#live_dependencies


January 24, 2014 | 2:37 pm

Ahh thanx Olsen, works perfectly… didnt hear about this change, but solved my problem :D


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