blob: 268073fd35c8db74b66e88226ced97177b931e27 (
plain)
1
|
max v2;
#N vpatcher 248 88 903 607;
#P flonum 133 327 61 9 0 0 160 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P comment 52 102 197 196617 right outlet: current peaks density (0-1);
#P message 393 394 135 196617 vasp bufrpeaks1 bufrpeaks2;
#N vpatcher 40 55 218 175;
#P newex 45 79 61 196617 vasp.update;
#P newex 45 56 45 196617 vasp.= 0;
#N comlet vasp to clear in;
#P inlet 45 26 15 0;
#P connect 0 0 1 0;
#P connect 1 0 2 0;
#P pop;
#P newobj 393 449 73 196617 p clear_buffer;
#P hidden newex 495 403 48 196617 r 1175path;
#P user umenu 78 142 72 196647 1 64 158 1;
#X add bass.aif;
#X add beat.aif;
#X add fly.aif;
#X add plastic.aif;
#X add your_own...;
#N vpatcher 93 462 631 722;
#P message 59 102 28 196617 read;
#P newex 59 69 89 196617 route your_own...;
#N comlet popup comment in;
#P inlet 59 26 15 0;
#P newex 59 149 48 196617 s 1175path;
#P newex 138 102 79 196617 sprintf read %s;
#P user umenu 48 169 100 196647 1 64 185 1;
#X add drums.aif;
#X add voice.aif;
#X add test.aif;
#X add read a soundfile;
#P connect 3 0 4 0;
#P connect 4 0 5 0;
#P fasten 1 0 2 0 143 134 64 134;
#P connect 5 0 2 0;
#P connect 4 1 1 0;
#P pop;
#P hidden newobj 140 164 43 196617 p loader;
#P comment 52 143 26 196617 read;
#P comment 52 115 172 196617 needs two vectors (real/imaginary);
#P newex 58 402 61 196617 vasp.update;
#P message 58 358 135 196617 vasp bufrpeaks1 bufrpeaks2;
#P newex 58 379 52 196617 vasp.c!fft;
#P comment 180 285 43 196617 density;
#P newex 58 225 61 196617 vasp.update;
#P newex 58 322 61 196617 vasp.update;
#P flonum 133 283 45 9 0. 1. 3 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P message 58 259 135 196617 vasp bufrpeaks1 bufrpeaks2;
#P newex 58 302 85 196617 vasp.rpeaks 0.05;
#P message 264 450 27 196617 stop;
#P message 196 450 65 196617 startwindow;
#P newex 305 474 29 196617 dac~;
#P newex 305 423 30 196617 line~;
#P message 305 394 72 196617 0 \, 2000 2000;
#P newex 305 449 85 196617 play~ bufrpeaks1;
#P message 58 181 135 196617 vasp bufrpeaks1 bufrpeaks2;
#P newex 58 202 49 196617 vasp.cfft;
#N vpatcher 40 55 418 371;
#P button 183 82 15 0;
#P newex 129 145 60 196617 prepend set;
#N comlet waveform~ mode messages;
#P inlet 129 121 15 0;
#P newex 259 64 27 196617 << 1;
#P newex 206 121 40 196617 change;
#P newex 206 145 107 196617 select 0 1 2;
#P newex 206 98 27 196617 |;
#P newex 47 121 40 196617 change;
#P outlet 129 252 15 0;
#P message 47 145 65 196617 constrain \$1;
#P newex 129 195 45 196617 loadbang;
#P newex 47 40 222 196617 pushkeys;
#P message 270 169 58 196617 mode move;
#P message 206 213 61 196617 mode select;
#P message 238 191 52 196617 mode loop;
#P connect 3 0 7 0;
#P connect 7 0 5 0;
#P connect 12 0 13 0;
#P fasten 5 0 6 0 52 243 134 243;
#P fasten 0 0 6 0 243 243 134 243;
#P fasten 1 0 6 0 211 243 134 243;
#P fasten 2 0 6 0 275 243 134 243;
#P connect 11 0 14 0;
#P connect 3 3 8 0;
#P connect 14 0 8 0;
#P connect 8 0 10 0;
#P connect 10 0 9 0;
#P connect 4 0 1 0;
#P connect 9 0 1 0;
#P connect 13 0 1 0;
#P connect 11 0 8 1;
#P connect 9 1 0 0;
#P connect 3 4 11 0;
#P connect 9 2 2 0;
#P pop;
#P hidden newobj 305 72 49 196617 p wfkeys;
#P hidden message 305 242 75 196617 set bufrpeaks2;
#P user waveform~ 305 260 312 99 3 9;
#W mode select;
#W mouseoutput continuous;
#W unit ms;
#W grid 1000.;
#W ticks 8.;
#W labels 1;
#W vlabels 1;
#W vticks 1;
#W vzoom 1.;
#W voffset 0.;
#W bpm 120. 4.;
#W frgb 0 0 0;
#W brgb 255 255 255;
#W rgb2 132 132 132;
#W rgb3 0 0 0;
#W rgb4 0 0 0;
#W rgb5 255 255 255;
#W rgb6 100 100 100;
#W rgb7 100 100 100;
#P newex 495 449 122 196617 buffer~ bufrpeaks2 2000;
#P hidden message 305 122 75 196617 set bufrpeaks1;
#P hidden newex 305 94 45 196617 loadbang;
#P user waveform~ 305 140 312 99 3 9;
#W mode select;
#W mouseoutput continuous;
#W unit ms;
#W grid 1000.;
#W ticks 8.;
#W labels 1;
#W vlabels 1;
#W vticks 1;
#W vzoom 1.;
#W voffset 0.;
#W bpm 120. 4.;
#W frgb 0 0 0;
#W brgb 255 255 255;
#W rgb2 132 132 132;
#W rgb3 0 0 0;
#W rgb4 0 0 0;
#W rgb5 255 255 255;
#W rgb6 100 100 100;
#W rgb7 100 100 100;
#P newex 495 427 122 196617 buffer~ bufrpeaks1 2000;
#P comment 52 87 197 196617 argument/right inlet: peaks density (0-1);
#P comment 52 72 177 196617 find radius peaks of a complex vasp;
#P comment 52 48 108 196622 vasp.rpeaks;
#P comment 194 328 68 196617 current peaks;
#P connect 13 0 12 0;
#P connect 12 0 24 0;
#P connect 21 0 20 0;
#P connect 20 0 23 0;
#P connect 27 0 26 0;
#P connect 26 0 28 0;
#P connect 22 0 20 1;
#P connect 20 1 37 0;
#P hidden connect 32 1 31 0;
#P hidden fasten 6 0 7 0 310 103 310 103;
#P hidden fasten 4 1 7 0 612 446 636 446 636 118 310 118;
#P hidden connect 11 0 5 0;
#P hidden connect 7 0 5 0;
#P hidden fasten 6 0 10 0 310 103 310 103;
#P hidden fasten 8 1 10 0 612 468 636 468 636 255 310 255;
#P hidden connect 11 0 9 0;
#P hidden connect 10 0 9 0;
#P connect 15 0 16 0;
#P connect 16 0 14 0;
#P connect 14 0 17 0;
#P fasten 18 0 17 0 201 468 310 468;
#P fasten 19 0 17 0 269 468 310 468;
#P connect 14 0 17 1;
#P connect 35 0 34 0;
#P hidden connect 33 0 4 0;
#P hidden fasten 9 5 5 4 610 363 621 363 621 134 610 134;
#P hidden connect 5 5 9 4;
#P pop;
|