including a soundfile in a standalone

    Feb 14 2008 | 1:06 pm
    could somebody tell me how to include a soundfile in a standalone ?
    i mean, i made an audio test application and i would like to have a soundfile to play in it permanently.
    i can't find the way to do it. i suppose the file has to be in the contents folder.
    here's this application:
    and source:

    • Feb 14 2008 | 1:35 pm
    • Feb 14 2008 | 8:44 pm
      it was so simple... :-)
      thx a lot.
      and coiuld you illustrate the second way with "; max sendapppath" message, please.
    • Feb 15 2008 | 7:33 am
      yes. i'll try it too.
      > "; max sendapppath toto" will send the application path to a
      > "receive toto" object. From that you can construct the absolute
      > path of your sound file using [sprintf].
      > ej