Forums > MaxMSP

including a soundfile in a standalone


FP
February 14, 2008 | 1:06 pm

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.

here’s this application: http://www.pan-etc.net/res/dev/TestAudio.zip
and source:

http://www.pan-etc.net/res/dev/TestAudio-src.zip

thx.
f./


February 14, 2008 | 1:35 pm



FP
February 14, 2008 | 8:44 pm

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

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


February 14, 2008 | 10:01 pm



FP
February 15, 2008 | 7:33 am

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
>
>


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