We've sent a verification link by email
Didn't receive the email? Check your Spam folder, it may have been caught by a filter. If you still don't see it, you can resend the verification email.
Started January 29th, 2007 · 5 replies · Latest reply by Halleck 17 years, 9 months ago
Hi, i'm new , and i come from italy, so excuse me for my poor english, today i've made patch for rearranging grooves and bass or drum loops ( like the amen), i'm just trying it and i hope you'd like. it works like a step sequencer in wich every step select a slice of the loop, note that you have to cut very well your sample in order to avoid clicks wheng playng from one slice to another.
it's very simple, and i'm thinking on adding 2 fx sends for every step and a picth. i've tryed to avoid clicks using msp objects like slide~ or line~ but they change the timbre of the sample, if you've got any suggestions i'll be very happy !!
fell free to mod or do anything you want with this!
Galileo
just copy and open as text in Max, it should work on both windows and mac ( i used windows)
thats the patch:
max v2;
#N vpatcher -13 63 1226 712;
#P origin -39 268;
#P setbglock 1;
#P window setfont "Sans Serif" 9.;
#P hidden message 157 499 55 9109513 set random;
#P hidden message 93 499 66 9109513 set retrograde;
#P hidden newex 103 463 57 9109513 select 1 2 3;
#P window setfont "Sans Serif" 12.;
#P message 14 367 88 9109516 random;
#P window setfont "Sans Serif" 9.;
#P hidden message 27 498 55 9109513 set straight;
#N vpreset 3;
#X append 1 2 16 31 182 umenu int 3 \; 19 31 288 flonum float 1. \; 29 81 8 gain~ list 100 10. \; 32 31 372 flonum float 240. \; 36 231 13 toggle int 0 \; 37 32 573 ubumenu;
#X append 1 2 int 2 \; 38 159 183 multiSlider list 1 2 3 4 5 6 7 8 \; 53 31 445 number int 4 \; 54 384 968 number int 0 \;;
#X append 2 2 16 31 182 umenu int 3 \; 19 31 288 flonum float 1. \; 29 81 8 gain~ list 100 10. \; 32 31 372 flonum float 240. \; 36 231 13 toggle int 0 \; 37 32 573 ubumenu;
#X append 2 2 int 2 \; 38 159 183 multiSlider list 8 7 6 5 4 3 2 1 \; 53 31 445 number int 4 \; 54 384 968 number int 0 \;;
#X append 3 2 16 31 182 umenu int 3 \; 19 31 288 flonum float 1. \; 29 81 8 gain~ list 100 10. \; 32 31 372 flonum float 240. \; 36 231 13 toggle int 0 \; 37 32 573 ubumenu;
#X append 3 2 int 2 \; 38 159 183 multiSlider list 2 7 6 8 4 5 2 1 \; 53 31 445 number int 4 \; 54 384 968 number int 0 \;;
#P preset 15 336 40 29;
#P hidden message 1210 407 23 9109513 100;
#P hidden message 1193 378 14 9109513 0;
#P hidden newex 1193 320 45 9109513 loadbang;
#P window setfont "Sans Serif" 24.;
#P number 968 384 74 24 0 0 0 139 0 0 0 221 221 221 222 222 222 0 0 0;
#P window setfont "Sans Serif" 9.;
#P number 445 31 35 9 0 0 1 139 0 0 0 221 221 221 222 222 222 0 0 0;
#P hidden newex 1276 113 37 9109513 r beats;
#P hidden newex 1242 112 32 9109513 r bpm;
#P hidden newex 1065 96 39 9109513 s beats;
#P hidden newex 1056 116 34 9109513 s bpm;
#P hidden newex 1242 84 44 9109513 s s_max;
#P hidden newex 1175 85 41 9109513 s s_min;
#P hidden newex 1016 182 43 9109513 s to_coll;
#P hidden newex 1114 87 43 9109513 r s_start;
#P hidden newex 1115 108 39 9109513 r s_end;
#P hidden newex 50 261 52 9109513 r s_lenght;
#P hidden newex 1117 150 49 9109513 s t_lenght;
#P hidden newex 13 262 35 9109513 s start;
#P hidden newex 1072 319 46 9109513 s mslider;
#P hidden newex 13 316 40 9109513 s metro;
#P user multiSlider 183 159 775 256 1. 8. 8 2921 15 0 0 6 4 5 0;
#M frgb 114 253 255;
#M brgb 0 0 0;
#M rgb2 127 127 127;
#M rgb3 0 0 0;
#M rgb4 115 151 199;
#M rgb5 61 116 153;
#M rgb6 0 110 80;
#M rgb7 149 211 110;
#M rgb8 187 9 201;
#M rgb9 187 116 27;
#M rgb10 7 114 128;
#P user ubumenu 573 32 100 9109513 0 1 1 0;
#X add quantize slice;
#X add 1/4;
#X add 1/8;
#X add 1/16;
#X add 1/32;
#X add 1/64;
#X add 1/128;
#X prefix_set 0 0 <none> 0;
#P toggle 13 231 23 0;
#P hidden newex 13 289 32 9109513 metro;
#P hidden message 1042 134 41 9109513 grid \$1;
#P hidden newex 1033 157 63 9109513 prepend unit;
#P flonum 372 31 44 9 0 0 0 139 0 0 0 221 221 221 222 222 222 0 0 0;
#P user waveform~ 183 60 775 90 139 9;
#W mode none;
#W mouseoutput continuous;
#W unit bpm;
#W grid 1.;
#W ticks 8;
#W labels 1;
#W vlabels 1;
#W vticks 1;
#W voffset 0.07;
#W bpm 240. 4.;
#W frgb 0 0 0;
#W brgb 98 150 145;
#W rgb2 77 108 155;
#W rgb3 0 0 0;
#W rgb4 0 0 0;
#W rgb5 166 177 221;
#W rgb6 170 170 170;
#W rgb7 93 93 93;
#P user meter~ 109 212 170 381 100 0 168 0 104 104 104 255 153 0 255 0 0 217 217 0 153 186 0 12 3 3 3 3;
#P user gain~ 8 81 37 36 158 0 1.071519 7.94321 10.;
#P newex 62 119 29 9109513 dac~;
#P hidden newex 133 171 45 9109513 loadbang;
#P message 93 96 41 9109513 replace;
#P newex 93 119 59 9109513 buffer~ loop;
#P hidden message 133 147 41 9109513 set loop;
#P window linecount 3;
#P comment 93 54 59 9109513 ¥ read a sound file into buffer~;
#P window linecount 1;
#P message 88 161 27 9109513 stop;
#P message 21 161 65 9109513 startwindow;
#P comment 21 147 70 9109513 ¥ start audio.;
#P flonum 288 31 44 9 0 0 0 139 0 0 0 221 221 221 222 222 222 0 0 0;
#P comment 336 31 31 9109513 grid;
#P comment 254 31 31 9109513 unit;
#P user umenu 182 31 68 9109543 1 64 47 0;
#X add ms;
#X add samples;
#X add phase;
#X add bpm;
#N vpatcher 709 602 966 879;
#P window setfont "Sans Serif" 9.;
#P message 75 67 14 9109513 1;
#P newex 10 26 45 9109513 loadbang;
#P window linecount 1;
#P message 10 64 54 9109513 flags 1 0;
#P window linecount 0;
#P newex 96 86 41 9109513 r to_coll;
#P newex 179 149 47 9109513 r t_lenght;
#P newex 151 112 30 9109513 s coll;
#P newex 131 183 58 9109513 expr $f2/$i1;
#P button 131 144 15 0;
#N coll ;
#T flags 1 0;
#T 0 1;
#T 1 4;
#T 2 8;
#T 3 16;
#T 4 32;
#T 5 64;
#T 6 128;
#P newobj 96 111 53 9109513 coll;
#P newex 131 225 51 9109513 s s_lenght;
#P flonum 131 207 49 9 0 0 0 139 0 0 0 221 221 221 222 222 222 0 0 0;
#P comment 181 207 54 9109513 slice lenght;
#P connect 10 0 9 0;
#P connect 10 0 11 0;
#P connect 11 0 3 0;
#P connect 8 0 3 0;
#P connect 9 0 3 0;
#P fasten 3 0 4 0 101 141 136 141;
#P fasten 3 0 5 0 101 168 136 168;
#P connect 4 0 5 0;
#P connect 5 0 1 0;
#P connect 1 0 2 0;
#P fasten 3 0 6 0 101 134 156 134;
#P connect 7 0 5 1;
#P pop;
#P hidden newobj 1175 34 87 9109513 p slice_lenght_calc;
#N vpatcher 91 578 394 903;
#P window setfont "Sans Serif" 9.;
#P comment 127 240 66 9109513 start of slice;
#P newex 50 272 45 9109513 s s_start;
#P newex 191 213 41 9109513 s s_end;
#P newex 50 161 52 9109513 r s_lenght;
#P newex 154 72 52 9109513 r s_lenght;
#P newex 114 50 44 9109513 r mslider;
#P newex 191 189 38 9109513 pipe 10;
#P flonum 92 240 35 9 0 0 0 139 0 0 0 221 221 221 222 222 222 0 0 0;
#P newex 92 212 66 9109513 expr $f2 - $f1;
#P button 114 98 15 0;
#P flonum 114 164 40 9 0 0 0 139 0 0 0 221 221 221 222 222 222 0 0 0;
#P number 114 74 35 9 0 0 0 139 0 0 0 221 221 221 222 222 222 0 0 0;
#P newex 114 132 75 9109513 expr 0 + $f1*$i2;
#P comment 156 164 66 9109513 end of slice;
#N comlet max;
#P outlet 114 184 15 0;
#N comlet min;
#P outlet 92 260 15 0;
#P fasten 8 0 14 0 97 260 55 260;
#P fasten 6 0 7 0 119 117 97 117 97 208 97 208;
#P fasten 12 0 7 0 55 193 97 193;
#P connect 7 0 8 0;
#P connect 8 0 0 0;
#P connect 10 0 4 0;
#P connect 4 0 6 0;
#P fasten 11 0 3 0 159 124 119 124;
#P connect 6 0 3 0;
#P connect 3 0 5 0;
#P connect 5 0 1 0;
#P connect 5 0 7 1;
#P fasten 4 0 3 1 119 93 184 93;
#P fasten 5 0 9 0 119 183 196 183;
#P connect 9 0 13 0;
#P pop;
#P hidden newobj 1175 54 77 9109513 p slice_pos_calc;
#N vpatcher 495 44 773 346;
#P window setfont "Sans Serif" 9.;
#P newex 117 147 42 9109513 r s_max;
#P newex 77 147 39 9109513 r s_min;
#P newex 199 50 33 9109513 r start;
#P newex 199 75 41 9109513 select 1;
#P message 220 106 26 9109513 stop;
#P flonum 50 101 35 9 0 0 0 139 0 0 0 221 221 221 222 222 222 0 0 0;
#P newex 149 76 45 9109513 loadbang;
#P message 170 127 35 9109513 loop 1;
#P message 170 106 49 9109513 startloop;
#P newex 50 122 35 9109513 sig~ 1;
#P newex 51 201 62 9109513 groove~ loop;
#P outlet 51 225 15 0;
#P connect 6 0 2 0;
#P connect 2 0 1 0;
#P hidden fasten 4 0 1 0 175 190 56 190;
#P hidden fasten 3 0 1 0 175 170 56 170;
#P fasten 7 0 1 0 225 180 56 180;
#P connect 1 0 0 0;
#P connect 10 0 1 1;
#P connect 11 0 1 2;
#P fasten 8 0 3 0 204 100 175 100;
#P hidden fasten 5 0 4 0 154 100 175 100;
#P connect 9 0 8 0;
#P fasten 8 1 7 0 235 100 225 100;
#P pop;
#P newobj 8 51 42 9109513 p player;
#P comment 11 210 64 9109513 start/stop seq;
#N vpatcher 511 662 771 923;
#N comlet counter;
#P outlet 154 195 15 0;
#P window setfont "Sans Serif" 9.;
#P newex 194 50 33 9109513 r start;
#P newex 194 75 41 9109513 select 1;
#P number 152 164 35 9 0 0 0 139 0 0 0 221 221 221 222 222 222 0 0 0;
#P newex 152 75 38 9109513 r metro;
#P message 92 107 63 9109513 range 1 \$1;
#P newex 50 63 42 9109513 r coll;
#P number 50 106 46 9 0 0 0 139 0 0 0 221 221 221 222 222 222 0 0 0;
#P message 96 153 48 9109513 size \$1;
#P message 50 153 57 9109513 fetch \$1;
#N counter 1 8;
#X flags 0 0;
#P newobj 152 106 66 9109513 counter 1 8;
#N comlet range;
#P outlet 134 175 15 0;
#N comlet size;
#P outlet 96 175 15 0;
#N comlet fetch;
#P outlet 50 175 15 0;
#P connect 7 0 6 0;
#P fasten 3 0 4 0 157 149 55 149;
#P connect 4 0 0 0;
#P fasten 7 0 8 0 55 93 97 93;
#P fasten 6 0 5 0 55 137 101 137;
#P connect 5 0 1 0;
#P fasten 8 0 2 0 97 133 139 133;
#P connect 9 0 3 0;
#P connect 3 0 10 0;
#P connect 10 0 13 0;
#P connect 12 0 11 0;
#P connect 11 0 3 3;
#P fasten 7 0 3 4 55 100 213 100;
#P pop;
#P hidden newobj 1118 35 56 9109513 p seq;
#N vpatcher 15 55 275 208;
#P window setfont "Sans Serif" 9.;
#P message 190 69 44 9109513 setbpm;
#P button 50 52 15 0;
#P newex 65 50 78 9109513 pack bpm 120. 4;
#P inlet 50 32 15 0;
#P inlet 103 30 15 0;
#P inlet 141 30 15 0;
#P outlet 190 91 15 0;
#P outlet 65 74 15 0;
#P connect 4 0 6 0;
#P connect 6 0 5 0;
#P connect 5 0 0 0;
#P connect 3 0 5 1;
#P connect 2 0 5 2;
#P connect 7 0 1 0;
#P pop;
#P hidden newobj 1241 161 40 9109513 p bpm;
#N vpatcher 15 55 369 211;
#P window setfont "Sans Serif" 9.;
#P message 50 77 43 9109513 set bpm;
#P message 124 77 31 9109513 set 4;
#P message 93 77 31 9109513 set 1;
#P newex 69 50 45 9109513 loadbang;
#P message 155 77 43 9109513 set 240;
#P outlet 50 99 15 0;
#P outlet 93 99 15 0;
#P outlet 155 99 15 0;
#N comlet beats;
#P outlet 124 99 15 0;
#P hidden fasten 5 0 8 0 74 72 55 72;
#P connect 8 0 3 0;
#P hidden fasten 5 0 6 0 74 72 98 72;
#P connect 6 0 2 0;
#P hidden fasten 5 0 7 0 74 72 129 72;
#P connect 7 0 0 0;
#P hidden fasten 5 0 4 0 74 72 160 72;
#P connect 4 0 1 0;
#P pop;
#P hidden newobj 1173 109 66 9109513 p defaults;
#P comment 416 31 29 9109513 bpm;
#P comment 480 31 35 9109513 beats;
#P user panel 9 143 123 43;
#X brgb 255 255 255;
#X frgb 100 202 30;
#X border 2;
#X rounded 0;
#X shadow 0;
#X done;
#P window linecount 2;
#P comment 13 387 156 9109513 Grove rearranger Andrea Biagioli 2007;
#B color 5;
#P window linecount 1;
#P comment 14 316 100 9109513 three simple presets!;
#P user panel 568 27 397 128;
#X brgb 216 181 206;
#X frgb 255 255 255;
#X border 2;
#X rounded 0;
#X shadow 0;
#X done;
#P background;
#P user panel 177 27 393 128;
#X brgb 216 181 206;
#X frgb 255 255 255;
#X border 2;
#X rounded 0;
#X shadow 0;
#X done;
#P background;
#P user panel 177 143 788 280;
#X brgb 216 181 206;
#X frgb 255 255 255;
#X border 2;
#X rounded 0;
#X shadow 0;
#X done;
#P background;
#P user panel 7 28 175 394;
#X brgb 0 113 132;
#X frgb 255 255 255;
#X border 1;
#X rounded 0;
#X shadow 0;
#X done;
#P background;
#P hidden connect 57 0 29 0;
#P connect 13 0 29 0;
#P hidden connect 36 0 41 0;
#P hidden connect 36 0 35 0;
#P hidden connect 35 0 39 0;
#P hidden connect 63 0 60 0;
#P hidden connect 62 0 60 0;
#P hidden connect 59 0 60 0;
#P hidden connect 61 0 59 0;
#P hidden connect 43 0 35 1;
#P hidden fasten 29 0 28 0 13 144 67 144;
#P hidden fasten 21 0 28 0 26 196 67 196;
#P hidden fasten 22 0 28 0 93 196 67 196;
#P hidden fasten 29 0 28 1 13 144 86 144;
#P hidden connect 26 0 25 0;
#P hidden connect 61 1 62 0;
#P hidden connect 58 1 61 0;
#P hidden connect 29 0 30 0;
#P hidden fasten 27 0 24 0 138 141 138 141;
#P hidden connect 25 1 24 0;
#P hidden connect 61 2 63 0;
#P hidden fasten 9 0 16 0 1178 100 187 100;
#P hidden connect 24 0 31 0;
#P hidden fasten 10 1 31 0 1276 140 188 140;
#P hidden fasten 10 0 31 0 1246 147 188 147;
#P hidden fasten 34 0 31 0 1047 302 188 302;
#P hidden fasten 33 0 31 0 1038 299 188 299;
#P hidden fasten 11 2 38 0 1153 33 188 33;
#P hidden fasten 11 1 38 0 1138 26 188 26;
#P hidden fasten 11 0 38 0 1123 20 188 20;
#P hidden fasten 9 1 19 0 1196 89 293 89;
#P hidden fasten 9 3 32 0 1232 114 377 114;
#P hidden fasten 9 2 53 0 1214 107 450 107;
#P hidden fasten 45 0 31 2 1119 45 570 45;
#P hidden connect 56 0 37 0;
#P hidden fasten 44 0 31 3 1120 94 761 94;
#P hidden fasten 11 3 54 0 1168 34 973 34;
#P hidden fasten 37 0 46 0 578 115 1021 115;
#P hidden fasten 16 1 33 0 245 55 1038 55;
#P hidden connect 19 0 34 0;
#P hidden connect 32 0 49 0;
#P hidden connect 53 0 50 0;
#P hidden fasten 38 1 40 0 953 307 1077 307;
#P hidden fasten 31 1 42 0 341 153 1122 153;
#P hidden connect 14 0 47 0;
#P hidden connect 55 0 56 0;
#P hidden connect 55 0 57 0;
#P hidden connect 51 0 10 0;
#P hidden connect 52 0 10 0;
#P hidden connect 14 1 48 0;
#P hidden connect 51 0 10 1;
#P hidden connect 52 0 10 2;
#P pop;
uhm maybe i undertood the problem... but the sequence should loop however the problem was that the sequences jumped the first step
i've added also an anticlick with attck and release... try this
max v2;
#N vpatcher 98 42 1154 570;
#P origin -33 271;
#P setbglock 1;
#P window setfont "Sans Serif" 9.;
#P comment 851 30 39 9109513 release;
#P hidden newex 447 455 27 9109513 + 1;
#P hidden newex 447 484 49 9109513 s selector;
#P hidden newex 781 458 48 9109513 s fadeout;
#P hidden newex 544 465 42 9109513 s fadein;
#P number 916 34 35 9 0 0 1 139 0 0 0 221 221 221 222 222 222 0 0 0;
#P user dial 887 29 26 26 500 1 0 0 191 270 1 1. 170 170 170 221 221 221 120 120 120 225 225 225 0 0 0 0 0 0;
#P number 815 34 35 9 0 0 1 139 0 0 0 221 221 221 222 222 222 0 0 0;
#P user dial 787 29 26 26 500 1 0 0 191 270 1 1. 170 170 170 221 221 221 120 120 120 225 225 225 0 0 0 0 0 0;
#P toggle 679 29 19 0;
#P hidden message 151 496 55 9109513 set random;
#P hidden message 87 496 66 9109513 set retrograde;
#P hidden newex 97 460 57 9109513 select 1 2 3;
#P window setfont "Sans Serif" 12.;
#P message 8 364 88 9109516 straight;
#P window setfont "Sans Serif" 9.;
#P hidden message 21 495 55 9109513 set straight;
#N vpreset 3;
#X append 1 2 18 28 176 umenu int 3 \; 21 28 282 flonum float 1. \; 31 78 2 gain~ list 100 10. \; 34 28 366 flonum float 240. \; 38 223 7 toggle int 0 \; 39 29 567 ubumenu;
#X append 1 2 int 2 \; 40 156 177 multiSlider list 1 2 3 4 5 6 7 8 \; 55 28 439 number int 4 \; 56 381 962 number int 0 \;;
#X append 2 2 18 28 176 umenu int 3 \; 21 28 282 flonum float 1. \; 31 78 2 gain~ list 100 10. \; 34 28 366 flonum float 240. \; 38 223 7 toggle int 0 \; 39 29 567 ubumenu;
#X append 2 2 int 2 \; 40 156 177 multiSlider list 8 7 6 5 4 3 2 1 \; 55 28 439 number int 4 \; 56 381 962 number int 0 \;;
#X append 3 2 18 28 176 umenu int 3 \; 21 28 282 flonum float 1. \; 31 78 2 gain~ list 100 10. \; 34 28 366 flonum float 240. \; 38 223 7 toggle int 0 \; 39 29 567 ubumenu;
#X append 3 2 int 2 \; 40 156 177 multiSlider list 2 7 6 8 4 5 2 1 \; 55 28 439 number int 4 \; 56 381 962 number int 0 \;;
#P preset 9 333 40 29;
#P hidden message 1204 404 23 9109513 100;
#P hidden message 1187 375 14 9109513 0;
#P hidden newex 1187 317 45 9109513 loadbang;
#P window setfont "Sans Serif" 24.;
#P number 962 381 74 24 0 0 0 139 0 0 0 221 221 221 222 222 222 0 0 0;
#P window setfont "Sans Serif" 9.;
#P number 439 28 35 9 0 0 1 139 0 0 0 221 221 221 222 222 222 0 0 0;
#P hidden newex 1270 110 37 9109513 r beats;
#P hidden newex 1236 109 32 9109513 r bpm;
#P hidden newex 1059 93 39 9109513 s beats;
#P hidden newex 1050 113 34 9109513 s bpm;
#P hidden newex 1236 81 44 9109513 s s_max;
#P hidden newex 1169 82 41 9109513 s s_min;
#P hidden newex 1010 179 43 9109513 s to_coll;
#P hidden newex 1110 63 43 9109513 r s_start;
#P hidden newex 1109 105 39 9109513 r s_end;
#P hidden newex 44 258 52 9109513 r s_lenght;
#P hidden newex 1111 147 49 9109513 s t_lenght;
#P hidden newex 7 259 35 9109513 s start;
#P hidden newex 1066 316 46 9109513 s mslider;
#P hidden newex 7 313 40 9109513 s metro;
#P user multiSlider 177 156 775 256 1. 8. 8 2921 15 0 0 6 4 5 0;
#M frgb 114 253 255;
#M brgb 0 0 0;
#M rgb2 127 127 127;
#M rgb3 0 0 0;
#M rgb4 115 151 199;
#M rgb5 61 116 153;
#M rgb6 0 110 80;
#M rgb7 149 211 110;
#M rgb8 187 9 201;
#M rgb9 187 116 27;
#M rgb10 7 114 128;
#P user ubumenu 567 29 100 9109513 0 1 1 0;
#X add quantize slice;
#X add 1/4;
#X add 1/8;
#X add 1/16;
#X add 1/32;
#X add 1/64;
#X add 1/128;
#X prefix_set 0 0 <none> 0;
#P toggle 7 223 23 0;
#P hidden newex 7 286 32 9109513 metro;
#P hidden message 1036 131 41 9109513 grid \$1;
#P hidden newex 1027 154 63 9109513 prepend unit;
#P flonum 366 28 44 9 0 0 0 139 0 0 0 221 221 221 222 222 222 0 0 0;
#P user waveform~ 177 57 775 90 139 9;
#W mode none;
#W mouseoutput continuous;
#W unit bpm;
#W grid 1.;
#W ticks 8;
#W labels 1;
#W vlabels 1;
#W vticks 1;
#W voffset 0.07;
#W bpm 240. 4.;
#W frgb 0 0 0;
#W brgb 98 150 145;
#W rgb2 77 108 155;
#W rgb3 0 0 0;
#W rgb4 0 0 0;
#W rgb5 166 177 221;
#W rgb6 170 170 170;
#W rgb7 93 93 93;
#P user meter~ 103 209 164 378 100 0 168 0 104 104 104 255 153 0 255 0 0 217 217 0 153 186 0 12 3 3 3 3;
#P user gain~ 2 78 37 36 158 0 1.071519 7.94321 10.;
#P newex 56 116 29 9109513 dac~;
#P hidden newex 127 168 45 9109513 loadbang;
#P message 87 93 41 9109513 replace;
#P newex 87 116 59 9109513 buffer~ loop;
#P hidden message 127 144 41 9109513 set loop;
#P window linecount 3;
#P comment 87 51 59 9109513 ¥ read a sound file into buffer~;
#P window linecount 1;
#P message 82 158 27 9109513 stop;
#P message 15 158 65 9109513 startwindow;
#P comment 15 144 70 9109513 ¥ start audio.;
#P flonum 282 28 44 9 0 0 0 139 0 0 0 221 221 221 222 222 222 0 0 0;
#P comment 330 28 31 9109513 grid;
#P comment 248 28 31 9109513 unit;
#P user umenu 176 28 68 9109543 1 64 44 0;
#X add ms;
#X add samples;
#X add phase;
#X add bpm;
#N vpatcher 709 602 966 879;
#P window setfont "Sans Serif" 9.;
#P message 75 67 14 9109513 1;
#P newex 10 26 45 9109513 loadbang;
#P window linecount 1;
#P message 10 64 54 9109513 flags 1 0;
#P window linecount 0;
#P newex 96 86 41 9109513 r to_coll;
#P newex 179 149 47 9109513 r t_lenght;
#P newex 151 112 30 9109513 s coll;
#P newex 131 183 58 9109513 expr $f2/$i1;
#P button 131 144 15 0;
#N coll ;
#T flags 1 0;
#T 0 1;
#T 1 4;
#T 2 8;
#T 3 16;
#T 4 32;
#T 5 64;
#T 6 128;
#P newobj 96 111 53 9109513 coll;
#P newex 131 225 51 9109513 s s_lenght;
#P flonum 131 207 49 9 0 0 0 139 0 0 0 221 221 221 222 222 222 0 0 0;
#P comment 181 207 54 9109513 slice lenght;
#P connect 10 0 9 0;
#P connect 10 0 11 0;
#P connect 9 0 3 0;
#P connect 8 0 3 0;
#P connect 11 0 3 0;
#P fasten 3 0 4 0 101 141 136 141;
#P fasten 3 0 5 0 101 168 136 168;
#P connect 4 0 5 0;
#P connect 5 0 1 0;
#P connect 1 0 2 0;
#P fasten 3 0 6 0 101 134 156 134;
#P connect 7 0 5 1;
#P pop;
#P hidden newobj 1169 31 87 9109513 p slice_lenght_calc;
#N vpatcher 91 578 394 903;
#P window setfont "Sans Serif" 9.;
#P comment 127 240 66 9109513 start of slice;
#P newex 50 272 45 9109513 s s_start;
#P newex 191 213 41 9109513 s s_end;
#P newex 50 161 52 9109513 r s_lenght;
#P newex 154 72 52 9109513 r s_lenght;
#P newex 114 50 44 9109513 r mslider;
#P newex 191 189 38 9109513 pipe 10;
#P flonum 92 240 35 9 0 0 0 139 0 0 0 221 221 221 222 222 222 0 0 0;
#P newex 92 212 66 9109513 expr $f2 - $f1;
#P button 114 98 15 0;
#P flonum 114 164 40 9 0 0 0 139 0 0 0 221 221 221 222 222 222 0 0 0;
#P number 114 74 35 9 0 0 0 139 0 0 0 221 221 221 222 222 222 0 0 0;
#P newex 114 132 75 9109513 expr 0 + $f1*$i2;
#P comment 156 164 66 9109513 end of slice;
#N comlet max;
#P outlet 114 184 15 0;
#N comlet min;
#P outlet 92 260 15 0;
#P fasten 8 0 14 0 97 260 55 260;
#P fasten 6 0 7 0 119 117 97 117 97 208 97 208;
#P fasten 12 0 7 0 55 193 97 193;
#P connect 7 0 8 0;
#P connect 8 0 0 0;
#P connect 10 0 4 0;
#P connect 4 0 6 0;
#P connect 6 0 3 0;
#P fasten 11 0 3 0 159 124 119 124;
#P connect 3 0 5 0;
#P connect 5 0 1 0;
#P connect 5 0 7 1;
#P fasten 4 0 3 1 119 93 184 93;
#P fasten 5 0 9 0 119 183 196 183;
#P connect 9 0 13 0;
#P pop;
#P hidden newobj 1169 51 77 9109513 p slice_pos_calc;
#N vpatcher 375 376 653 888;
#P window setfont "Sans Serif" 9.;
#P flonum 180 293 35 9 0 0 0 139 0 0 0 221 221 221 222 222 222 0 0 0;
#P flonum 131 295 35 9 0 0 0 139 0 0 0 221 221 221 222 222 222 0 0 0;
#P message 4 178 14 9109513 1;
#P newex 4 138 45 9109513 loadbang;
#P newex 6 234 47 9109513 r selector;
#P newex 54 261 54 9109513 selector~ 2;
#P newex 165 201 46 9109513 r fadeout;
#P newex 120 201 40 9109513 r fadein;
#P newex 111 235 64 9109513 slide~ 10. 50.;
#P newex 117 147 42 9109513 r s_max;
#P newex 77 147 39 9109513 r s_min;
#P newex 199 50 33 9109513 r start;
#P newex 199 75 41 9109513 select 1;
#P message 220 106 26 9109513 stop;
#P flonum 50 101 35 9 0 0 0 139 0 0 0 221 221 221 222 222 222 0 0 0;
#P newex 149 76 45 9109513 loadbang;
#P message 170 127 35 9109513 loop 1;
#P message 170 106 49 9109513 startloop;
#P newex 50 122 35 9109513 sig~ 1;
#P newex 51 201 62 9109513 groove~ loop;
#N comlet output;
#P outlet 55 295 15 0;
#P connect 17 0 18 0;
#P connect 6 0 2 0;
#P fasten 7 0 1 0 225 180 56 180;
#P hidden fasten 3 0 1 0 175 170 56 170;
#P hidden fasten 4 0 1 0 175 190 56 190;
#P connect 2 0 1 0;
#P fasten 18 0 15 0 9 228 59 228;
#P fasten 16 0 15 0 11 257 59 257;
#P connect 15 0 0 0;
#P connect 1 0 15 1;
#P connect 10 0 1 1;
#P connect 12 0 15 2;
#P connect 11 0 1 2;
#P connect 1 0 12 0;
#P connect 13 0 19 0;
#P fasten 13 0 12 1 125 227 143 227;
#P connect 14 0 12 2;
#P fasten 8 0 3 0 204 100 175 100;
#P hidden fasten 5 0 4 0 154 100 175 100;
#P connect 14 0 20 0;
#P connect 9 0 8 0;
#P fasten 8 1 7 0 235 100 225 100;
#P pop 1;
#P newobj 2 48 42 9109513 p player;
#P comment 5 207 64 9109513 start/stop seq;
#N vpatcher 309 639 775 900;
#N comlet counter;
#P outlet 154 195 15 0;
#P window setfont "Sans Serif" 9.;
#P newex 194 32 33 9109513 r start;
#P newex 194 57 41 9109513 select 1;
#P number 152 164 35 9 0 0 0 139 0 0 0 221 221 221 222 222 222 0 0 0;
#P newex 152 75 38 9109513 r metro;
#P message 92 107 63 9109513 range 1 \$1;
#P newex 50 63 42 9109513 r coll;
#P number 50 106 46 9 0 0 0 139 0 0 0 221 221 221 222 222 222 0 0 0;
#P message 96 153 48 9109513 size \$1;
#P message 50 153 57 9109513 fetch \$1;
#N counter 1 8;
#X flags 0 0;
#P newobj 152 106 66 9109513 counter 1 8;
#N comlet range;
#P outlet 134 175 15 0;
#N comlet size;
#P outlet 96 175 15 0;
#N comlet fetch;
#P outlet 50 175 15 0;
#P connect 7 0 6 0;
#P fasten 3 0 4 0 157 149 55 149;
#P connect 4 0 0 0;
#P fasten 7 0 8 0 55 93 97 93;
#P fasten 6 0 5 0 55 137 101 137;
#P connect 5 0 1 0;
#P fasten 8 0 2 0 97 133 139 133;
#P connect 9 0 3 0;
#P connect 3 0 10 0;
#P connect 10 0 13 0;
#P connect 11 0 3 2;
#P connect 12 0 11 0;
#P fasten 7 0 3 4 55 100 213 100;
#P pop;
#P hidden newobj 1112 32 56 9109513 p seq;
#N vpatcher 15 55 275 208;
#P window setfont "Sans Serif" 9.;
#P message 190 69 44 9109513 setbpm;
#P button 50 52 15 0;
#P newex 65 50 78 9109513 pack bpm 120. 4;
#P inlet 50 32 15 0;
#P inlet 103 30 15 0;
#P inlet 141 30 15 0;
#P outlet 190 91 15 0;
#P outlet 65 74 15 0;
#P connect 4 0 6 0;
#P connect 6 0 5 0;
#P connect 5 0 0 0;
#P connect 3 0 5 1;
#P connect 2 0 5 2;
#P connect 7 0 1 0;
#P pop;
#P hidden newobj 1235 158 40 9109513 p bpm;
#N vpatcher 15 55 369 211;
#P window setfont "Sans Serif" 9.;
#P message 50 77 43 9109513 set bpm;
#P message 124 77 31 9109513 set 4;
#P message 93 77 31 9109513 set 1;
#P newex 69 50 45 9109513 loadbang;
#P message 155 77 43 9109513 set 240;
#P outlet 50 99 15 0;
#P outlet 93 99 15 0;
#P outlet 155 99 15 0;
#N comlet beats;
#P outlet 124 99 15 0;
#P hidden fasten 5 0 8 0 74 72 55 72;
#P connect 8 0 3 0;
#P hidden fasten 5 0 6 0 74 72 98 72;
#P connect 6 0 2 0;
#P hidden fasten 5 0 7 0 74 72 129 72;
#P connect 7 0 0 0;
#P hidden fasten 5 0 4 0 74 72 160 72;
#P connect 4 0 1 0;
#P pop;
#P hidden newobj 1167 106 66 9109513 p defaults;
#P comment 410 28 29 9109513 bpm;
#P comment 474 28 35 9109513 beats;
#P user panel 3 140 123 43;
#X brgb 255 255 255;
#X frgb 100 202 30;
#X border 2;
#X rounded 0;
#X shadow 0;
#X done;
#P window linecount 2;
#P comment 7 384 156 9109513 Grove rearranger Andrea Biagioli 2007;
#B color 5;
#P window linecount 1;
#P comment 8 313 100 9109513 three simple presets!;
#P comment 697 30 46 9109513 de-click;
#P comment 755 30 39 9109513 attack;
#P user panel 562 24 397 128;
#X brgb 216 181 206;
#X frgb 255 255 255;
#X border 2;
#X rounded 0;
#X shadow 0;
#X done;
#P background;
#P user panel 171 24 393 128;
#X brgb 216 181 206;
#X frgb 255 255 255;
#X border 2;
#X rounded 0;
#X shadow 0;
#X done;
#P background;
#P user panel 171 140 788 280;
#X brgb 216 181 206;
#X frgb 255 255 255;
#X border 2;
#X rounded 0;
#X shadow 0;
#X done;
#P background;
#P user panel 1 25 175 394;
#X brgb 0 113 132;
#X frgb 255 255 255;
#X border 1;
#X rounded 0;
#X shadow 0;
#X done;
#P background;
#P connect 15 0 31 0;
#P hidden connect 59 0 31 0;
#P hidden connect 38 0 43 0;
#P hidden connect 38 0 37 0;
#P hidden connect 37 0 41 0;
#P hidden connect 61 0 62 0;
#P hidden connect 64 0 62 0;
#P hidden connect 65 0 62 0;
#P hidden connect 63 0 61 0;
#P hidden connect 45 0 37 1;
#P hidden fasten 31 0 30 0 7 141 61 141;
#P hidden fasten 24 0 30 0 87 193 61 193;
#P hidden fasten 23 0 30 0 20 193 61 193;
#P hidden fasten 31 0 30 1 7 141 80 141;
#P hidden connect 28 0 27 0;
#P hidden connect 63 1 64 0;
#P hidden connect 60 1 63 0;
#P hidden connect 31 0 32 0;
#P hidden connect 27 1 26 0;
#P hidden fasten 29 0 26 0 132 138 132 138;
#P hidden connect 63 2 65 0;
#P hidden fasten 11 0 18 0 1172 97 181 97;
#P hidden fasten 35 0 33 0 1032 296 182 296;
#P hidden fasten 36 0 33 0 1041 299 182 299;
#P hidden fasten 12 0 33 0 1240 144 182 144;
#P hidden fasten 12 1 33 0 1270 137 182 137;
#P hidden connect 26 0 33 0;
#P hidden fasten 13 0 40 0 1117 17 182 17;
#P hidden fasten 13 1 40 0 1132 23 182 23;
#P hidden fasten 13 2 40 0 1147 30 182 30;
#P hidden fasten 11 1 21 0 1190 86 287 86;
#P hidden fasten 11 3 34 0 1226 111 371 111;
#P hidden fasten 11 2 55 0 1208 104 444 104;
#P hidden connect 66 0 74 0;
#P connect 74 0 73 0;
#P hidden connect 68 0 71 0;
#P hidden fasten 47 0 33 2 1115 44 564 44;
#P hidden connect 58 0 39 0;
#P hidden fasten 46 0 33 3 1114 91 755 91;
#P hidden connect 70 0 72 0;
#P hidden connect 67 0 68 0;
#P hidden connect 69 0 70 0;
#P hidden fasten 13 3 56 0 1162 31 967 31;
#P hidden fasten 39 0 48 0 572 112 1015 112;
#P hidden fasten 18 1 35 0 239 52 1032 52;
#P hidden connect 21 0 36 0;
#P hidden connect 34 0 51 0;
#P hidden connect 55 0 52 0;
#P hidden fasten 40 1 42 0 947 304 1071 304;
#P hidden fasten 33 1 44 0 335 150 1116 150;
#P hidden connect 16 0 49 0;
#P hidden connect 57 0 58 0;
#P hidden connect 57 0 59 0;
#P hidden connect 53 0 12 0;
#P hidden connect 54 0 12 0;
#P hidden connect 16 1 50 0;
#P hidden connect 53 0 12 1;
#P hidden connect 54 0 12 2;
#P pop;