including a soundfile in a standalone

Feb 14, 2008 at 1:06pm

including a soundfile in a standalone


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 at 1:35pm

Feb 14, 2008 at 8:44pm

it was so simple… :-)
thx a lot.

and coiuld you illustrate the second way with “; max sendapppath” message, please.

Feb 14, 2008 at 10:01pm

Feb 15, 2008 at 7:33am

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


You must be logged in to reply to this topic.