Forums > MaxMSP

include sf2 in collective/app


April 7, 2007 | 1:01 am

hi

when i build a collective or app with max 4.6.2, i add various soundfonts successfully…but when i run the collective or app these soundfonts cannot be found. am i doing something wrong? the fonts are definitely inside the collective because the file is fairly large and i don’t get an error when i compile.

thanks

April 7, 2007 | 9:59 am

When you choose to build a collective etc. there is a dialog window where
you can add files that are not automatically found for you. These include
movies, sound files, graphics – basically anything that isn’t an external or
abstraction in the search path.

I always forget to add something. If you control click the standalone and
select "Show Package Contents from the popup menu. The open the Control
folder and the Resources folder inside that. Drag your sountfont into the
Resources folder.

Caveat…This works for standalone app on OSX 10.4. Haven’t built
collectives or plugins and I don’t do Windows.

On 4/6/07 9:01 PM, "stephen" wrote:

>
> hi
>
> when i build a collective or app with max 4.6.2, i add various soundfonts
> successfully…but when i run the collective or app these soundfonts cannot be
> found. am i doing something wrong? the fonts are definitely inside the
> collective because the file is fairly large and i don’t get an error when i
> compile.
>
> thanks

Cheers
Gary Lee Nelson
Oberlin College
http://www.timara.oberlin.edu/GaryLeeNelson

April 7, 2007 | 6:54 pm

yes…that works when i add the soundfonts manually to the resources folder…not sure why i couldn’t do it by adding the files or folder in the build dialog. seems like when i added the files in the build dialog the file size of the app increased dramatically, but when i right clicked and opened the app the soundfonts were no where to be found.

anyway, your method works. thank you!

stephen


_j
April 9, 2007 | 9:05 am

does sending "path" to "thispatcher" work in a standalone? that could be helpful, perhaps?

April 9, 2007 | 9:20 am

On 9 avr. 07, at 11:05, jamez wrote:

> does sending "path" to "thispatcher" work in a standalone? that
> could be helpful, perhaps?

No, it does not. But there’s a special message to max for this purpose:

; max sendapppath receivename

p 111 in Max46Topics.pdf.

Cheers,
ej

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

Forums > MaxMSP