Forums > Jitter

Problems creating standalone on OSX 10.4.9

May 26, 2007 | 5:09 pm

Hello,

I’ve read the documentation and followed the instructions, read a lot of previous posts but still can’t find an explanation for this.

The attached patch works fine in Max/MSP/Jitter, but if I try to build a standalone application, it will start the Run-time appn just fine, while reporting one "error: *~: No Such Object". The patch doesn’t do anything (it’s supposed to load a sound and play a video with an effec using toggle controls.

I am running the latest versions of Max/MSP Full and MAX/MSP Run-time. I have tried including the whole folder instead of just adding the patch; I have placed the files manually on the MacOS folder within the package, to no avail.

I’m out of ideas and would be very grateful if someone could help.


May 26, 2007 | 7:44 pm

this is the patch (it simply uses sound amplitude to turn a video on and off):

———

max v2;
#N vpatcher 895 57 2285 892;
#P origin -42 -38;
#P toggle 113 404 15 0;
#P user meter~ 104 453 126 544 50 0 168 0 104 104 104 255 153 0 255 0 0 217 217 0 153 186 0 12 3 3 3 3;
#P toggle 1 402 15 0;
#P window setfont "Sans Serif" 9.;
#P message 94 135 64 196617 fullscreen 0;
#N thispatcher;
#Q end;
#P newobj 61 173 61 196617 thispatcher;
#P message 64 87 63 196617 fullscreen 1;
#P user ezdac~ 97 224 141 257 0;
#P user meter~ 1 452 23 543 50 0 168 0 104 104 104 255 153 0 255 0 0 217 217 0 153 186 0 12 3 3 3 3;
#N vpatcher 283 144 1723 957;
#P origin 0 -1;
#P window setfont "Sans Serif" 9.;
#P window linecount 1;
#P message 462 228 30 196617 open;
#P newex 677 568 49 196617 switch 2;
#P message 626 484 14 196617 1;
#P number 641 697 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P message 676 480 14 196617 2;
#P toggle 402 119 15 0;
#P window setfont "Fixedwidth Serif" 18.;
#P newex 404 150 97 1441810 metro 25;
#P toggle 1043 665 15 0;
#P window setfont "Sans Serif" 9.;
#P newex 1043 631 30 196617 > 10;
#P number 1043 609 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P user hslider 1043 577 18 128 128 1 0 0;
#P newex 1044 557 53 196617 * 127.99;
#P flonum 1044 524 58 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P newex 1041 500 69 196617 peakamp~ 15;
#B color 5;
#P outlet 1238 658 15 0;
#P inlet 1021 82 15 0;
#P newex 1053 82 48 196617 loadbang;
#P toggle 1053 333 15 0;
#N vpatcher 10 59 610 459;
#P window setfont "Sans Serif" 9.;
#P window linecount 1;
#P newex 57 158 35 196617 pass~;
#P newex 57 97 66 196617 tapout~ 500;
#P newex 57 72 60 196617 tapin~ 500;
#N comlet Delay Output;
#P outlet 57 206 15 0;
#N comlet Delay input;
#P inlet 57 43 15 0;
#P window linecount 3;
#P comment 95 148 164 196617 put pass~ in your subpatch to guarantee a zeroed output signal when it is switched off with mute~;
#P user panel 46 141 219 50;
#X brgb 255 255 255;
#X frgb 255 232 43;
#X border 2;
#X rounded 0;
#X shadow 0;
#X done;
#P connect 2 0 4 0;
#P connect 4 0 5 0;
#P connect 5 0 6 0;
#P connect 6 0 3 0;
#P pop;
#P newobj 1053 383 78 196617 p cala-te sonso;
#P newex 1053 359 38 196617 mute~;
#N vpatcher 423 54 994 314;
#P window setfont "Sans Serif" 9.;
#P newex 323 82 48 196617 loadbang;
#P window setfont "Sans Serif" 12.;
#P comment 398 23 119 196620 3. jump to cue;
#P window setfont "Sans Serif" 9.;
#P comment 260 49 61 196617 speed;
#P flonum 259 65 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P button 166 88 15 0;
#P window setfont "Sans Serif" 12.;
#P comment 274 23 119 196620 2. turn on looping;
#P window setfont "Sans Serif" 9.;
#P comment 194 46 61 196617 length;
#P toggle 323 110 15 0;
#P message 323 129 41 196617 loop $1;
#P newex 13 106 68 196617 speedlim 100;
#P flonum 194 65 62 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P newex 166 112 38 196617 + 500.;
#P message 124 112 35 196617 set $1;
#P button 13 88 15 0;
#P flonum 124 65 64 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P newex 124 136 94 196617 pack 0. 0. 1.;
#P message 396 65 14 196617 2;
#P message 124 157 104 196617 preload 2 $1 $2 1 $3;
#P outlet 124 196 15 0;
#P window setfont "Sans Serif" 12.;
#P comment 122 23 133 196620 1. set cue point;
#P window setfont "Sans Serif" 9.;
#P comment 125 46 61 196617 start;
#P comment 13 135 100 196617 this speedlim is a protective measure against preloading too often. in this example it shouldn’t be much of a problem though;
#P fasten 11 0 8 0 199 85 18 85;
#P fasten 7 0 8 0 129 85 18 85;
#P fasten 18 0 8 0 264 85 18 85;
#P connect 8 0 12 0;
#P connect 7 0 9 0;
#P connect 9 0 6 0;
#P fasten 12 0 6 0 18 126 129 126;
#P connect 6 0 4 0;
#P fasten 5 0 3 0 401 178 129 178;
#P fasten 13 0 3 0 328 178 129 178;
#P fasten 4 0 3 0 129 183 129 183;
#P fasten 11 0 17 0 199 85 171 85;
#P connect 17 0 10 0;
#P fasten 7 0 10 0 129 107 171 107;
#P connect 10 0 6 1;
#P connect 11 0 10 1;
#P fasten 18 0 6 2 264 108 213 108;
#P connect 21 0 14 0;
#P connect 14 0 13 0;
#P pop;
#P newobj 1026 247 45 196617 p looping;
#P window setfont Times 10.;
#P comment 1109 249 46 1310730 Play/Stop;
#P toggle 1124 263 15 0;
#P window setfont "Fixedwidth Serif" 10.;
#P message 1157 223 106 1441802 open 19_agua.aif;
#P window setfont Times 10.;
#P comment 1159 306 85 1310730 Define cues , 2 to 9;
#P comment 1112 145 161 1310730 — Play from several different files —;
#P comment 1053 272 24 1310730 Cue;
#P toggle 1077 186 15 0;
#P window setfont "Fixedwidth Serif" 10.;
#P number 1089 276 35 10 0 0 0 22 0 0 0 221 221 221 222 222 222 0 0 0;
#P newex 1077 247 32 1441802 – 48;
#P newex 1077 226 73 1441802 split 48 57;
#P newex 1099 184 27 1441802 key;
#P newex 1077 205 32 1441802 gate;
#P user ezdac~ 1113 418 1157 451 -33554177;
#N sfplay~ 12 120960 0 ;
#P newobj 1077 295 170 1441802 sfplay~ 12;
#B color 5;
#P window setfont Times 10.;
#P window linecount 2;
#P comment 1065 160 43 1310730 Keyplay On/Off;
#P window linecount 1;
#P comment 918 532 68 1310730 Effect Strength;
#P window setfont "Fixedwidth Serif" 10.;
#P flonum 884 541 35 10 0. 0 1 22 0 0 0 221 221 221 222 222 222 0 0 0;
#P objectname effectscalar[1];
#P newex 924 513 32 1441802 * 1.;
#P newex 844 581 140 1441802 jit.op @op < =p @val 0.;
#P window setfont Arial 12.;
#P window linecount 3;
#P comment 862 472 85 131137548 Using Audio Amplitude to Control Video;
#P user panel 862 469 79 51;
#X brgb 255 127 255;
#X frgb 0 0 0;
#X border 0;
#X rounded 0;
#X shadow 0;
#X done;
#P window setfont "Fixedwidth Serif" 10.;
#P window linecount 1;
#P message 875 322 118 1441802 read a_formosa.mov;
#P user panel 860 312 121 42;
#X brgb 255 127 255;
#X frgb 0 0 0;
#X border 0;
#X rounded 0;
#X shadow 0;
#X done;
#P toggle 875 355 15 0;
#P newex 875 435 130 1441802 jit.qt.movie 256 256;
#P window setfont "Fixedwidth Serif" 18.;
#P newex 761 314 97 1441810 metro 25;
#P toggle 762 288 15 0;
#P window setfont "Sans Serif" 9.;
#P message 332 441 49 196617 border 0;
#P window setfont "Fixedwidth Serif" 10.;
#P message 382 267 112 1441802 read benfeita.mov;
#P user panel 367 257 121 42;
#X brgb 255 127 255;
#X frgb 0 0 0;
#X border 0;
#X rounded 0;
#X shadow 0;
#X done;
#P newex 720 696 190 1441802 jit.window janela1 0 0 256 256;
#B color 5;
#P window setfont Times 10.;
#P comment 471 492 68 1310730 Effect Strength;
#P window setfont "Fixedwidth Serif" 10.;
#P flonum 437 501 35 10 0. 0 1 22 0 0 0 221 221 221 222 222 222 0 0 0;
#P objectname effectscalar;
#P message 574 338 32 1441802 read;
#P toggle 382 300 15 0;
#P newex 477 473 32 1441802 * 1.;
#P newex 382 558 140 1441802 jit.op @op < =p @val 0.;
#P newex 382 380 130 1441802 jit.qt.movie 256 256;
#P window setfont Arial 12.;
#P window linecount 3;
#P comment 415 432 85 131137548 Using Audio Amplitude to Control Video;
#P user panel 415 429 79 51;
#X brgb 255 127 255;
#X frgb 0 0 0;
#X border 0;
#X rounded 0;
#X shadow 0;
#X done;
#P toggle 166 670 15 0;
#P window setfont "Sans Serif" 9.;
#P window linecount 1;
#P newex 166 636 30 196617 > 10;
#P number 166 614 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P user hslider 166 582 18 128 128 1 0 0;
#P newex 167 562 53 196617 * 127.99;
#P flonum 167 529 58 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P newex 164 505 69 196617 peakamp~ 15;
#B color 5;
#P outlet 176 465 15 0;
#P inlet 309 42 15 0;
#P newex 176 87 48 196617 loadbang;
#P toggle 176 338 15 0;
#N vpatcher 10 59 610 459;
#P window setfont "Sans Serif" 9.;
#P window linecount 1;
#P newex 57 158 35 196617 pass~;
#P newex 57 97 66 196617 tapout~ 500;
#P newex 57 72 60 196617 tapin~ 500;
#N comlet Delay Output;
#P outlet 57 206 15 0;
#N comlet Delay input;
#P inlet 57 43 15 0;
#P window linecount 3;
#P comment 95 148 164 196617 put pass~ in your subpatch to guarantee a zeroed output signal when it is switched off with mute~;
#P user panel 46 141 219 50;
#X brgb 255 255 255;
#X frgb 255 232 43;
#X border 2;
#X rounded 0;
#X shadow 0;
#X done;
#P connect 2 0 4 0;
#P connect 4 0 5 0;
#P connect 5 0 6 0;
#P connect 6 0 3 0;
#P pop;
#P newobj 176 388 78 196617 p cala-te sonso;
#P newex 176 364 38 196617 mute~;
#N vpatcher 423 54 994 314;
#P window setfont "Sans Serif" 9.;
#P newex 323 82 48 196617 loadbang;
#P window setfont "Sans Serif" 12.;
#P comment 398 23 119 196620 3. jump to cue;
#P window setfont "Sans Serif" 9.;
#P comment 260 49 61 196617 speed;
#P flonum 259 65 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P button 166 88 15 0;
#P window setfont "Sans Serif" 12.;
#P comment 274 23 119 196620 2. turn on looping;
#P window setfont "Sans Serif" 9.;
#P comment 194 46 61 196617 length;
#P toggle 323 110 15 0;
#P message 323 129 41 196617 loop $1;
#P newex 13 106 68 196617 speedlim 100;
#P flonum 194 65 62 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P newex 166 112 38 196617 + 500.;
#P message 124 112 35 196617 set $1;
#P button 13 88 15 0;
#P flonum 124 65 64 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P newex 124 136 94 196617 pack 0. 0. 1.;
#P message 396 65 14 196617 2;
#P message 124 157 104 196617 preload 2 $1 $2 1 $3;
#P outlet 124 196 15 0;
#P window setfont "Sans Serif" 12.;
#P comment 122 23 133 196620 1. set cue point;
#P window setfont "Sans Serif" 9.;
#P comment 125 46 61 196617 start;
#P comment 13 135 100 196617 this speedlim is a protective measure against preloading too often. in this example it shouldn’t be much of a problem though;
#P fasten 11 0 8 0 199 85 18 85;
#P fasten 7 0 8 0 129 85 18 85;
#P fasten 18 0 8 0 264 85 18 85;
#P connect 8 0 12 0;
#P connect 7 0 9 0;
#P fasten 12 0 6 0 18 126 129 126;
#P connect 9 0 6 0;
#P connect 6 0 4 0;
#P fasten 4 0 3 0 129 183 129 183;
#P fasten 13 0 3 0 328 178 129 178;
#P fasten 5 0 3 0 401 178 129 178;
#P fasten 11 0 17 0 199 85 171 85;
#P fasten 7 0 10 0 129 107 171 107;
#P connect 17 0 10 0;
#P connect 10 0 6 1;
#P connect 11 0 10 1;
#P fasten 18 0 6 2 264 108 213 108;
#P connect 21 0 14 0;
#P connect 14 0 13 0;
#P pop;
#P newobj 149 252 45 196617 p looping;
#P window setfont Times 10.;
#P comment 232 254 46 1310730 Play/Stop;
#P toggle 247 268 15 0;
#P window setfont "Fixedwidth Serif" 10.;
#P message 280 228 100 1441802 open 1_sino.aif;
#P window setfont Times 10.;
#P comment 282 311 85 1310730 Define cues , 2 to 9;
#P comment 235 150 161 1310730 — Play from several different files —;
#P comment 176 277 24 1310730 Cue;
#P toggle 200 191 15 0;
#P window setfont "Fixedwidth Serif" 10.;
#P number 212 281 35 10 0 0 0 22 0 0 0 221 221 221 222 222 222 0 0 0;
#P newex 200 252 32 1441802 – 48;
#P newex 200 231 73 1441802 split 48 57;
#P newex 222 189 27 1441802 key;
#P newex 200 210 32 1441802 gate;
#P user ezdac~ 195 422 239 455 -33554177;
#N sfplay~ 2 120960 0 ;
#P newobj 200 300 64 1441802 sfplay~ 2;
#B color 5;
#P window setfont Times 10.;
#P window linecount 2;
#P comment 188 165 43 1310730 Keyplay On/Off;
#P connect 17 0 22 0;
#P connect 24 0 25 0;
#P connect 25 0 26 0;
#P connect 26 0 27 0;
#P connect 27 0 28 0;
#P connect 22 0 23 0;
#P connect 23 0 24 0;
#P connect 19 0 18 0;
#P connect 20 0 18 0;
#P connect 18 0 16 0;
#P connect 16 0 17 0;
#P connect 1 0 17 0;
#P connect 1 1 17 0;
#P connect 17 0 21 0;
#P connect 17 0 2 0;
#P connect 8 0 3 0;
#P connect 3 0 5 0;
#P connect 5 0 6 0;
#P connect 89 0 1 0;
#P fasten 12 0 1 0 285 247 276 247 276 296 205 296;
#P connect 7 0 1 0;
#P connect 15 0 1 0;
#P fasten 13 0 7 0 252 286 238 286 238 273 217 273;
#P connect 6 0 7 0;
#P connect 4 0 3 1;
#P connect 17 0 2 1;
#P connect 19 0 13 0;
#P connect 19 0 12 0;
#P connect 19 0 41 0;
#P connect 19 0 40 0;
#P connect 83 0 31 0;
#P connect 40 0 31 0;
#P connect 35 0 31 0;
#P connect 31 0 32 0;
#P connect 19 0 84 0;
#P connect 84 0 83 0;
#P connect 28 0 33 0;
#P connect 36 0 33 1;
#P fasten 33 0 32 1 482 494 517 494;
#P connect 20 0 87 0;
#P connect 74 0 85 0;
#P connect 87 0 88 0;
#P connect 85 0 88 1;
#P connect 50 0 38 0;
#P connect 32 0 38 0;
#P connect 41 0 38 0;
#P connect 88 0 38 0;
#P connect 42 0 43 0;
#P connect 19 0 42 0;
#P connect 44 0 50 0;
#P connect 73 0 47 0;
#P connect 43 0 44 0;
#P connect 47 0 44 0;
#P connect 82 0 51 0;
#P connect 52 0 51 1;
#P fasten 51 0 50 1 929 534 979 534;
#P connect 71 0 76 0;
#P connect 78 0 79 0;
#P connect 79 0 80 0;
#P connect 80 0 81 0;
#P connect 81 0 82 0;
#P connect 76 0 77 0;
#P connect 77 0 78 0;
#P connect 73 0 72 0;
#P connect 74 0 72 0;
#P connect 72 0 70 0;
#P connect 55 0 71 0;
#P connect 55 1 71 0;
#P connect 70 0 71 0;
#P connect 62 0 57 0;
#P connect 57 0 59 0;
#P connect 59 0 60 0;
#P fasten 66 0 55 0 1162 242 1153 242 1153 291 1082 291;
#P connect 61 0 55 0;
#P connect 69 0 55 0;
#P connect 60 0 61 0;
#P fasten 67 0 61 0 1129 281 1115 281 1115 268 1094 268;
#P connect 58 0 57 1;
#P connect 71 0 56 0;
#P connect 73 0 67 0;
#P connect 71 0 56 1;
#P connect 73 0 66 0;
#P connect 71 0 75 0;
#P pop;
#P newobj 2 422 125 196617 p benfeita e agua formosa;
#P comment 2 556 100 196617 sino;
#P connect 1 0 2 0;
#P connect 7 0 1 0;
#P connect 4 0 5 0;
#P connect 6 0 5 0;
#P connect 1 1 8 0;
#P connect 9 0 1 1;
#P pop;


May 27, 2007 | 11:26 am

Additionally, I am now getting an "error: jit.gl.shader: unable to find CG framework".

It seems the solution only gets further, and further away…


May 29, 2007 | 8:46 am

Hello, this problem persists, regardless of giving an error or not: the standalone file runs but doesn’t load any movies or sounds.

This happens regardless of:
a) putting the standalone on the same folder as the files,
b) putting the files on the MacOS folder
c) adding them to the standalone when creating it.

I believe I’m following the instructions so I believe this is an odd, un-documented behaviour.

Has anybody had similar problems?


May 29, 2007 | 10:40 am

if you place files in

APP.app/Contents/MAXOs/support

they can be read without path information,
like ‘open

you can do much more, the above should solve your problems.
the whole precess is detailed in pages 12-25 in max46topics.pdf

espero q ajude,

a

On 2007, May, 29 , at 9:46 , Rui wrote:

>
> Hello, this problem persists, regardless of giving an error or not:
> the standalone file runs but doesn’t load any movies or sounds.
>
> This happens regardless of:
> a) putting the standalone on the same folder as the files,
> b) putting the files on the MacOS folder
> c) adding them to the standalone when creating it.
>
> I believe I’m following the instructions so I believe this is an
> odd, un-documented behaviour.
>
> Has anybody had similar problems?


May 29, 2007 | 10:30 pm

Quote: yuri wrote on Sun, 27 May 2007 04:26
—————————————————-
> Additionally, I am now getting an "error: jit.gl.shader: unable to find CG framework".
>
> It seems the solution only gets further, and further away…
—————————————————-

Some important info in JitterTutorial16.pdf, Appendix D (page 534).

Also, there is no object called "*~." *~ is an alias for "times~". (Not every file system allows files with "*" characters in them.) I believe this error is cosmetic, however.

mz


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