Forums > MaxMSP

problem with little sig~ driven sequencer

May 27, 2008 | 8:56 pm

Hi all, i was messing around with little signal driven step sequencer (with start-stop quantized to 1 bar to master phasor~) but i have a stupid problem i can’t actually fix..i’m still in max 4


May 28, 2008 | 6:16 am

anyone?? :(


May 28, 2008 | 11:07 am

would try to help, but the zip file contains a file which i cant open with max 4.63. i’ve also tried opening in text editor and the code looks all messed up…

j


May 28, 2008 | 2:18 pm

here it is
best
michele

max v2;
#N vpatcher 166 118 766 518;
#P window setfont "Sans Serif" 9.;
#P hidden message 272 52 33 196617 start;
#P hidden newex 227 53 44 196617 del 200;
#P hidden message 212 54 14 196617 1;
#P hidden newex 210 31 48 196617 loadbang;
#N vpreset 1;
#X append 1 1 3 77 154 multiSlider list 52 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 ; 8 129 109;
#X append 1 1 number int 64 ; 10 92 108 ubumenu int 1 ; 14 45 57 number int 87 ;;
#P preset 154 38 47 27;
#P user ezdac~ 307 35 351 68 0;
#P number 57 302 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#N vpatcher 20 74 620 474;
#P outlet 50 157 15 0;
#P window setfont "Sans Serif" 9.;
#P newex 50 73 32 196617 * 16;
#P newex 50 94 49 196617 !/ 1000.;
#P newex 50 50 96 196617 expr (60000./$i1);
#P newex 50 125 46 196617 phasor~;
#P inlet 50 30 15 0;
#P connect 0 0 2 0;
#P connect 2 0 4 0;
#P connect 4 0 3 0;
#P connect 3 0 1 0;
#P connect 1 0 5 0;
#P pop;
#P newobj 57 70 30 196617 p;
#P number 57 45 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P comment 95 45 23 196617 bpm;
#P user multiSlider 154 180 249 11 0. 1. 1 2680 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 toggle 91 93 15 0;
#P user ubumenu 108 92 31 196617 0 1 1 0;
#X add 4;
#X add 8;
#X add 16;
#X add 32;
#X prefix_set 0 0 0;
#X pattrmode 1;
#N vpatcher 818 387 1219 773;
#P window setfont "Sans Serif" 9.;
#P window linecount 0;
#P newex 74 172 27 196617 *~;
#P button 130 170 15 0;
#N comlet scaled sig ramp;
#P outlet 75 313 15 0;
#P newex 130 110 27 196617 t f f;
#N vpatcher 474 411 697 766;
#P window setfont "Sans Serif" 9.;
#P window linecount 0;
#P newex 97 172 29 196617 * 1.;
#P newex 75 202 30 196617 t 1 f;
#P newex 28 255 31 196617 t 0 b;
#P newex 28 234 29 196617 gate;
#P inlet 111 47 15 0;
#P newex 49 280 27 196617 f;
#P outlet 49 307 15 0;
#P button 37 206 15 0;
#P newex 37 177 36 196617 edge~;
#P newex 37 151 45 196617 >~ 0.01;
#P newex 52 68 48 196617 loadbang;
#P inlet 37 46 15 0;
#P window linecount 1;
#P message 52 102 52 196617 sync lock;
#P newex 37 125 59 196617 rate~ 0.25;
#P fasten 11 0 10 0 33 275 24 275 24 227 33 227;
#P fasten 12 0 10 0 80 227 33 227;
#P connect 10 0 11 0;
#P connect 2 0 0 0;
#P connect 1 0 0 0;
#P connect 0 0 4 0;
#P connect 4 0 5 0;
#P connect 5 0 6 0;
#P connect 6 0 10 1;
#P connect 11 1 8 0;
#P connect 8 0 7 0;
#P connect 3 0 1 0;
#P fasten 12 1 8 1 100 275 71 275;
#P connect 13 0 12 0;
#P fasten 9 0 13 0 116 155 102 155;
#P pop;
#P newobj 130 83 55 196617 p quantize;
#P message 129 189 41 196617 goto 0.;
#P window linecount 1;
#P newex 130 138 41 196617 sel 1 0;
#N comlet on-off;
#P inlet 175 38 15 0;
#P window linecount 0;
#P newex 269 67 29 196617 t b f;
#P newex 228 102 27 196617 f;
#P newex 228 129 29 196617 * 1.;
#P window linecount 1;
#P newex 228 67 34 196617 / 16.;
#N comlet beat n.;
#P inlet 228 38 15 0;
#P newex 24 126 48 196617 loadbang;
#N comlet float ramp;
#P outlet 160 314 15 0;
#P newex 315 67 34 196617 / 64.;
#P newex 74 245 35 196617 *~ 1.;
#P newex 74 211 47 196617 rate~ 1.;
#P message 24 151 52 196617 sync lock;
#P user number~ 131 286 170 301 9 3 3 2 0. 0. 0 0. 25 0. 0 0 0 221 221 221 222 222 222 0 0 0;
#N comlet step length 1 64;
#P inlet 315 38 15 0;
#N comlet phasor;
#P inlet 74 38 15 0;
#P connect 8 0 3 0;
#P connect 0 0 21 0;
#P connect 3 0 4 0;
#P connect 16 0 4 0;
#P connect 21 0 4 0;
#P connect 4 0 5 0;
#P fasten 5 0 19 0 80 261;
#P connect 18 0 21 1;
#P fasten 6 0 5 1 320 244 104 244;
#P fasten 11 0 4 1 233 207 116 207;
#P connect 20 0 16 0;
#P connect 0 0 17 0;
#P connect 17 0 18 0;
#P connect 18 1 15 0;
#P connect 15 1 20 0;
#P connect 15 0 20 0;
#P connect 5 0 2 0;
#P connect 2 1 7 0;
#P connect 14 0 17 1;
#P connect 9 0 10 0;
#P connect 13 0 12 0;
#P connect 10 0 12 0;
#P connect 12 0 11 0;
#P connect 13 1 11 1;
#P connect 6 0 13 0;
#P connect 1 0 6 0;
#P pop;
#P newobj 57 209 47 196617 p scale~;
#P number 109 129 35 9 1 64 67 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P comment 110 115 29 196617 steps;
#P comment 108 77 34 196617 n beat;
#N vpatcher 158 280 426 502;
#P window setfont "Sans Serif" 9.;
#P message 160 61 38 196617 play 1;
#P window linecount 1;
#P newex 115 34 48 196617 loadbang;
#P message 115 59 34 196617 seq 1;
#P outlet 10 145 15 0;
#N comlet phasor;
#P inlet 10 35 15 0;
#N comlet seq;
#P inlet 44 36 15 0;
#P window linecount 0;
#P newex 10 108 40 196617 seq~;
#P connect 1 0 0 0;
#P connect 2 0 0 0;
#P connect 4 0 0 0;
#P connect 6 0 0 0;
#P connect 0 0 3 0;
#P connect 5 0 4 0;
#P connect 5 0 6 0;
#P pop;
#P newobj 57 264 33 196617 p seq;
#N vpatcher 494 218 688 618;
#P window setfont "Sans Serif" 9.;
#P window linecount 0;
#P message 109 248 14 196617 1;
#P message 22 245 14 196617 1;
#P window linecount 1;
#P message 109 292 48 196617 erase $1;
#P newex 42 244 34 196617 / 32.;
#P message 22 293 68 196617 add $1 $2 $3;
#P outlet 22 333 15 0;
#P newex 22 269 51 196617 pack i f i;
#P newex 22 119 51 196617 t b b i;
#P message 75 126 14 196617 0;
#P button 75 81 15 0;
#N counter;
#X flags 0 0;
#P newobj 42 158 66 196617 counter;
#P newex 22 82 25 196617 iter;
#P inlet 22 40 15 0;
#P connect 0 0 1 0;
#P connect 1 0 5 0;
#P connect 5 0 11 0;
#P connect 11 0 6 0;
#P connect 6 0 8 0;
#P fasten 10 0 7 0 114 321 27 321;
#P connect 8 0 7 0;
#P connect 5 1 2 0;
#P connect 2 0 9 0;
#P connect 9 0 6 1;
#P connect 5 2 6 2;
#P fasten 4 0 2 2 80 149 75 149;
#P fasten 0 0 3 0 27 69 80 69;
#P connect 3 0 4 0;
#P fasten 3 0 12 0 80 106 114 106;
#P connect 12 0 10 0;
#P pop;
#P newobj 80 240 42 196617 p toseq;
#P user multiSlider 154 77 249 95 0. 127. 32 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 comment 90 77 17 196617 on;
#P window setfont "Sans Serif" 12.;
#P window linecount 2;
#P comment 406 133 158 196620 problem: when start it miss the first step;
#P window linecount 1;
#P comment 107 208 309 196620 < see here for ramp scaling and on-off quantize;
#P hidden connect 18 0 14 0;
#P connect 14 0 15 0;
#P connect 15 0 9 0;
#P connect 9 0 5 0;
#P connect 5 0 16 0;
#P fasten 11 0 9 1 96 110 74 110;
#P hidden fasten 3 0 4 0 159 174 122 174 122 234 85 234;
#P connect 4 0 5 1;
#P fasten 10 1 9 2 123 112 86 112;
#P fasten 8 0 9 3 114 149 98 149;
#P hidden connect 18 0 10 0;
#P hidden connect 18 0 8 0;
#P hidden connect 20 0 18 0;
#P hidden connect 18 0 3 0;
#P hidden fasten 9 1 12 0 99 230 134 230 134 179 159 179;
#P hidden connect 19 0 20 0;
#P hidden connect 19 0 21 0;
#P hidden connect 21 0 22 0;
#P hidden connect 22 0 17 0;
#P pop;


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