coll, beats, samples, thoughts

Apr 27, 2006 at 11:11pm

coll, beats, samples, thoughts

‘ello all,
you might remember from last summer i was on here talking about randomly generated beats, you guys were very helpfull :) though i kinda gave up on it after a bit of sucses due to school. well im onto another project now. this time im trying to make a Wav editor that will alow the user to create new drum patterns out of drum samples they load in. so far i’ve used a Groove~ in conjunction with Info~ and Waveform~. i now have the editing capability i wan’t but still have a long was to go. first problem is i need to be able to enter in sample legth commands on the fly without worrying about when i enter ( click mouse) the sample legth command. im thinking that i can do somthing with Coll but…..im drawing a blank. me and Zoid tried using a IF Than statment but its to slow and in acurate. im thinking i need to buffer the commands somhow so that they only come out on beat. also if any of you have any good refrences on this kind of thing please feel free to share. i’d be most greatfull.
here’s the patch as of yet

thanks,
joel

max v2;
#N vpatcher 28 124 1011 908;
#P origin 0 255;
#P window setfont “Sans Serif” 9.;
#P flonum 473 238 35 9 0 0 0 139 0 0 0 221 221 221 222 222 222 0 0 0;
#P newex 107 463 53 9109513 probgate;
#P toggle 495 274 15 0;
#P message 497 306 16 9109513 0.5;
#P message 483 302 14 9109513 1;
#P newex 484 342 25 9109513 sig~;
#P message 464 623 42 9109513 0 -1 0 -1;
#P flonum 68 543 35 9 0 0 0 139 0 0 0 221 221 221 222 222 222 0 0 0;
#P message 213 515 53 9109513 mode none;
#P message 213 600 50 9109513 mode loop;
#P message 213 579 52 9109513 mode draw;
#P message 213 557 54 9109513 mode move;
#P message 213 537 58 9109513 mode select;
#P message 8 543 54 9109513 set bpm $1;
#P message 5 599 43 9109513 unit bpm;
#P message 5 579 54 9109513 unit sample;
#P message 5 639 50 9109513 unit phase;
#P message 5 619 38 9109513 unit ms;
#P message 89 567 28 9109513 undo;
#P message 4 752 44 9109513 snap zero;
#P message 4 734 44 9109513 snap tick;
#P message 4 716 44 9109513 snap grid;
#P message 4 698 50 9109513 snap none;
#P message 89 586 51 9109513 set Grimly;
#P user waveform~ 88 645 389 82 139 9;
#W mode select;
#W mouseoutput continuous;
#W unit bpm;
#W grid 533559.0625;
#W ticks 0;
#W labels 1;
#W vlabels 0;
#W vticks 1;
#W bpm 120. 4.;
#W frgb 33 0 0;
#W brgb 60 178 173;
#W rgb2 0 95 255;
#W rgb3 0 0 0;
#W rgb4 0 0 0;
#W rgb5 190 137 255;
#W rgb6 100 100 100;
#W rgb7 100 100 100;
#P comment 490 601 100 9109513 or here……;
#P newex 433 577 35 9109513 sig~ 1;
#P newex 297 596 27 9109513 + 1;
#P user umenu 297 573 100 9109543 1 64 589 1;
#X add Groove~;
#X add play~;
#P newex 483 629 61 9109513 selector~ 2;
#P message 412 577 17 9109513 0.;
#P newex 412 604 65 9109513 Groove~ this;
#P hidden message 76 -87 14 9109513 1;
#P hidden newex 76 -109 45 9109513 loadbang;
#P newex 469 480 118 9109513 if $f1 >= 0.99 then bang;
#P button 469 500 15 0;
#P user ezdac~ 701 670 745 703 0;
#P message 27 304 50 9109513 144;
#P newex 27 263 27 9109513 / 16;
#P newex 27 283 63 9109513 prepend set;
#P message 354 304 50 9109513 864;
#P newex 354 265 27 9109513 + 0;
#P newex 354 284 63 9109513 prepend set;
#P message 421 285 14 9109513 0;
#P newex 289 263 27 9109513 + 0;
#P message 289 304 50 9109513 720;
#P newex 289 283 63 9109513 prepend set;
#P message 92 304 50 9109513 288;
#P newex 92 283 63 9109513 prepend set;
#P newex 92 263 27 9109513 + 0;
#P message 621 278 50 9109513 36;
#P newex 620 238 27 9109513 / 64;
#P newex 621 258 63 9109513 prepend set;
#P message 832 278 50 9109513 1157;
#P newex 817 239 27 9109513 / 2;
#P newex 815 258 63 9109513 prepend set;
#P message 605 260 14 9109513 0;
#P newex 752 238 27 9109513 / 4;
#P newex 157 263 27 9109513 + 0;
#P message 157 304 50 9109513 432;
#P message 754 278 50 9109513 578;
#P newex 157 283 65 9109513 prepend set;
#P newex 751 258 63 9109513 prepend set;
#P message 689 278 50 9109513 72;
#P newex 686 258 63 9109513 prepend set;
#P newex 685 238 27 9109513 / 32;
#P newex 224 283 63 9109513 prepend set;
#P message 224 304 26 9109513 576;
#P newex 225 262 27 9109513 + 0;
#P flonum 349 117 86 9 0 0 0 139 0 0 0 221 221 221 222 222 222 0 0 0;
#P message 548 254 14 9109513 0;
#P message 39 128 53 9109513 loop $1;
#P toggle 38 108 15 0;
#P message 397 401 26 9109513 stop;
#P message 320 401 76 9109513 startwindow;
#P hidden newex 435 448 40 9109513 dac~;
#P newex 145 67 136 9109513 buffer~ Grimly;
#P message 145 48 80 9109513 replace;
#P flonum 589 480 58 9 0 0 0 139 0 0 0 221 221 221 222 222 222 0 0 0;
#P newex 589 446 63 9109513 snapshot~ 5;
#P newex 457 416 115 9109513 Groove~ Grimly;
#P newex 271 88 105 9109513 info~ Grimly;
#P comment 690 208 100 9109513 endloop times;
#P comment 157 228 100 9109513 startloop times;
#P user panel 18 203 434 152;
#X brgb 0 189 214;
#X frgb 0 0 0;
#X border 1;
#X rounded 0;
#X shadow 0;
#X done;
#P user panel 586 178 309 169;
#X brgb 252 255 207;
#X frgb 0 0 0;
#X border 1;
#X rounded 0;
#X shadow 0;
#X done;
#P comment 7 425 100 9109513 open Probgate and enter tables b4 it can work ( only hit the top row) —>;
#P comment 30 31 100 9109513 Load a nice even drum sample or it wont work;
#P comment 363 483 100 9109513 this is the IF Then statment;
#P comment 4 487 100 9109513 this object sucks anyway lol;
#P user panel 6 410 183 124;
#X brgb 255 125 125;
#X frgb 0 0 0;
#X border 1;
#X rounded 0;
#X shadow 0;
#X done;
#P comment 472 209 100 9109513 doesn’t work very well at higher speeds;
#P connect 84 0 78 0;
#P hidden fasten 22 0 53 0 354 197 32 197;
#P connect 53 0 52 0;
#P connect 52 0 54 0;
#P fasten 19 0 20 0 44 127;
#P hidden connect 58 0 59 0;
#P connect 68 0 67 0;
#P hidden connect 72 0 67 0;
#P hidden connect 71 0 67 0;
#P hidden connect 70 0 67 0;
#P hidden connect 69 0 67 0;
#P connect 73 0 67 0;
#P hidden connect 75 0 67 0;
#P hidden connect 74 0 67 0;
#P hidden connect 77 0 67 0;
#P hidden connect 76 0 67 0;
#P hidden connect 78 0 67 0;
#P hidden connect 82 0 67 0;
#P hidden connect 81 0 67 0;
#P hidden connect 80 0 67 0;
#P hidden connect 79 0 67 0;
#P hidden connect 83 0 67 0;
#P hidden connect 15 1 68 0;
#P connect 53 0 42 0;
#P hidden fasten 22 0 42 0 354 197 97 197;
#P connect 42 0 43 0;
#P connect 43 0 44 0;
#P hidden connect 56 0 90 0;
#P connect 53 0 42 1;
#P connect 14 0 15 0;
#P hidden fasten 22 0 33 0 354 197 162 197;
#P connect 42 0 33 0;
#P connect 33 0 30 0;
#P connect 30 0 32 0;
#P connect 53 0 33 1;
#P connect 23 0 25 0;
#P hidden connect 90 3 24 0;
#P connect 25 0 24 0;
#P hidden fasten 22 0 23 0 354 197 230 197;
#P connect 33 0 23 0;
#P connect 53 0 23 1;
#P connect 15 1 10 0;
#P hidden connect 32 0 67 2;
#P hidden connect 46 0 67 2;
#P hidden connect 54 0 67 2;
#P hidden connect 24 0 67 2;
#P hidden connect 44 0 67 2;
#P hidden connect 51 0 67 2;
#P hidden fasten 22 0 47 0 354 197 294 197;
#P connect 23 0 47 0;
#P connect 47 0 45 0;
#P connect 45 0 46 0;
#P connect 63 0 64 0;
#P connect 53 0 47 1;
#P connect 10 6 22 0;
#P hidden fasten 22 0 50 0 354 198 359 198;
#P connect 47 0 50 0;
#P connect 50 0 49 0;
#P connect 49 0 51 0;
#P hidden connect 31 0 67 3;
#P hidden connect 41 0 67 3;
#P hidden connect 28 0 67 3;
#P hidden connect 38 0 67 3;
#P connect 53 0 50 1;
#P connect 56 0 61 0;
#P connect 65 0 60 0;
#P connect 61 0 60 0;
#P hidden connect 11 0 16 0;
#P hidden connect 17 0 16 0;
#P hidden connect 18 0 16 0;
#P connect 86 0 11 0;
#P hidden fasten 20 0 11 0 44 219 462 219;
#P connect 21 0 85 0;
#P connect 85 0 67 4;
#P hidden connect 11 0 16 1;
#P fasten 12 0 57 0 594 471 474 471;
#P connect 57 0 56 0;
#P fasten 64 0 62 0 302 631 488 631;
#P connect 91 0 86 0;
#P connect 89 0 86 0;
#P connect 88 0 86 0;
#P connect 87 0 86 0;
#P fasten 60 0 62 1 417 627 513 627;
#P hidden connect 21 0 11 1;
#P hidden connect 48 0 11 1;
#P fasten 67 2 11 1 243 393 514 393;
#P hidden fasten 24 0 11 1 229 382 514 382;
#P hidden fasten 32 0 11 1 162 382 514 382;
#P hidden fasten 44 0 11 1 97 382 514 382;
#P hidden fasten 46 0 11 1 294 382 514 382;
#P hidden fasten 51 0 11 1 359 382 514 382;
#P hidden fasten 54 0 11 1 32 382 514 382;
#P hidden connect 90 0 21 0;
#P hidden connect 35 0 11 2;
#P fasten 67 3 11 2 318 392 566 392;
#P hidden fasten 28 0 11 2 694 369 566 369;
#P hidden fasten 31 0 11 2 759 369 566 369;
#P hidden fasten 38 0 11 2 837 369 566 369;
#P hidden fasten 41 0 11 2 626 369 566 369;
#P hidden connect 21 0 11 2;
#P fasten 11 1 12 0 567 440 594 440;
#P connect 12 0 13 0;
#P hidden fasten 22 0 40 0 354 35 625 35;
#P connect 40 0 39 0;
#P connect 39 0 41 0;
#P hidden fasten 22 0 26 0 354 35 690 35;
#P connect 26 0 27 0;
#P connect 27 0 28 0;
#P fasten 62 0 55 0 488 661 706 661;
#P fasten 62 0 55 1 488 661 740 661;
#P connect 34 0 29 0;
#P hidden fasten 22 0 34 0 354 35 757 35;
#P hidden connect 90 1 31 0;
#P connect 29 0 31 0;
#P connect 37 0 36 0;
#P hidden fasten 22 0 37 0 354 35 822 35;
#P hidden connect 90 2 38 0;
#P connect 36 0 38 0;
#P pop;

#25686
Apr 30, 2006 at 4:57pm

couldn’t get the probgate object going. is this of any use? it syncs up two files automatically

max v2;
#N vpatcher 104 47 1002 664;
#P window setfont “Sans Serif” 9.;
#P comment 368 143 45 196617 ADJUST PITCH>;
#P comment 422 123 45 196617 MASTER;
#P newex 113 46 45 196617 loadbang;
#P flonum 436 229 86 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P newex 436 209 27 196617 / 1.;
#P button 403 152 15 0;
#P toggle 226 238 15 0;
#P newex 465 185 105 196617 info~ x;
#P newex 219 210 27 196617 * 1.;
#P newex 358 185 105 196617 info~ y;
#P message 226 260 42 196617 loop $1;
#P newex 436 248 40 196617 sig~ 1.;
#P newex 219 286 55 196617 groove~ y;
#P message 316 143 42 196617 replace;
#P newex 316 162 52 196617 buffer~ y;
#P user ezdac~ 183 318 227 351 0;
#P message 113 88 35 196617 loop 1;
#P newex 183 87 40 196617 sig~ 1.;
#P newex 228 129 63 196617 snapshot~ 1;
#P newex 183 106 55 196617 groove~ x;
#P message 423 139 42 196617 replace;
#P newex 423 158 52 196617 buffer~ x;
#P comment 314 125 45 196617 SLAVE;
#P connect 20 0 6 0;
#P connect 5 0 3 0;
#P fasten 6 0 3 0 118 105 188 105;
#P connect 3 0 7 0;
#P connect 10 0 7 1;
#P fasten 4 0 14 0 233 178 224 178;
#P fasten 11 0 10 0 441 285 224 285;
#P connect 12 0 10 0;
#P fasten 14 0 10 0 224 258 224 258;
#P connect 16 0 12 0;
#P connect 3 1 4 0;
#P fasten 13 6 14 1 441 206 241 206;
#P connect 9 0 8 0;
#P fasten 17 0 13 0 408 183 363 183;
#P connect 8 1 13 0;
#P connect 2 0 1 0;
#P connect 13 6 18 0;
#P connect 18 0 19 0;
#P connect 19 0 11 0;
#P fasten 15 6 18 1 548 205 458 205;
#P connect 1 1 15 0;
#P fasten 17 0 15 0 408 182 470 182;
#P pop;

#75885

You must be logged in to reply to this topic.