max v2; #N vpatcher 71 71 899 576; #P window setfont "Sans Serif" 9.; #P newex 247 164 45 9109513 loadbang; #P toggle 246 188 15 0; #N vpatcher 361 103 658 377; #P outlet 120 214 15 0; #P outlet 58 213 15 0; #P window setfont "Sans Serif" 9.; #P newex 120 164 54 9109513 selector~ 2; #P newex 194 79 27 9109513 + 1; #N comlet switch (int \, 0->one 1->two); #P inlet 207 50 15 0; #P newex 58 163 54 9109513 selector~ 2; #N comlet R two; #P inlet 154 48 15 0; #N comlet L two; #P inlet 125 48 15 0; #N comlet R one; #P inlet 78 49 15 0; #N comlet L one; #P inlet 49 49 15 0; #P fasten 6 0 4 0 199 114 63 114; #P connect 4 0 8 0; #P connect 0 0 4 1; #P connect 2 0 4 2; #P fasten 6 0 7 0 199 152 125 152; #P connect 7 0 9 0; #P connect 1 0 7 1; #P connect 3 0 7 2; #P connect 5 0 6 0; #P pop; #P newobj 142 254 79 9109513 p my.compare2~; #P newex 210 220 61 9109513 overdrive~ 4; #P newex 191 221 61 9109513 overdrive~ 4; #P newex 207 289 46 9109513 clip~ -1 1; #N vpatcher 660 64 1260 464; #P outlet 136 231 15 0; #P window setfont "Sans Serif" 9.; #P newex 136 196 70 9109513 freqshift~ -100; #P newex 136 168 70 9109513 freqshift~ -100; #P newex 136 136 70 9109513 freqshift~ -100; #P newex 136 109 70 9109513 freqshift~ -100; #N comlet amnt of shift; #P inlet 267 69 15 0; #N comlet sig in; #P inlet 136 63 15 0; #P connect 0 0 2 0; #P connect 2 0 3 0; #P connect 3 0 4 0; #P connect 4 0 5 0; #P connect 5 0 6 0; #P fasten 1 0 2 1 272 93 201 93; #P fasten 1 0 3 1 272 132 201 132; #P fasten 1 0 4 1 272 159 201 159; #P fasten 1 0 5 1 272 191 201 191; #P pop 1; #P newobj 125 176 45 9109513 p shiftx4; #P number 175 194 35 9 250 5000 3 139 0 0 0 221 221 221 222 222 222 0 0 0; #P number 162 156 35 9 0 0 0 139 0 0 0 221 221 221 222 222 222 0 0 0; #P newex 113 207 55 9109513 gverb~ 700; #P comment 60 28 64 9109513 period (ms); #P number 72 45 35 9 1 10000 3 139 0 0 0 221 221 221 222 222 222 0 0 0; #P window linecount 5; #P comment 598 197 80 9109513 -- bottom line is that 'disabling zero' makes the total volume more unstable; #P window linecount 11; #P comment 598 45 80 9109513 note that when zero is not disabled \, the end of every click will be near zero. disabling this reset means that the next click will start where the previous began \, more or less; #P window linecount 1; #P comment 211 103 64 9109513 disable zero; #P window linecount 5; #P comment 12 270 123 9109513 to record \, first hit open \, name your output file \, then hit the checkbox to start recording and hit it again to stop recording :); #P toggle 21 202 15 0; #P window linecount 1; #P message 44 197 28 9109513 open; #P toggle 194 102 15 0; #P hidden message 307 84 14 9109513 0; #P hidden newex 325 64 45 9109513 loadbang; #P newex 44 235 56 9109513 sfrecord~ 2; #P comment 204 75 64 9109513 click width; #P user multiSlider 314 184 236 140 -1. 1. 60 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 button 111 70 15 0; #P number 137 52 35 9 1 500 3 139 0 0 0 221 221 221 222 222 222 0 0 0; #P number 163 75 35 9 1 60 3 139 0 0 0 221 221 221 222 222 222 0 0 0; #P toggle 45 55 15 0; #P newex 45 82 50 9109513 metro 100; #P newex 145 285 46 9109513 clip~ -1 1; #P user ezdac~ 152 343 196 376 0; #P newex 103 152 32 9109513 click~; #N vpatcher 300 103 938 606; #P origin 49 0; #P window setfont "Sans Serif" 9.; #P window linecount 1; #P newex 311 167 27 9109513 gate; #P newex 370 103 79 9109513 scale 0 1 1 0; #N comlet disable zero; #P inlet 370 57 15 0; #N comlet list output; #P outlet 149 426 15 0; #N comlet set X; #P outlet 59 439 15 0; #P newex 129 257 26 9109513 print; #P message 328 133 39 9109513 set 250; #P newex 174 163 79 9109513 scale 1 60 60 1; #P newex 174 106 40 9109513 uzi 60; #P window linecount 2; #P message 274 298 346 9109513 set 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. 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.; #P window linecount 1; #P newex 59 410 57 9109513 prepend set; #N comlet set new click value (max 60); #P inlet 328 56 15 0; #P newex 130 171 27 9109513 + 1; #N comlet max step size; #P inlet 130 147 15 0; #P newex 78 244 32 9109513 / 250.; #P newex 78 223 29 9109513 - 250; #P newex 352 233 89 9109513 pvar previous_max; #P window linecount 5; #P newex 59 328 145 9109513 pack 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. 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.; #P window linecount 1; #P newex 59 299 129 9109513 gate 60; #N counter 1 60; #X flags 0 0; #P newobj 174 135 66 9109513 counter 1 60; #P newex 78 202 62 9109513 drunk 500 20; #N comlet click width (int); #P inlet 274 32 15 0; #P window linecount 2; #P comment 414 62 100 9109513 this patcher sets a new value to the click; #P fasten 15 0 4 0 179 278 64 278; #P connect 13 0 5 0; #P connect 4 0 5 0; #P connect 5 0 12 0; #P connect 12 0 18 0; #P connect 4 1 5 1; #P connect 4 2 5 2; #P connect 4 3 5 3; #P connect 4 4 5 4; #P connect 4 5 5 5; #P connect 4 6 5 6; #P connect 4 7 5 7; #P connect 4 8 5 8; #P connect 4 9 5 9; #P fasten 14 0 2 0 179 128 83 128; #P fasten 22 0 2 0 316 193 83 193; #P connect 2 0 7 0; #P connect 7 0 8 0; #P connect 4 10 5 10; #P connect 4 11 5 11; #P connect 4 12 5 12; #P connect 4 13 5 13; #P connect 4 14 5 14; #P connect 4 15 5 15; #P connect 4 16 5 16; #P connect 4 17 5 17; #P connect 4 18 5 18; #P connect 4 19 5 19; #P connect 4 20 5 20; #P connect 4 21 5 21; #P connect 4 22 5 22; #P connect 4 23 5 23; #P connect 4 24 5 24; #P connect 4 25 5 25; #P connect 4 26 5 26; #P connect 4 27 5 27; #P connect 4 28 5 28; #P connect 4 29 5 29; #P connect 4 30 5 30; #P connect 4 31 5 31; #P connect 4 32 5 32; #P connect 4 33 5 33; #P connect 4 34 5 34; #P connect 4 35 5 35; #P connect 9 0 10 0; #P connect 10 0 2 2; #P connect 4 36 5 36; #P connect 4 37 5 37; #P connect 4 38 5 38; #P connect 4 39 5 39; #P connect 4 40 5 40; #P connect 4 41 5 41; #P connect 4 42 5 42; #P connect 4 43 5 43; #P connect 4 44 5 44; #P connect 4 45 5 45; #P connect 5 0 19 0; #P connect 4 46 5 46; #P connect 4 47 5 47; #P connect 4 48 5 48; #P connect 4 49 5 49; #P connect 4 50 5 50; #P connect 4 51 5 51; #P connect 4 52 5 52; #P connect 4 53 5 53; #P connect 4 54 5 54; #P connect 4 55 5 55; #P connect 4 56 5 56; #P connect 4 57 5 57; #P fasten 11 0 14 0 333 78 179 78; #P connect 14 0 3 0; #P connect 3 0 15 0; #P connect 4 58 5 58; #P connect 4 59 5 59; #P fasten 8 0 4 1 83 282 183 282; #P fasten 1 0 15 2 279 158 205 158; #P fasten 11 0 3 2 333 129 207 129; #P fasten 1 0 14 1 279 90 209 90; #P fasten 1 0 15 3 279 158 218 158; #P fasten 1 0 3 4 279 90 235 90; #P fasten 1 0 13 0 279 90 279 90; #P fasten 21 0 22 0 375 158 316 158; #P connect 11 0 16 0; #P connect 16 0 22 1; #P connect 20 0 21 0; #P pop; #P newobj 137 126 68 9109513 p setclick; #P window setfont "Sans Serif" 24.; #P window linecount 4; #P comment 379 48 197 9109528 randomize the click~ object using drunk (brownian motion); #P window setfont "Sans Serif" 9.; #P window linecount 1; #P comment 180 53 132 9109513 step size (higher is brighter); #P connect 32 0 13 0; #P connect 18 0 13 0; #P connect 17 0 13 0; #P connect 7 0 6 0; #P connect 23 0 6 1; #P connect 32 1 13 1; #P connect 10 0 3 0; #P connect 2 0 3 0; #P connect 6 0 3 0; #P connect 28 0 25 0; #P connect 3 0 28 0; #P connect 9 0 2 0; #P connect 3 0 32 0; #P connect 32 0 5 0; #P connect 5 0 4 0; #P connect 8 0 2 1; #P connect 27 0 25 1; #P connect 3 0 32 1; #P connect 26 0 28 1; #P connect 6 0 2 2; #P connect 10 0 2 2; #P connect 30 0 32 2; #P connect 29 0 4 1; #P connect 25 0 30 0; #P connect 31 0 32 3; #P hidden connect 15 0 16 0; #P connect 16 0 2 3; #P connect 32 1 29 0; #P connect 25 1 31 0; #P connect 33 0 32 4; #P connect 34 0 33 0; #P hidden connect 14 0 15 0; #P connect 2 1 11 0; #P pop;