including a soundfile in a standalone

FP's icon

hi,

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.

thx.
f./

Emmanuel Jourdan's icon
FP's icon

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

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

FP's icon

yes. i'll try it too.
thx.

f./
>>
> "; 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
>
>