help needed to open a patch please

Dec 12, 2006 at 10:49pm

help needed to open a patch please

I’m sorry to come up again with such a problem but here I am :

I have this other patch somebody sent me and i can’t open it.
Last time, it seemed like the problem was coming from the different versions of Max-MSP…
I’m using 4.6.2 on a powerbook G4 running OS X 10.3.9 and i can’t open this patch when i double-click on it.

Please try if you can open it.
If you can, could you please send me the patch as text ?

Thanks in advance.
Seb.T

#29188
Dec 12, 2006 at 11:07pm

#90585
Dec 13, 2006 at 7:41am

max v2;
#N vpatcher 9 44 617 745;
#P window setfont “Sans Serif” 9.;
#P number 392 427 35 9 0 255 3 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P window linecount 1;
#P message 392 460 152 196617 /serial/3 0 $1 $1 $1 $1 $1 $1;
#P user multiSlider 199 319 45 104 0. 65535. 1 2665 47 0 0 2 0 0 0;
#M frgb 0 0 0;
#M brgb 255 255 255;
#M rgb2 127 127 127;
#M rgb3 0 0 0;
#M rgb4 37 52 91;
#M rgb5 74 105 182;
#M rgb6 112 158 18;
#M rgb7 149 211 110;
#M rgb8 187 9 201;
#M rgb9 224 62 37;
#M rgb10 7 114 128;
#P number 199 427 45 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P user multiSlider 148 319 45 104 0. 65535. 1 2665 47 0 0 2 0 0 0;
#M frgb 0 0 0;
#M brgb 255 255 255;
#M rgb2 127 127 127;
#M rgb3 0 0 0;
#M rgb4 37 52 91;
#M rgb5 74 105 182;
#M rgb6 112 158 18;
#M rgb7 149 211 110;
#M rgb8 187 9 201;
#M rgb9 224 62 37;
#M rgb10 7 114 128;
#P number 148 427 45 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P toggle 210 259 15 0;
#P toggle 195 259 15 0;
#P toggle 180 259 15 0;
#P toggle 165 259 15 0;
#P toggle 150 259 15 0;
#P toggle 135 259 15 0;
#P toggle 120 259 15 0;
#P toggle 105 259 15 0;
#N vpatcher 15 197 1096 652;
#P window setfont “Sans Serif” 9.;
#P message 86 341 180 196617 11184810 11184810 11184810;
#P message 310 341 159 196617 5592405 5592405 5592405;
#P message 509 341 167 196617 16777215 16777215 16777215;
#P message 693 341 33 196617 0 0 0;
#P inlet 1013 27 15 0;
#P inlet 998 27 15 0;
#P inlet 983 27 15 0;
#P inlet 968 27 15 0;
#P inlet 953 27 15 0;
#P inlet 938 27 15 0;
#P inlet 923 27 15 0;
#P inlet 908 27 15 0;
#P newex 748 357 65 196617 prepend /DO;
#P newex 915 263 27 196617 t b i;
#P newex 823 263 27 196617 t b i;
#P newex 748 312 194 196617 pack 0 0 0;
#P number 107 165 114 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P newex 107 139 65 196617 bytepacker4;
#P number 374 165 114 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P newex 374 139 65 196617 bytepacker4;
#P number 748 165 114 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P newex 748 139 65 196617 bytepacker4;
#P toggle 1013 49 15 0;
#P toggle 998 49 15 0;
#P toggle 983 49 15 0;
#P toggle 968 49 15 0;
#P toggle 953 49 15 0;
#P toggle 938 49 15 0;
#P toggle 923 49 15 0;
#P toggle 908 49 15 0;
#P newex 908 78 119 196617 bitpacker8;
#P toggle 889 49 15 0;
#P toggle 874 49 15 0;
#P toggle 859 49 15 0;
#P toggle 844 49 15 0;
#P toggle 829 49 15 0;
#P toggle 814 49 15 0;
#P toggle 799 49 15 0;
#P toggle 784 49 15 0;
#P newex 784 78 119 196617 bitpacker8;
#P toggle 764 49 15 0;
#P toggle 749 49 15 0;
#P toggle 734 49 15 0;
#P toggle 719 49 15 0;
#P toggle 704 49 15 0;
#P toggle 689 49 15 0;
#P toggle 674 49 15 0;
#P toggle 659 49 15 0;
#P newex 659 78 119 196617 bitpacker8;
#P toggle 640 49 15 0;
#P toggle 625 49 15 0;
#P toggle 610 49 15 0;
#P toggle 595 49 15 0;
#P toggle 580 49 15 0;
#P toggle 565 49 15 0;
#P toggle 550 49 15 0;
#P toggle 535 49 15 0;
#P newex 535 78 119 196617 bitpacker8;
#P toggle 515 49 15 0;
#P toggle 500 49 15 0;
#P toggle 485 49 15 0;
#P toggle 470 49 15 0;
#P toggle 455 49 15 0;
#P toggle 440 49 15 0;
#P toggle 425 49 15 0;
#P toggle 410 49 15 0;
#P newex 410 78 119 196617 bitpacker8;
#P toggle 391 49 15 0;
#P toggle 376 49 15 0;
#P toggle 361 49 15 0;
#P toggle 346 49 15 0;
#P toggle 331 49 15 0;
#P toggle 316 49 15 0;
#P toggle 301 49 15 0;
#P toggle 286 49 15 0;
#P newex 286 78 119 196617 bitpacker8;
#P toggle 266 49 15 0;
#P toggle 251 49 15 0;
#P toggle 236 49 15 0;
#P toggle 221 49 15 0;
#P toggle 206 49 15 0;
#P toggle 191 49 15 0;
#P toggle 176 49 15 0;
#P toggle 161 49 15 0;
#P newex 161 78 119 196617 bitpacker8;
#P toggle 142 49 15 0;
#P toggle 127 49 15 0;
#P toggle 112 49 15 0;
#P toggle 97 49 15 0;
#P newex 37 78 119 196617 bitpacker8;
#P outlet 748 407 15 0;
#P comment 82 251 436 196617 bitpacker and bytepacker have trigger objects embedded so that they provide output when a single input changes even if it’s not the leftmost. If your patch updates all bit states at the same time this behaviour is not really desirable so you might want to modify the abstracions;
#P connect 3 0 2 4;
#P connect 74 0 75 0;
#P connect 4 0 2 5;
#P connect 5 0 2 6;
#P connect 6 0 2 7;
#P connect 2 0 74 2;
#P connect 8 0 7 0;
#P connect 7 0 74 3;
#P connect 9 0 7 1;
#P connect 10 0 7 2;
#P connect 11 0 7 3;
#P connect 12 0 7 4;
#P connect 13 0 7 5;
#P connect 14 0 7 6;
#P connect 15 0 7 7;
#P connect 17 0 16 0;
#P connect 18 0 16 1;
#P connect 19 0 16 2;
#P connect 20 0 16 3;
#P connect 21 0 16 4;
#P connect 22 0 16 5;
#P connect 72 0 73 0;
#P connect 23 0 16 6;
#P connect 24 0 16 7;
#P connect 16 0 72 1;
#P connect 26 0 25 0;
#P connect 25 0 72 2;
#P connect 27 0 25 1;
#P connect 34 0 72 3;
#P connect 28 0 25 2;
#P connect 29 0 25 3;
#P connect 30 0 25 4;
#P connect 31 0 25 5;
#P connect 32 0 25 6;
#P connect 33 0 25 7;
#P connect 35 0 34 0;
#P connect 36 0 34 1;
#P connect 37 0 34 2;
#P connect 38 0 34 3;
#P connect 39 0 34 4;
#P connect 40 0 34 5;
#P connect 41 0 34 6;
#P connect 42 0 34 7;
#P connect 44 0 43 0;
#P connect 45 0 43 1;
#P connect 46 0 43 2;
#P connect 47 0 43 3;
#P connect 48 0 43 4;
#P connect 49 0 43 5;
#P connect 70 0 71 0;
#P connect 77 0 76 0;
#P connect 78 0 76 0;
#P connect 71 0 76 0;
#P connect 76 0 79 0;
#P connect 88 0 79 0;
#P connect 89 0 79 0;
#P connect 90 0 79 0;
#P connect 91 0 79 0;
#P connect 79 0 1 0;
#P connect 50 0 43 6;
#P connect 51 0 43 7;
#P connect 43 0 70 1;
#P connect 53 0 52 0;
#P connect 52 0 70 2;
#P connect 54 0 52 1;
#P connect 61 0 70 3;
#P connect 55 0 52 2;
#P fasten 73 0 77 0 379 193 828 193;
#P connect 56 0 52 3;
#P connect 77 1 76 1;
#P connect 57 0 52 4;
#P connect 58 0 52 5;
#P connect 59 0 52 6;
#P connect 60 0 52 7;
#P connect 80 0 62 0;
#P connect 62 0 61 0;
#P fasten 75 0 78 0 112 215 920 215;
#P connect 81 0 63 0;
#P connect 63 0 61 1;
#P connect 78 1 76 2;
#P connect 82 0 64 0;
#P connect 64 0 61 2;
#P connect 83 0 65 0;
#P connect 65 0 61 3;
#P connect 84 0 66 0;
#P connect 66 0 61 4;
#P connect 85 0 67 0;
#P connect 67 0 61 5;
#P connect 86 0 68 0;
#P connect 68 0 61 6;
#P connect 87 0 69 0;
#P connect 69 0 61 7;
#P pop;
#P newobj 105 283 119 196617 p DO;
#P newex 38 441 42 196617 s speed;
#P message 55 373 26 196617 100;
#P message 47 353 20 196617 10;
#N vpatcher 619 529 968 745;
#P toggle 242 144 15 0;
#P toggle 276 144 15 0;
#P window setfont “Sans Serif” 9.;
#P window linecount 1;
#P newex 38 112 252 196617 ibitbreaker8;
#P number 38 84 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P newex 38 61 40 196617 change;
#P inlet 38 40 15 0;
#P connect 0 0 1 0;
#P connect 1 0 2 0;
#P connect 2 0 3 0;
#P connect 3 6 5 0;
#P connect 3 7 4 0;
#P pop 1;
#P newobj 157 157 38 196617 p dirIn;
#N vpatcher 617 44 982 504;
#P window setfont “Sans Serif” 9.;
#P window linecount 1;
#P newex 36 156 94 196617 vexpr $f1/65535.;
#P user multiSlider 36 195 86 104 0. 1. 16 2681 15 0 0 2 0 0 0;
#M frgb 0 0 0;
#M brgb 255 255 255;
#M rgb2 127 127 127;
#M rgb3 0 0 0;
#M rgb4 37 52 91;
#M rgb5 74 105 182;
#M rgb6 112 158 18;
#M rgb7 149 211 110;
#M rgb8 187 9 201;
#M rgb9 224 62 37;
#M rgb10 7 114 128;
#P inlet 36 41 15 0;
#P comment 56 42 214 196617 input: list of (usually) 16 analog input values;
#P window linecount 3;
#P comment 73 74 256 196617 the format of the analog input samples is 16bit integer (even when using the 12bit version of the gluion) , so values range from 0 to 65535;
#P window linecount 1;
#P comment 137 156 131 196617 normalizing samples;
#P window linecount 4;
#P comment 36 317 100 196617 Q: why are these signals so noisy and why do some seem to follow others?;
#P window linecount 5;
#P comment 36 375 100 196617 A: one likely cause are open inputs – grounding unused ones is always a good idea;
#P connect 5 0 7 0;
#P connect 7 0 6 0;
#P pop 1;
#P newobj 101 157 45 196617 p analog;
#P button 250 427 15 0;
#N vpatcher 404 153 945 640;
#P window setfont “Sans Serif” 9.;
#P newex 130 271 85 196617 prepend /PWM/0;
#P inlet 130 35 15 0;
#P button 314 65 15 0;
#P inlet 314 35 15 0;
#P outlet 217 406 15 0;
#P inlet 29 35 15 0;
#P message 217 140 89 196617 /shotsPWM -1 -1;
#P message 314 139 131 196617 /periodPWM 65535 65535;
#P newex 29 271 85 196617 prepend /PWM/1;
#P comment 318 163 100 196617 outputs can be addressed all at once using a list….;
#P comment 332 100 100 196617 period of 65535 cycles = 305Hz @ 16bit resolution;
#P comment 244 124 62 196617 enable PWM;
#P comment 290 274 100 196617 …or individually by adding their indices to the address;
#P connect 7 0 4 0;
#P connect 11 0 12 0;
#P connect 10 0 6 0;
#P connect 5 0 8 0;
#P connect 6 0 8 0;
#P connect 12 0 8 0;
#P connect 4 0 8 0;
#P connect 9 0 10 0;
#P connect 10 0 5 0;
#P pop;
#P newobj 148 453 112 196617 p PWM;
#P message 65 393 33 196617 1000;
#P button 25 353 15 0;
#P number 25 419 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P message 25 462 55 196617 /speed $1;
#P newex 105 492 27 196617 t b l;
#P newex 122 521 89 196617 OpenSoundControl;
#P newex 122 547 154 196617 otudp write 192.168.5.77 1024;
#P toggle 62 49 15 0;
#P newex 62 68 27 196617 gate;
#P newex 101 120 123 196617 OSC-route /analog /dirIn;
#P newex 62 88 88 196617 OpenSoundControl;
#P newex 79 48 83 196617 otudp read 1024;
#P window linecount 3;
#P comment 112 215 100 196617 first eight outputs only , the rest’s inside the patcher;
#P window linecount 1;
#P comment 268 427 53 196617 init PWM;
#P window linecount 3;
#P comment 400 482 100 196617 DMX output 3 , DMX address offset 0 , 6 lamps all same value;
#P connect 20 0 12 0;
#P connect 19 0 12 0;
#P connect 14 0 12 0;
#P connect 13 0 12 0;
#P connect 12 0 11 0;
#P connect 12 0 21 0;
#P connect 7 0 6 0;
#P connect 6 0 4 0;
#P connect 3 0 6 1;
#P connect 4 1 5 0;
#P connect 5 0 17 0;
#P connect 23 0 22 0;
#P connect 22 0 10 0;
#P fasten 15 0 10 0 153 477 110 477;
#P fasten 35 0 10 0 397 485 110 485;
#P fasten 11 0 10 0 30 484 110 484;
#P connect 24 0 22 1;
#P connect 10 0 9 0;
#P connect 10 1 9 0;
#P connect 9 0 8 0;
#P connect 25 0 22 2;
#P connect 32 0 31 0;
#P connect 31 0 15 0;
#P connect 26 0 22 3;
#P connect 5 1 18 0;
#P connect 27 0 22 4;
#P connect 28 0 22 5;
#P connect 29 0 22 6;
#P connect 34 0 33 0;
#P connect 33 0 15 1;
#P connect 30 0 22 7;
#P connect 16 0 15 2;
#P connect 36 0 35 0;
#P pop;

#90586

You must be logged in to reply to this topic.