Including an audio file in AMXD

    Jan 24 2014 | 1:44 am
    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."
    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:
    But my View/Dependencies menu is grey and not clickable...
    Any idea what I do wrong?
    thanx in advance, Kevin

    • Jan 24 2014 | 8: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:
      Best, Christian
    • Jan 24 2014 | 10: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...
    • Jan 24 2014 | 11:05 am
      Just tried, but still didn't include any of the files in the buffer~ objects...
    • Jan 24 2014 | 9: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.
    • Jan 24 2014 | 10:37 pm
      Ahh thanx Olsen, works perfectly... didnt hear about this change, but solved my problem :D