aboutsummaryrefslogtreecommitdiff
path: root/externals/grill/vasp/pd-ex
diff options
context:
space:
mode:
Diffstat (limited to 'externals/grill/vasp/pd-ex')
-rw-r--r--externals/grill/vasp/pd-ex/enhance.pd478
-rw-r--r--externals/grill/vasp/pd-ex/freeze.pd (renamed from externals/grill/vasp/pd-ex/freeze1.pd)256
-rw-r--r--externals/grill/vasp/pd-ex/frqmax.pd524
-rwxr-xr-xexternals/grill/vasp/pd-ex/granular1.pd341
-rw-r--r--externals/grill/vasp/pd-ex/granular2.pd366
5 files changed, 959 insertions, 1006 deletions
diff --git a/externals/grill/vasp/pd-ex/enhance.pd b/externals/grill/vasp/pd-ex/enhance.pd
new file mode 100644
index 00000000..05e8ef8a
--- /dev/null
+++ b/externals/grill/vasp/pd-ex/enhance.pd
@@ -0,0 +1,478 @@
+#N canvas 215 47 982 666 12;
+#X obj 85 323 nbx 6 18 -100 0 0 1 empty empty spectral_gate(dB) 0 -8
+0 12 -225271 -1 -1 -18 256;
+#X obj 85 366 nbx 7 18 -10000 10000 0 1 empty empty transpose(cents)
+0 -8 0 12 -225271 -1 -1 0 256;
+#X obj 463 303 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1
+-1;
+#X obj 744 304 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1
+-1;
+#N canvas 0 22 476 326 save 0;
+#X obj 30 198 soundfiler;
+#X obj 30 134 symbol;
+#X obj 29 106 savepanel;
+#X obj 32 8 inlet;
+#X obj 27 232 outlet;
+#X obj 30 42 route new again;
+#X obj 29 73 t b;
+#X obj 84 73 t b;
+#X msg 27 169 write -bytes 3 -wave \$1 dst;
+#X connect 0 0 4 0;
+#X connect 1 0 8 0;
+#X connect 2 0 1 0;
+#X connect 3 0 5 0;
+#X connect 5 0 6 0;
+#X connect 5 1 7 0;
+#X connect 6 0 2 0;
+#X connect 7 0 1 0;
+#X connect 8 0 0 0;
+#X restore 744 275 pd save;
+#N canvas 205 58 359 496 open 0;
+#X obj 19 96 openpanel;
+#X obj 21 6 inlet;
+#X obj 15 390 outlet;
+#X obj 20 123 symbol;
+#X obj 17 345 vasp.u;
+#X obj 17 233 t b;
+#X obj 22 33 route new again;
+#X obj 19 66 t b;
+#X obj 74 66 t b;
+#X msg 16 281 vasp src;
+#X obj 74 230 s \$0-srclen;
+#X obj 15 313 vasp.opt;
+#X obj 18 192 sndfiler;
+#X msg 19 152 read -resize \$1 src;
+#X connect 0 0 3 0;
+#X connect 1 0 6 0;
+#X connect 3 0 13 0;
+#X connect 4 0 2 0;
+#X connect 5 0 9 0;
+#X connect 6 0 7 0;
+#X connect 6 1 8 0;
+#X connect 7 0 0 0;
+#X connect 8 0 3 0;
+#X connect 9 0 11 0;
+#X connect 11 0 4 0;
+#X connect 12 0 5 0;
+#X connect 12 0 10 0;
+#X connect 13 0 12 0;
+#X restore 463 275 pd open;
+#X msg 396 247 stop;
+#N canvas 0 22 450 300 graph10 0;
+#X array src 5.99654e+06 float 0;
+#X coords 0 1 5.99654e+06 -1 600 150 1;
+#X restore 322 20 graph;
+#X msg 462 247 new;
+#X msg 497 247 again;
+#X msg 743 247 new;
+#X msg 776 247 again;
+#X msg 347 247 play;
+#X obj 8 9 cnv 15 300 48 empty empty enhance 5 14 0 20 -233017 -66577
+0;
+#X obj 18 108 bng 25 250 50 0 empty empty do! 0 -6 0 12 -24198 -1 -1
+;
+#X obj 107 115 nbx 12 18 0 1e+08 0 1 empty empty length(frames) 0 -8
+0 12 -225271 -1 -1 1e+06 256;
+#X obj 347 222 cnv 15 100 20 empty empty play_src 5 8 0 10 -261681
+-66577 0;
+#X obj 462 222 cnv 15 100 20 empty empty read_src 5 8 0 10 -261681
+-66577 0;
+#X obj 742 222 cnv 15 100 20 empty empty write_dst 5 8 0 10 -261681
+-66577 0;
+#N canvas 0 22 450 300 graph10 0;
+#X array dst 1e+06 float 0;
+#X coords 0 1 999999 -1 600 150 1;
+#X restore 324 392 graph;
+#X msg 678 248 stop;
+#X msg 629 248 play;
+#X obj 629 223 cnv 15 100 20 empty empty play_dst 5 8 0 10 -261681
+-66577 0;
+#N canvas 0 22 519 371 playsrc 0;
+#X obj 17 274 dac~;
+#X obj 19 21 inlet;
+#X obj 17 49 route play;
+#X obj 18 197 tabplay~ src;
+#X obj 338 23 r \$0-srclen;
+#X obj 166 22 r \$0-offs;
+#X obj 249 22 r \$0-len;
+#X obj 338 48 t b f;
+#X obj 166 94 *;
+#X obj 248 93 *;
+#X obj 75 132 pack 0 0;
+#X obj 19 81 t b;
+#X obj 77 105 loadbang;
+#X obj 113 274 outlet;
+#X obj 19 159 any;
+#X obj 18 237 *~;
+#X obj 451 21 inlet;
+#X obj 451 50 pack 0 30;
+#X obj 451 78 line~;
+#X connect 1 0 2 0;
+#X connect 2 0 11 0;
+#X connect 2 1 3 0;
+#X connect 3 0 15 0;
+#X connect 3 1 13 0;
+#X connect 4 0 7 0;
+#X connect 5 0 8 0;
+#X connect 6 0 9 0;
+#X connect 7 0 8 0;
+#X connect 7 0 9 0;
+#X connect 7 1 8 1;
+#X connect 7 1 9 1;
+#X connect 8 0 10 0;
+#X connect 9 0 10 1;
+#X connect 10 0 14 1;
+#X connect 11 0 14 0;
+#X connect 12 0 10 0;
+#X connect 14 0 3 0;
+#X connect 15 0 0 0;
+#X connect 15 0 0 1;
+#X connect 16 0 17 0;
+#X connect 17 0 18 0;
+#X connect 18 0 15 1;
+#X restore 347 275 pd playsrc;
+#N canvas 0 22 499 351 playdst 0;
+#X obj 23 199 dac~;
+#X obj 19 21 inlet;
+#X obj 22 51 route play;
+#X obj 21 83 tabplay~ dst;
+#X obj 113 200 outlet;
+#X obj 27 147 *~;
+#X obj 171 27 inlet;
+#X obj 171 56 pack 0 30;
+#X obj 171 84 line~;
+#X connect 1 0 2 0;
+#X connect 2 0 3 0;
+#X connect 2 1 3 0;
+#X connect 3 0 5 0;
+#X connect 3 1 4 0;
+#X connect 5 0 0 0;
+#X connect 5 0 0 1;
+#X connect 6 0 7 0;
+#X connect 7 0 8 0;
+#X connect 8 0 5 1;
+#X restore 629 276 pd playdst;
+#N canvas 249 202 587 530 copy 0;
+#X obj 27 26 inlet;
+#X obj 27 51 t b b;
+#X obj 316 19 inlet;
+#X obj 25 361 outlet;
+#X obj 26 81 vasp src;
+#X obj 26 229 vasp.f;
+#X obj 26 201 vasp.o;
+#X obj 128 31 r \$0-offs;
+#X obj 211 31 r \$0-len;
+#X obj 316 87 f 1e+06;
+#X obj 366 21 loadbang;
+#X obj 84 169 *;
+#X obj 117 169 *;
+#X obj 82 139 vasp.f?;
+#X obj 27 109 t a a;
+#X obj 27 259 vasp.sync;
+#X obj 26 328 vasp.f -1;
+#X text 167 288 copy src to dst;
+#X text 108 328 take all dst;
+#X text 307 213 resize dst buffer;
+#X obj 26 287 vasp.-> @detach 1;
+#X text 340 139 set to zero;
+#X obj 184 140 vasp.= 0 @ref dst @detach 1;
+#X obj 183 194 vasp.s @detach 1;
+#X connect 0 0 1 0;
+#X connect 1 0 4 0;
+#X connect 1 1 22 0;
+#X connect 2 0 9 0;
+#X connect 4 0 14 0;
+#X connect 5 0 15 0;
+#X connect 6 0 5 0;
+#X connect 7 0 11 1;
+#X connect 8 0 12 1;
+#X connect 9 0 23 1;
+#X connect 10 0 9 0;
+#X connect 11 0 6 1;
+#X connect 12 0 5 1;
+#X connect 13 0 11 0;
+#X connect 13 0 12 0;
+#X connect 14 0 6 0;
+#X connect 14 1 13 0;
+#X connect 15 0 20 0;
+#X connect 15 1 20 1;
+#X connect 16 0 3 0;
+#X connect 20 1 16 0;
+#X connect 22 0 23 0;
+#X connect 23 0 15 1;
+#X restore 18 159 pd copy;
+#X text 82 155 copy and resize;
+#X obj 323 170 hsl 600 15 0 1 0 1 \$0-r2 empty empty -2 -6 0 8 -262131
+-1 -1 51900 0;
+#X obj 323 5 hsl 600 15 0 1 0 1 \$0-r1 empty empty -2 -6 0 8 -262131
+-1 -1 34600 0;
+#N canvas 148 330 313 273 sel 0;
+#X obj 30 25 r \$0-r1;
+#X obj 110 25 r \$0-r2;
+#X obj 30 100 min;
+#X obj 113 100 max;
+#X obj 30 53 t f f;
+#X obj 110 50 t b b f;
+#X obj 113 130 -;
+#X obj 27 190 s \$0-offs;
+#X obj 113 190 s \$0-len;
+#X obj 114 161 * -1;
+#X connect 0 0 4 0;
+#X connect 1 0 5 0;
+#X connect 2 0 6 0;
+#X connect 2 0 7 0;
+#X connect 3 0 6 1;
+#X connect 4 0 2 0;
+#X connect 4 1 3 0;
+#X connect 5 0 2 0;
+#X connect 5 1 3 0;
+#X connect 5 2 3 1;
+#X connect 5 2 2 1;
+#X connect 6 0 9 0;
+#X connect 9 0 8 0;
+#X restore 872 223 pd sel;
+#X obj 85 410 nbx 7 18 0.01 10 1 1 empty empty power 0 -8 0 12 -225271
+-1 -1 1.37078 256;
+#X obj 346 302 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1
+-1;
+#X obj 628 302 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1
+-1;
+#X text 165 324 -100... no gate;
+#N canvas 0 22 482 332 normalize 0;
+#X obj 127 29 loadbang;
+#X msg 127 54 detach 1;
+#X text 120 75 no attributes yet;
+#X obj 39 115 vasp.opt;
+#X obj 38 149 vasp.u;
+#X obj 39 32 inlet;
+#X obj 38 184 outlet;
+#X connect 0 0 1 0;
+#X connect 1 0 3 0;
+#X connect 3 0 4 0;
+#X connect 4 0 6 0;
+#X connect 5 0 3 0;
+#X restore 18 575 pd normalize;
+#X obj 608 245 vsl 15 70 0.01 10 1 1 empty empty empty 0 -8 0 8 -262144
+-1 -1 4400 1;
+#X obj 324 247 vsl 15 70 0.01 10 1 1 empty empty empty 0 -8 0 8 -262144
+-1 -1 5600 1;
+#X text 11 37 (C)2007 Thomas Grill;
+#N canvas 293 22 655 744 enhance 0;
+#X obj 27 137 vasp.split 2;
+#X obj 31 415 vasp.join 2;
+#X obj 27 74 vasp.cfft @detach 1;
+#X obj 33 471 vasp.c!fft @detach 1;
+#X obj 25 13 inlet;
+#X obj 91 230 * 0.01;
+#X obj 302 17 inlet;
+#X obj 26 107 vasp.polar @detach 1;
+#X obj 33 442 vasp.rect @detach 1;
+#X obj 29 321 vasp.gate @detach 1;
+#X obj 30 386 vasp.sync;
+#X obj 91 208 vasp.max? @detach 1;
+#X obj 381 17 inlet;
+#X obj 437 692 outlet;
+#N canvas 238 212 484 334 non0 0;
+#X obj 58 254 outlet;
+#X obj 60 158 / 1;
+#X obj 26 11 inlet;
+#X obj 26 39 t a a;
+#X obj 234 77 vasp.f?;
+#X obj 46 98 vasp.!= 0 @detach 1;
+#X obj 27 124 vasp.sum?;
+#X obj 60 195 rmstodb;
+#X obj 60 225 - 100;
+#X obj 47 71 vasp.!;
+#X connect 1 0 7 0;
+#X connect 2 0 3 0;
+#X connect 3 0 6 0;
+#X connect 3 1 4 0;
+#X connect 4 0 1 1;
+#X connect 5 0 6 0;
+#X connect 6 1 1 0;
+#X connect 7 0 8 0;
+#X connect 8 0 0 0;
+#X connect 9 0 5 0;
+#X restore 436 660 pd non0;
+#X obj 34 511 vasp.n 0;
+#X obj 302 45 + 100;
+#X obj 300 76 dbtorms;
+#N canvas 445 282 498 348 cplx 0;
+#X obj 19 229 vasp.join;
+#X obj 19 73 t a b a;
+#X obj 149 137 vasp.f?;
+#X obj 19 14 inlet;
+#X obj 19 258 outlet;
+#X text 216 135 get length of source;
+#X text 225 181 make immediate;
+#X text 225 196 initialized to 0;
+#X text 101 230 make complex vasp;
+#X obj 87 176 vasp.! @detach 1;
+#X obj 19 203 vasp.sync;
+#X connect 0 0 4 0;
+#X connect 1 0 10 0;
+#X connect 1 1 9 0;
+#X connect 1 2 2 0;
+#X connect 2 0 9 1;
+#X connect 3 0 1 0;
+#X connect 9 0 10 1;
+#X connect 10 0 0 0;
+#X connect 10 1 0 1;
+#X restore 27 43 pd cplx;
+#X text 281 166 resample;
+#X text 146 230 find spectral peak;
+#X text 203 320 gate spectrum below threshold;
+#X text 107 387 wait for threads to finish;
+#X text 193 75 FFT;
+#X text 195 100 -> polar;
+#X text 192 439 -> cartesian;
+#X text 202 467 inverse FFT;
+#X text 440 637 get spectral density;
+#X obj 28 168 vasp.xtilt 1 @detach 1 @inter 2;
+#X obj 30 347 vasp.pow @detach 1;
+#X obj 441 21 inlet;
+#X text 194 347 treat spectrum exponentially;
+#X obj 28 238 t a a;
+#X obj 28 288 vasp;
+#X obj 89 257 t b f;
+#X obj 381 51 / -1200;
+#X obj 381 77 t b f;
+#X obj 382 129 pow;
+#X msg 382 103 2;
+#X obj 73 542 t a a;
+#X obj 74 640 vasp.* @detach 1;
+#X obj 108 573 vasp.flp;
+#X obj 33 678 outlet;
+#X connect 0 0 28 0;
+#X connect 0 1 10 1;
+#X connect 1 0 8 0;
+#X connect 2 0 7 0;
+#X connect 3 0 15 0;
+#X connect 4 0 18 0;
+#X connect 5 0 34 0;
+#X connect 6 0 16 0;
+#X connect 7 0 0 0;
+#X connect 8 0 3 0;
+#X connect 9 0 29 0;
+#X connect 10 0 1 0;
+#X connect 10 1 1 1;
+#X connect 11 0 5 0;
+#X connect 12 0 35 0;
+#X connect 14 0 13 0;
+#X connect 15 0 42 0;
+#X connect 16 0 17 0;
+#X connect 17 0 5 1;
+#X connect 18 0 2 0;
+#X connect 28 0 32 0;
+#X connect 29 0 10 0;
+#X connect 29 0 14 0;
+#X connect 30 0 29 1;
+#X connect 32 0 11 0;
+#X connect 32 1 33 1;
+#X connect 33 0 9 0;
+#X connect 34 0 33 0;
+#X connect 34 1 9 1;
+#X connect 35 0 36 0;
+#X connect 36 0 38 0;
+#X connect 36 1 37 1;
+#X connect 37 0 28 1;
+#X connect 38 0 37 0;
+#X connect 39 0 40 0;
+#X connect 39 1 41 0;
+#X connect 40 0 42 0;
+#X restore 17 440 pd enhance;
+#N canvas 0 22 501 392 expand 0;
+#X obj 41 33 inlet;
+#X obj 41 313 outlet;
+#X obj 42 64 t a a;
+#X obj 76 93 vasp.!;
+#X obj 41 280 vasp.* @detach 1;
+#X obj 41 247 vasp.sync;
+#X obj 77 167 vasp.flp @detach 1;
+#X obj 218 35 inlet;
+#X obj 76 202 vasp.pow @detach 1;
+#X obj 376 37 inlet;
+#X text 229 165 make a smooth volume curve;
+#X obj 77 136 vasp.abs @detach 1;
+#X connect 0 0 2 0;
+#X connect 2 0 5 0;
+#X connect 2 1 3 0;
+#X connect 3 0 11 0;
+#X connect 4 0 1 0;
+#X connect 5 0 4 0;
+#X connect 5 1 4 1;
+#X connect 6 0 8 0;
+#X connect 7 0 6 1;
+#X connect 8 0 5 1;
+#X connect 9 0 8 1;
+#X connect 11 0 6 0;
+#X restore 18 275 pd expand;
+#X obj 82 204 nbx 7 18 1 1e+06 1 1 empty empty low_pass_(samples) 0
+-8 0 12 -225271 -1 -1 220.673 256;
+#X obj 82 240 nbx 7 18 -3 5 0 1 empty empty power 0 -8 0 12 -225271
+-1 -1 0 256;
+#N canvas 0 22 517 408 expand 0;
+#X obj 41 33 inlet;
+#X obj 41 313 outlet;
+#X obj 42 64 t a a;
+#X obj 76 93 vasp.!;
+#X obj 41 280 vasp.* @detach 1;
+#X obj 41 247 vasp.sync;
+#X obj 77 167 vasp.flp @detach 1;
+#X obj 218 35 inlet;
+#X obj 76 202 vasp.pow @detach 1;
+#X obj 376 37 inlet;
+#X text 229 165 make a smooth volume curve;
+#X obj 77 136 vasp.abs @detach 1;
+#X connect 0 0 2 0;
+#X connect 2 0 5 0;
+#X connect 2 1 3 0;
+#X connect 3 0 11 0;
+#X connect 4 0 1 0;
+#X connect 5 0 4 0;
+#X connect 5 1 4 1;
+#X connect 6 0 8 0;
+#X connect 7 0 6 1;
+#X connect 8 0 5 1;
+#X connect 9 0 8 1;
+#X connect 11 0 6 0;
+#X restore 18 546 pd expand;
+#X obj 84 482 nbx 7 18 1 1e+06 1 1 empty empty low_pass_(samples) 0
+-8 0 12 -225271 -1 -1 5633.54 256;
+#X obj 84 518 nbx 7 18 -3 10 0 1 empty empty power 0 -8 0 12 -225271
+-1 -1 3 256;
+#X obj 17 614 bng 25 250 50 0 empty empty ready 0 -6 0 12 -24198 -1
+-1;
+#X text 172 240 0... no change;
+#X text 172 519 0... no change;
+#X text 174 410 1... no change;
+#X connect 0 0 38 1;
+#X connect 1 0 38 2;
+#X connect 4 0 3 0;
+#X connect 5 0 2 0;
+#X connect 6 0 23 0;
+#X connect 8 0 5 0;
+#X connect 9 0 5 0;
+#X connect 10 0 4 0;
+#X connect 11 0 4 0;
+#X connect 12 0 23 0;
+#X connect 14 0 25 0;
+#X connect 15 0 25 1;
+#X connect 20 0 24 0;
+#X connect 21 0 24 0;
+#X connect 23 0 31 0;
+#X connect 24 0 32 0;
+#X connect 25 0 39 0;
+#X connect 30 0 38 3;
+#X connect 31 0 12 0;
+#X connect 32 0 21 0;
+#X connect 34 0 45 0;
+#X connect 35 0 24 1;
+#X connect 36 0 23 1;
+#X connect 38 0 42 0;
+#X connect 39 0 38 0;
+#X connect 40 0 39 1;
+#X connect 41 0 39 2;
+#X connect 42 0 34 0;
+#X connect 43 0 42 1;
+#X connect 44 0 42 2;
diff --git a/externals/grill/vasp/pd-ex/freeze1.pd b/externals/grill/vasp/pd-ex/freeze.pd
index e2e485eb..bc9aaa41 100644
--- a/externals/grill/vasp/pd-ex/freeze1.pd
+++ b/externals/grill/vasp/pd-ex/freeze.pd
@@ -1,11 +1,10 @@
-#N canvas 4 72 962 506 12;
-#N canvas 293 22 619 708 freeze 0;
+#N canvas 268 127 978 522 12;
+#N canvas 293 22 643 732 freeze 0;
#X obj 27 137 vasp.split 2;
#X obj 30 463 vasp.join 2;
#X obj 27 74 vasp.cfft @detach 1;
#X obj 32 519 vasp.c!fft @detach 1;
#X obj 25 13 inlet;
-#X obj 32 617 outlet;
#X obj 91 230 * 0.01;
#X obj 302 17 inlet;
#X obj 26 107 vasp.polar @detach 1;
@@ -16,7 +15,7 @@
#X obj 91 208 vasp.max? @detach 1;
#X obj 381 17 inlet;
#X obj 167 619 outlet;
-#N canvas 238 212 476 326 non0 0;
+#N canvas 238 212 484 334 non0 0;
#X obj 58 254 outlet;
#X obj 60 158 / 1;
#X obj 26 11 inlet;
@@ -40,9 +39,8 @@
#X restore 164 553 pd non0;
#X obj 32 564 vasp.n 0;
#X obj 302 45 + 100;
-#X obj 326 117 expr pow(2. \, -$f1/1200);
#X obj 300 76 dbtorms;
-#N canvas 445 282 490 340 cplx 0;
+#N canvas 445 282 498 348 cplx 0;
#X obj 19 229 vasp.join;
#X obj 19 73 t a b a;
#X obj 149 137 vasp.f?;
@@ -78,60 +76,61 @@
#X obj 30 347 vasp.pow @detach 1;
#X obj 441 21 inlet;
#X text 194 347 treat spectrum exponentially;
-#X obj 398 444 loadbang;
-#X msg 398 469 detach 1;
-#X text 105 591 normalize result;
-#X text 391 490 no attributes yet;
#X obj 28 238 t a a;
#X obj 28 288 vasp;
#X obj 89 257 t b f;
#X obj 95 399 vasp.* 3.14159 @detach 1;
-#X obj 32 591 vasp/opt;
-#X connect 0 0 32 0;
-#X connect 0 1 11 0;
-#X connect 1 0 9 0;
-#X connect 2 0 8 0;
-#X connect 3 0 17 0;
-#X connect 4 0 21 0;
-#X connect 6 0 42 0;
-#X connect 7 0 18 0;
-#X connect 8 0 0 0;
-#X connect 9 0 3 0;
-#X connect 10 0 33 0;
-#X connect 11 0 43 0;
-#X connect 12 0 1 0;
-#X connect 12 1 1 1;
-#X connect 13 0 6 0;
-#X connect 14 0 19 0;
-#X connect 16 0 15 0;
-#X connect 17 0 44 0;
-#X connect 18 0 20 0;
-#X connect 19 0 32 1;
-#X connect 20 0 6 1;
-#X connect 21 0 2 0;
-#X connect 32 0 40 0;
-#X connect 33 0 12 0;
-#X connect 33 0 16 0;
-#X connect 34 0 33 1;
-#X connect 36 0 37 0;
-#X connect 37 0 44 0;
-#X connect 40 0 13 0;
-#X connect 40 1 41 1;
-#X connect 41 0 10 0;
-#X connect 42 0 41 0;
-#X connect 42 1 10 1;
-#X connect 43 0 12 1;
-#X connect 44 0 5 0;
+#X obj 381 51 / -1200;
+#X obj 381 77 t b f;
+#X obj 382 129 pow;
+#X msg 382 103 2;
+#X obj 33 617 vasp.u;
+#X connect 0 0 30 0;
+#X connect 0 1 10 0;
+#X connect 1 0 8 0;
+#X connect 2 0 7 0;
+#X connect 3 0 16 0;
+#X connect 4 0 19 0;
+#X connect 5 0 36 0;
+#X connect 6 0 17 0;
+#X connect 7 0 0 0;
+#X connect 8 0 3 0;
+#X connect 9 0 31 0;
+#X connect 10 0 37 0;
+#X connect 11 0 1 0;
+#X connect 11 1 1 1;
+#X connect 12 0 5 0;
+#X connect 13 0 38 0;
+#X connect 15 0 14 0;
+#X connect 16 0 42 0;
+#X connect 17 0 18 0;
+#X connect 18 0 5 1;
+#X connect 19 0 2 0;
+#X connect 30 0 34 0;
+#X connect 31 0 11 0;
+#X connect 31 0 15 0;
+#X connect 32 0 31 1;
+#X connect 34 0 12 0;
+#X connect 34 1 35 1;
+#X connect 35 0 9 0;
+#X connect 36 0 35 0;
+#X connect 36 1 9 1;
+#X connect 37 0 11 1;
+#X connect 38 0 39 0;
+#X connect 39 0 41 0;
+#X connect 39 1 40 1;
+#X connect 40 0 30 1;
+#X connect 41 0 40 0;
#X restore 18 331 pd freeze;
-#X obj 104 214 nbx 6 18 -100 0 0 1 empty empty spectral_gate(dB) 0
--8 0 12 -225271 -1 -1 -20 256;
-#X obj 104 257 nbx 7 18 -10000 10000 0 1 empty empty transpose(cents)
+#X obj 73 210 nbx 6 18 -100 0 0 1 empty empty spectral_gate(dB) 0 -8
+0 12 -225271 -1 -1 -95 256;
+#X obj 73 253 nbx 7 18 -10000 10000 0 1 empty empty transpose(cents)
0 -8 0 12 -225271 -1 -1 0 256;
#X obj 448 278 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1
-1;
#X obj 729 279 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1
-1;
-#N canvas 0 22 472 322 save 0;
+#N canvas 0 22 476 326 save 0;
#X obj 30 198 soundfiler;
#X obj 30 134 symbol;
#X obj 29 106 savepanel;
@@ -151,8 +150,7 @@
#X connect 7 0 1 0;
#X connect 8 0 0 0;
#X restore 729 250 pd save;
-#N canvas 205 58 339 476 open 0;
-#X obj 18 192 soundfiler;
+#N canvas 205 58 359 496 open 0;
#X obj 19 96 openpanel;
#X obj 21 6 inlet;
#X obj 15 390 outlet;
@@ -162,29 +160,30 @@
#X obj 22 33 route new again;
#X obj 19 66 t b;
#X obj 74 66 t b;
-#X msg 19 152 read -resize \$1 src;
#X msg 16 281 vasp src;
#X obj 74 230 s \$0-srclen;
-#X obj 15 313 vasp/opt;
-#X connect 0 0 6 0;
-#X connect 0 0 12 0;
-#X connect 1 0 4 0;
-#X connect 2 0 7 0;
-#X connect 4 0 10 0;
-#X connect 5 0 3 0;
-#X connect 6 0 11 0;
-#X connect 7 0 8 0;
-#X connect 7 1 9 0;
-#X connect 8 0 1 0;
-#X connect 9 0 4 0;
-#X connect 10 0 0 0;
-#X connect 11 0 13 0;
-#X connect 13 0 5 0;
+#X obj 15 313 vasp.opt;
+#X obj 18 192 sndfiler;
+#X msg 19 152 read -resize \$1 src;
+#X connect 0 0 3 0;
+#X connect 1 0 6 0;
+#X connect 3 0 13 0;
+#X connect 4 0 2 0;
+#X connect 5 0 9 0;
+#X connect 6 0 7 0;
+#X connect 6 1 8 0;
+#X connect 7 0 0 0;
+#X connect 8 0 3 0;
+#X connect 9 0 11 0;
+#X connect 11 0 4 0;
+#X connect 12 0 5 0;
+#X connect 12 0 10 0;
+#X connect 13 0 12 0;
#X restore 448 250 pd open;
#X msg 381 222 stop;
#N canvas 0 22 450 300 graph10 0;
-#X array src 165888 float 0;
-#X coords 0 1 165887 -1 600 150 1;
+#X array src 2.2491e+07 float 0;
+#X coords 0 1 2.2491e+07 -1 600 150 1;
#X restore 322 20 graph;
#X msg 447 222 new;
#X msg 482 222 again;
@@ -194,12 +193,12 @@
#X obj 8 9 cnv 15 300 48 empty empty freeze 5 14 0 20 -233017 -66577
0;
#X text 128 13 make static sound;
-#X obj 18 108 bng 25 250 50 0 empty empty empty 0 -6 0 8 -24198 -1
--1;
+#X obj 18 108 bng 25 250 50 0 empty empty do! 0 -6 0 12 -24198 -1 -1
+;
#X obj 107 115 nbx 12 18 0 1e+08 0 1 empty empty length(frames) 0 -8
0 12 -225271 -1 -1 1e+06 256;
-#X obj 85 368 nbx 9 14 -1e+37 1e+37 0 0 empty empty spectral_density(dB)
-0 -6 0 10 -262131 -1 -1 0 256;
+#X obj 19 375 nbx 9 14 -1e+37 1e+37 0 0 empty empty spectral_density(dB)
+0 -6 0 10 -262131 -1 -1 -33.6745 256;
#X obj 332 197 cnv 15 100 20 empty empty play_src 5 8 0 10 -261681
-66577 0;
#X obj 447 197 cnv 15 100 20 empty empty read_src 5 8 0 10 -261681
@@ -214,8 +213,8 @@
#X msg 614 223 play;
#X obj 614 198 cnv 15 100 20 empty empty play_dst 5 8 0 10 -261681
-66577 0;
-#N canvas 0 22 507 359 playsrc 0;
-#X obj 18 245 dac~;
+#N canvas 0 22 519 371 playsrc 0;
+#X obj 17 274 dac~;
#X obj 19 21 inlet;
#X obj 17 49 route play;
#X obj 18 197 tabplay~ src;
@@ -227,15 +226,18 @@
#X obj 248 93 *;
#X obj 75 132 pack 0 0;
#X obj 19 81 t b;
-#X obj 19 159 lister;
#X obj 77 105 loadbang;
-#X obj 109 239 outlet;
+#X obj 113 274 outlet;
+#X obj 19 159 any;
+#X obj 18 237 *~;
+#X obj 451 21 inlet;
+#X obj 451 50 pack 0 30;
+#X obj 451 78 line~;
#X connect 1 0 2 0;
#X connect 2 0 11 0;
#X connect 2 1 3 0;
-#X connect 3 0 0 0;
-#X connect 3 0 0 1;
-#X connect 3 1 14 0;
+#X connect 3 0 15 0;
+#X connect 3 1 13 0;
#X connect 4 0 7 0;
#X connect 5 0 8 0;
#X connect 6 0 9 0;
@@ -245,25 +247,38 @@
#X connect 7 1 9 1;
#X connect 8 0 10 0;
#X connect 9 0 10 1;
-#X connect 10 0 12 1;
-#X connect 11 0 12 0;
-#X connect 12 0 3 0;
-#X connect 13 0 10 0;
+#X connect 10 0 14 1;
+#X connect 11 0 14 0;
+#X connect 12 0 10 0;
+#X connect 14 0 3 0;
+#X connect 15 0 0 0;
+#X connect 15 0 0 1;
+#X connect 16 0 17 0;
+#X connect 17 0 18 0;
+#X connect 18 0 15 1;
#X restore 332 250 pd playsrc;
-#N canvas 0 22 487 339 playdst 0;
-#X obj 21 118 dac~;
+#N canvas 0 22 499 351 playdst 0;
+#X obj 23 199 dac~;
#X obj 19 21 inlet;
#X obj 22 51 route play;
#X obj 21 83 tabplay~ dst;
-#X obj 98 118 outlet;
+#X obj 113 200 outlet;
+#X obj 27 147 *~;
+#X obj 171 27 inlet;
+#X obj 171 56 pack 0 30;
+#X obj 171 84 line~;
#X connect 1 0 2 0;
#X connect 2 0 3 0;
#X connect 2 1 3 0;
-#X connect 3 0 0 0;
-#X connect 3 0 0 1;
+#X connect 3 0 5 0;
#X connect 3 1 4 0;
+#X connect 5 0 0 0;
+#X connect 5 0 0 1;
+#X connect 6 0 7 0;
+#X connect 7 0 8 0;
+#X connect 8 0 5 1;
#X restore 614 251 pd playdst;
-#N canvas 249 202 555 498 copy 0;
+#N canvas 249 202 571 514 copy 0;
#X obj 27 26 inlet;
#X obj 27 51 t b b;
#X obj 316 19 inlet;
@@ -314,10 +329,10 @@
#X restore 18 159 pd copy;
#X text 85 160 copy and resize;
#X obj 323 170 hsl 600 15 0 1 0 1 \$0-r2 empty empty -2 -6 0 8 -262131
--1 -1 52000 1;
+-1 -1 12800 0;
#X obj 323 5 hsl 600 15 0 1 0 1 \$0-r1 empty empty -2 -6 0 8 -262131
--1 -1 28800 1;
-#N canvas 148 330 305 265 sel 0;
+-1 -1 0 0;
+#N canvas 148 330 313 273 sel 0;
#X obj 30 25 r \$0-r1;
#X obj 110 25 r \$0-r2;
#X obj 30 100 min;
@@ -342,21 +357,38 @@
#X connect 6 0 9 0;
#X connect 9 0 8 0;
#X restore 871 198 pd sel;
-#X text 125 31 (C)2002 Thomas Grill;
-#X text 19 89 do!;
-#X obj 104 301 nbx 7 18 0 3 0 1 empty empty power 0 -8 0 12 -225271
--1 -1 1 256;
-#X text 10 35 (needs zexy!);
-#X obj 18 410 vasp.u;
-#X text 76 412 update graphics;
-#X obj 28 381 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1
--1;
+#X obj 73 297 nbx 7 18 0.01 10 1 1 empty empty power 0 -8 0 12 -225271
+-1 -1 0.873788 256;
#X obj 331 277 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1
-1;
#X obj 613 277 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1
-1;
-#X connect 0 0 37 0;
-#X connect 0 1 18 0;
+#X text 11 37 (C)2002-2007 Thomas Grill;
+#X text 153 210 -100... no gate;
+#X text 162 296 1... no power;
+#X obj 18 426 bng 25 250 50 0 empty empty normalize 0 -6 0 12 -24198
+-1 -1;
+#N canvas 0 22 458 308 normalize 0;
+#X obj 127 29 loadbang;
+#X msg 127 54 detach 1;
+#X text 120 75 no attributes yet;
+#X obj 39 115 vasp.opt;
+#X obj 38 149 vasp.u;
+#X obj 39 32 inlet;
+#X obj 40 82 vasp dst;
+#X obj 40 56 t b;
+#X connect 0 0 1 0;
+#X connect 1 0 3 0;
+#X connect 3 0 4 0;
+#X connect 5 0 7 0;
+#X connect 6 0 3 0;
+#X connect 7 0 6 0;
+#X restore 18 454 pd normalize;
+#X obj 593 220 vsl 15 70 0.01 10 1 1 empty empty empty 0 -8 0 8 -262144
+-1 -1 4900 1;
+#X obj 309 222 vsl 15 70 0.01 10 1 1 empty empty empty 0 -8 0 8 -262144
+-1 -1 4900 1;
+#X connect 0 0 18 0;
#X connect 1 0 0 1;
#X connect 2 0 0 2;
#X connect 5 0 4 0;
@@ -371,10 +403,12 @@
#X connect 17 0 28 1;
#X connect 23 0 27 0;
#X connect 24 0 27 0;
-#X connect 26 0 40 0;
-#X connect 27 0 41 0;
+#X connect 26 0 34 0;
+#X connect 27 0 35 0;
#X connect 28 0 0 0;
-#X connect 35 0 0 3;
-#X connect 39 0 37 0;
-#X connect 40 0 13 0;
-#X connect 41 0 24 0;
+#X connect 33 0 0 3;
+#X connect 34 0 13 0;
+#X connect 35 0 24 0;
+#X connect 39 0 40 0;
+#X connect 41 0 27 1;
+#X connect 42 0 26 1;
diff --git a/externals/grill/vasp/pd-ex/frqmax.pd b/externals/grill/vasp/pd-ex/frqmax.pd
index 0f0f3c52..f34fb297 100644
--- a/externals/grill/vasp/pd-ex/frqmax.pd
+++ b/externals/grill/vasp/pd-ex/frqmax.pd
@@ -1,188 +1,336 @@
-#N canvas 67 28 756 590 12;
-#N canvas 0 0 450 300 graph1 0;
-#X array array1 10000 float 0;
-#X coords 0 1 9999 -1 300 140 1;
-#X restore 403 192 graph;
-#X msg 23 156 vasp array1;
-#X text 127 156 buffer to analyze;
-#X obj 23 417 vasp.??;
-#X obj 24 84 nbx 5 18 -100 0 0 1 \$0-thresh empty empty 0 -6 1152 14
--225271 -1 -1 -5 256;
-#X text 84 415 print list omitting zero values;
-#X obj 22 502 print F;
-#X obj 46 532 print V;
-#N canvas 383 238 314 291 mag 0;
-#X obj 37 34 inlet;
-#X obj 39 214 outlet;
-#N canvas 403 262 454 304 rfft 0;
-#X obj 38 100 vasp.rfft;
-#X obj 28 138 vasp.lower;
-#X obj 114 138 vasp.upper;
-#X obj 42 228 vasp.polar;
-#X obj 43 170 vasp.sync;
-#X obj 42 197 vasp.join;
-#X obj 42 262 vasp.re;
-#X text 112 262 get magnitude only;
-#X text 119 102 real FFT;
-#X text 132 156 separate real and imag part;
-#X text 133 229 make polar representation;
-#X obj 39 20 inlet;
-#X obj 38 62 vasp.!;
-#X text 97 64 make temporary buffer;
-#X obj 41 305 outlet;
-#X connect 0 0 1 0;
-#X connect 0 0 2 0;
-#X connect 1 0 4 0;
-#X connect 2 0 4 1;
-#X connect 3 0 6 0;
-#X connect 4 0 5 0;
-#X connect 4 1 5 1;
-#X connect 5 0 3 0;
-#X connect 6 0 14 0;
-#X connect 11 0 12 0;
-#X connect 12 0 0 0;
-#X restore 100 151 pd rfft;
-#N canvas 0 0 454 344 cfft 0;
-#X obj 39 187 vasp.polar;
-#X obj 39 221 vasp.re;
-#X text 109 221 get magnitude only;
-#X text 130 188 make polar representation;
-#X obj 38 42 vasp.!;
-#X obj 38 154 vasp.cfft;
-#X obj 40 253 vasp.lower;
-#X obj 37 100 vasp.sync;
-#X text 169 56 make temporary buffers;
-#X obj 101 44 vasp.!;
-#X obj 102 71 vasp.= 0;
-#X text 119 154 complex FFT;
-#X obj 37 128 vasp.join;
-#X obj 35 11 inlet;
-#X obj 37 291 outlet;
-#X connect 0 0 1 0;
-#X connect 1 0 6 0;
-#X connect 4 0 7 0;
-#X connect 5 0 0 0;
-#X connect 6 0 14 0;
-#X connect 7 0 12 0;
-#X connect 7 1 12 1;
-#X connect 9 0 10 0;
-#X connect 10 0 7 1;
-#X connect 12 0 5 0;
-#X connect 13 0 4 0;
-#X connect 13 0 9 0;
-#X restore 38 88 pd cfft;
-#X text 105 89 complex method;
-#X text 165 147 real method;
-#X text 166 167 (off by one bin?);
-#X connect 0 0 3 0;
-#X connect 3 0 1 0;
-#X restore 24 185 pd mag;
-#X text 77 186 get spectral magnitude;
-#X obj 11 10 cnv 15 700 50 empty empty fftmax 10 22 0 24 -260818 -1
-0;
-#X text 183 41 http://www.parasitaere-kapazitaeten.net;
-#X text 184 25 needs vasp and zexy;
-#X text 184 10 get loudest frequencies \, (C)2003 Thomas Grill;
-#N canvas 0 0 478 370 load 0;
-#X obj 30 100 openpanel;
-#X obj 31 254 pack s s s s;
-#X obj 28 130 t b b s b;
-#X obj 30 22 inlet;
-#X obj 31 313 soundfiler;
-#X obj 29 74 t b s;
-#X text 80 21 input message with target buffer;
-#X obj 107 213 symbol array1;
-#X obj 31 284 route list;
-#X obj 51 189 symbol -resize;
-#X obj 28 159 symbol read;
-#X connect 0 0 2 0;
-#X connect 1 0 8 0;
-#X connect 2 0 10 0;
-#X connect 2 1 9 0;
-#X connect 2 2 1 2;
-#X connect 2 3 7 0;
-#X connect 3 0 5 0;
-#X connect 5 0 0 0;
-#X connect 5 1 7 1;
-#X connect 7 0 1 3;
-#X connect 8 0 4 0;
-#X connect 9 0 1 1;
-#X connect 10 0 1 0;
-#X restore 410 144 pd load;
-#X msg 410 114 array1;
-#X text 442 85 load file into buffer;
-#X obj 410 83 bng 25 250 50 0 empty empty empty 0 -6 0 8 -225271 -1
--1;
-#X obj 125 259 vasp.max?;
-#X text 103 383 discriminate lower values;
-#X obj 125 350 *;
-#X obj 156 299 + 100;
-#X obj 156 322 dbtorms;
-#X obj 23 382 vasp.gate;
-#X obj 23 215 t a a;
-#N canvas 0 0 355 310 ny 0;
-#X obj 33 128 samplerate~;
-#X obj 33 69 vasp.f?;
-#X obj 32 39 inlet;
-#X obj 32 171 /;
-#X obj 32 97 t b f;
-#X obj 32 244 outlet;
-#X obj 33 208 / 2;
-#X connect 0 0 3 0;
-#X connect 1 0 4 0;
-#X connect 2 0 1 0;
-#X connect 3 0 6 0;
-#X connect 4 0 0 0;
-#X connect 4 1 3 1;
-#X connect 6 0 5 0;
-#X restore 68 258 pd ny;
-#X obj 22 459 mtx_mul 0;
-#X text 89 502 frequencies;
-#X text 108 533 associated values (should be calculated to decibels)
-;
-#X text 102 84 threshold in dB (eg. -6);
-#N canvas 0 0 458 308 testsig 0;
-#X msg 30 107 vasp array1;
-#X obj 29 256 vasp.u;
-#X obj 93 168 samplerate~;
-#X obj 29 227 vasp.osc 441;
-#X obj 33 45 nbx 5 18 0 100000 0 0 empty empty empty 0 -6 0 14 -225271
--1 -1 434 256;
-#X obj 116 45 bng 25 250 50 0 empty empty empty 0 -6 0 8 -261689 -1
--1;
-#X obj 92 193 / 100;
-#X obj 94 138 t b f;
-#X text 31 10 set frequency \, then bang to synthesize;
-#X connect 0 0 3 0;
-#X connect 2 0 6 0;
-#X connect 3 0 1 0;
-#X connect 4 0 7 0;
-#X connect 5 0 0 0;
-#X connect 6 0 3 1;
-#X connect 7 0 2 0;
-#X connect 7 1 6 1;
-#X restore 498 431 pd testsig;
-#X text 499 409 create a test signal;
-#X obj 23 121 bng 25 250 50 0 empty empty empty 0 -6 0 8 -225271 -1
--1;
-#X text 55 123 bang to start analysis;
-#X obj 220 258 r \$0-thresh;
-#X text 104 460 scale frequencies;
-#X connect 1 0 8 0;
-#X connect 3 0 26 0;
-#X connect 3 1 7 0;
-#X connect 8 0 24 0;
-#X connect 15 0 14 0;
-#X connect 17 0 15 0;
-#X connect 18 0 20 0;
-#X connect 20 0 23 1;
-#X connect 21 0 22 0;
-#X connect 22 0 20 1;
-#X connect 23 0 3 0;
-#X connect 24 0 23 0;
-#X connect 24 1 18 0;
-#X connect 24 1 25 0;
-#X connect 25 0 26 1;
-#X connect 26 0 6 0;
-#X connect 32 0 1 0;
-#X connect 34 0 21 0;
+#N canvas 530 176 764 598 12;
+#N canvas 0 22 450 300 graph1 0;
+#X array array1 2.205e+06 float 0;
+#X coords 0 1 2.205e+06 -1 300 140 1;
+#X restore 403 192 graph;
+#X msg 23 156 vasp array1;
+#X text 127 156 buffer to analyze;
+#X obj 23 417 vasp.??;
+#X obj 24 84 nbx 5 18 -100 0 0 1 \$0-thresh empty empty 0 -6 0 14 -225271
+-1 -1 -5 256;
+#X text 84 415 print list omitting zero values;
+#X obj 22 536 print F;
+#X obj 195 535 print V;
+#N canvas 383 238 314 291 mag 0;
+#X obj 37 34 inlet;
+#X obj 39 214 outlet;
+#N canvas 403 262 454 304 rfft 0;
+#X obj 38 100 vasp.rfft;
+#X obj 28 138 vasp.lower;
+#X obj 114 138 vasp.upper;
+#X obj 42 228 vasp.polar;
+#X obj 43 170 vasp.sync;
+#X obj 42 197 vasp.join;
+#X obj 42 262 vasp.re;
+#X text 112 262 get magnitude only;
+#X text 119 102 real FFT;
+#X text 132 156 separate real and imag part;
+#X text 133 229 make polar representation;
+#X obj 39 20 inlet;
+#X obj 38 62 vasp.!;
+#X text 97 64 make temporary buffer;
+#X obj 41 305 outlet;
+#X connect 0 0 1 0;
+#X connect 0 0 2 0;
+#X connect 1 0 4 0;
+#X connect 2 0 4 1;
+#X connect 3 0 6 0;
+#X connect 4 0 5 0;
+#X connect 4 1 5 1;
+#X connect 5 0 3 0;
+#X connect 6 0 14 0;
+#X connect 11 0 12 0;
+#X connect 12 0 0 0;
+#X restore 100 151 pd rfft;
+#N canvas 0 22 454 344 cfft 0;
+#X obj 39 187 vasp.polar;
+#X obj 39 221 vasp.re;
+#X text 109 221 get magnitude only;
+#X text 130 188 make polar representation;
+#X obj 38 42 vasp.!;
+#X obj 38 154 vasp.cfft;
+#X obj 40 253 vasp.lower;
+#X obj 37 100 vasp.sync;
+#X text 169 56 make temporary buffers;
+#X obj 101 44 vasp.!;
+#X obj 102 71 vasp.= 0;
+#X text 119 154 complex FFT;
+#X obj 37 128 vasp.join;
+#X obj 35 11 inlet;
+#X obj 37 291 outlet;
+#X connect 0 0 1 0;
+#X connect 1 0 6 0;
+#X connect 4 0 7 0;
+#X connect 5 0 0 0;
+#X connect 6 0 14 0;
+#X connect 7 0 12 0;
+#X connect 7 1 12 1;
+#X connect 9 0 10 0;
+#X connect 10 0 7 1;
+#X connect 12 0 5 0;
+#X connect 13 0 4 0;
+#X connect 13 0 9 0;
+#X restore 38 88 pd cfft;
+#X text 105 89 complex method;
+#X text 165 147 real method;
+#X text 166 167 (off by one bin?);
+#X connect 0 0 3 0;
+#X connect 3 0 1 0;
+#X restore 24 185 pd mag;
+#X text 77 186 get spectral magnitude;
+#X obj 11 10 cnv 15 700 50 empty empty fftmax 10 22 0 24 -260818 -1
+0;
+#N canvas 0 22 478 370 load 0;
+#X obj 30 100 openpanel;
+#X obj 31 254 pack s s s s;
+#X obj 28 130 t b b s b;
+#X obj 30 22 inlet;
+#X obj 31 313 soundfiler;
+#X obj 29 74 t b s;
+#X text 80 21 input message with target buffer;
+#X obj 107 213 symbol array1;
+#X obj 31 284 route list;
+#X obj 51 189 symbol -resize;
+#X obj 28 159 symbol read;
+#X connect 0 0 2 0;
+#X connect 1 0 8 0;
+#X connect 2 0 10 0;
+#X connect 2 1 9 0;
+#X connect 2 2 1 2;
+#X connect 2 3 7 0;
+#X connect 3 0 5 0;
+#X connect 5 0 0 0;
+#X connect 5 1 7 1;
+#X connect 7 0 1 3;
+#X connect 8 0 4 0;
+#X connect 9 0 1 1;
+#X connect 10 0 1 0;
+#X restore 410 144 pd load;
+#X msg 410 114 array1;
+#X text 442 85 load file into buffer;
+#X obj 410 83 bng 25 250 50 0 empty empty empty 0 -6 0 8 -225271 -1
+-1;
+#X obj 125 259 vasp.max?;
+#X text 103 383 discriminate lower values;
+#X obj 125 350 *;
+#X obj 156 299 + 100;
+#X obj 156 322 dbtorms;
+#X obj 23 382 vasp.gate;
+#X obj 23 215 t a a;
+#N canvas 0 22 359 314 ny 0;
+#X obj 33 128 samplerate~;
+#X obj 33 69 vasp.f?;
+#X obj 32 39 inlet;
+#X obj 32 171 /;
+#X obj 32 97 t b f;
+#X obj 32 244 outlet;
+#X obj 33 208 / 2;
+#X connect 0 0 3 0;
+#X connect 1 0 4 0;
+#X connect 2 0 1 0;
+#X connect 3 0 6 0;
+#X connect 4 0 0 0;
+#X connect 4 1 3 1;
+#X connect 6 0 5 0;
+#X restore 65 258 pd ny;
+#X text 89 536 frequencies;
+#X text 102 84 threshold in dB (eg. -6);
+#N canvas 0 22 466 316 testsig 0;
+#X msg 30 107 vasp array1;
+#X obj 29 256 vasp.u;
+#X obj 93 168 samplerate~;
+#X obj 29 227 vasp.osc 441;
+#X obj 92 193 / 100;
+#X obj 94 138 t b f;
+#X text 31 10 set frequency \, then bang to synthesize;
+#X obj 31 71 route bang;
+#X obj 31 41 inlet;
+#X connect 0 0 3 0;
+#X connect 2 0 4 0;
+#X connect 3 0 1 0;
+#X connect 4 0 3 1;
+#X connect 5 0 2 0;
+#X connect 5 1 4 1;
+#X connect 7 0 0 0;
+#X connect 7 1 5 0;
+#X connect 8 0 7 0;
+#X restore 498 468 pd testsig;
+#X text 496 392 create a test signal;
+#X obj 23 121 bng 25 250 50 0 empty empty empty 0 -6 0 8 -258699 -1
+-1;
+#X text 51 119 bang to start analysis;
+#X obj 220 258 r \$0-thresh;
+#X text 183 14 get loudest frequencies \, (C)2003-2007 Thomas Grill
+;
+#X text 184 34 http://grrrr.org;
+#X obj 545 438 nbx 5 18 0 100000 0 0 empty empty frequency 0 -6 0 14
+-225271 -1 -1 0 256;
+#X obj 498 432 bng 25 250 50 0 empty empty make! 0 -6 0 8 -261689 -1
+-1;
+#N canvas 0 22 454 304 db 0;
+#X obj 45 34 inlet;
+#X obj 44 192 outlet;
+#X obj 45 96 log;
+#X obj 45 121 / 2.302;
+#X text 114 122 ln 10;
+#X obj 45 156 * 20;
+#X connect 0 0 2 0;
+#X connect 2 0 3 0;
+#X connect 3 0 5 0;
+#X connect 5 0 1 0;
+#X restore 289 497 pd db;
+#X obj 116 495 *;
+#N canvas 0 22 458 308 list-map 0;
+#N canvas 0 22 454 304 serial 0;
+#X obj 65 38 inlet;
+#X obj 53 227 outlet;
+#X obj 38 180 list split 1;
+#X obj 38 97 until;
+#X obj 38 135 list append;
+#X obj 64 64 t b l;
+#X obj 182 130 bang;
+#X connect 0 0 5 0;
+#X connect 2 0 1 0;
+#X connect 2 1 4 1;
+#X connect 2 2 6 0;
+#X connect 3 0 4 0;
+#X connect 4 0 2 0;
+#X connect 5 0 3 0;
+#X connect 5 1 4 1;
+#X connect 6 0 3 1;
+#X restore 76 106 pd serial;
+#N canvas 676 218 470 320 synth 0;
+#X obj 55 34 inlet;
+#X obj 107 266 outlet;
+#X obj 200 37 inlet reset;
+#X obj 55 61 route bang;
+#X obj 134 99 t b a;
+#X obj 197 64 t b b b;
+#X obj 105 239 spigot;
+#X msg 250 171 0;
+#X msg 68 161 1;
+#X obj 50 102 t b b b;
+#X obj 185 169 list;
+#X obj 126 166 any;
+#X connect 0 0 3 0;
+#X connect 2 0 5 0;
+#X connect 3 0 9 0;
+#X connect 3 1 4 0;
+#X connect 4 0 11 0;
+#X connect 4 1 10 1;
+#X connect 5 0 10 0;
+#X connect 5 1 10 1;
+#X connect 5 2 7 0;
+#X connect 6 0 1 0;
+#X connect 7 0 6 1;
+#X connect 8 0 6 1;
+#X connect 9 0 7 0;
+#X connect 9 1 11 0;
+#X connect 9 2 8 0;
+#X connect 10 0 11 1;
+#X connect 11 0 10 0;
+#X connect 11 0 6 0;
+#X restore 59 196 pd synth;
+#X obj 61 66 t b l b;
+#X obj 61 31 inlet list-in;
+#X obj 56 239 outlet list-out;
+#X obj 261 242 outlet map-in;
+#X obj 281 29 inlet map-out;
+#X connect 0 0 5 0;
+#X connect 1 0 4 0;
+#X connect 2 0 1 0;
+#X connect 2 1 0 0;
+#X connect 2 2 1 1;
+#X connect 3 0 2 0;
+#X connect 6 0 1 0;
+#X restore 23 495 pd list-map;
+#N canvas 0 22 462 312 list-map 0;
+#N canvas 0 22 454 304 serial 0;
+#X obj 65 38 inlet;
+#X obj 53 227 outlet;
+#X obj 38 180 list split 1;
+#X obj 38 97 until;
+#X obj 38 135 list append;
+#X obj 64 64 t b l;
+#X obj 182 130 bang;
+#X connect 0 0 5 0;
+#X connect 2 0 1 0;
+#X connect 2 1 4 1;
+#X connect 2 2 6 0;
+#X connect 3 0 4 0;
+#X connect 4 0 2 0;
+#X connect 5 0 3 0;
+#X connect 5 1 4 1;
+#X connect 6 0 3 1;
+#X restore 76 106 pd serial;
+#N canvas 676 218 474 324 synth 0;
+#X obj 55 34 inlet;
+#X obj 107 266 outlet;
+#X obj 200 37 inlet reset;
+#X obj 55 61 route bang;
+#X obj 197 64 t b b b;
+#X obj 105 239 spigot;
+#X msg 250 171 0;
+#X msg 68 161 1;
+#X obj 50 102 t b b b;
+#X obj 185 169 list;
+#X obj 126 166 any;
+#X obj 134 99 t b l;
+#X connect 0 0 3 0;
+#X connect 2 0 4 0;
+#X connect 3 0 8 0;
+#X connect 3 1 11 0;
+#X connect 4 0 9 0;
+#X connect 4 1 9 1;
+#X connect 4 2 6 0;
+#X connect 5 0 1 0;
+#X connect 6 0 5 1;
+#X connect 7 0 5 1;
+#X connect 8 0 6 0;
+#X connect 8 1 10 0;
+#X connect 8 2 7 0;
+#X connect 9 0 10 1;
+#X connect 10 0 9 0;
+#X connect 10 0 5 0;
+#X connect 11 0 10 0;
+#X connect 11 1 9 1;
+#X restore 59 196 pd synth;
+#X obj 61 66 t b l b;
+#X obj 61 31 inlet list-in;
+#X obj 56 239 outlet list-out;
+#X obj 261 242 outlet map-in;
+#X obj 281 29 inlet map-out;
+#X connect 0 0 5 0;
+#X connect 1 0 4 0;
+#X connect 2 0 1 0;
+#X connect 2 1 0 0;
+#X connect 2 2 1 1;
+#X connect 3 0 2 0;
+#X connect 6 0 1 0;
+#X restore 195 497 pd list-map;
+#X text 257 536 dB;
+#X connect 1 0 8 0;
+#X connect 3 0 36 0;
+#X connect 3 1 37 0;
+#X connect 8 0 21 0;
+#X connect 12 0 11 0;
+#X connect 14 0 12 0;
+#X connect 15 0 17 0;
+#X connect 17 0 20 1;
+#X connect 18 0 19 0;
+#X connect 19 0 17 1;
+#X connect 20 0 3 0;
+#X connect 21 0 20 0;
+#X connect 21 1 15 0;
+#X connect 21 1 22 0;
+#X connect 22 0 35 1;
+#X connect 27 0 1 0;
+#X connect 29 0 18 0;
+#X connect 32 0 25 0;
+#X connect 33 0 25 0;
+#X connect 34 0 37 1;
+#X connect 35 0 36 1;
+#X connect 36 0 6 0;
+#X connect 36 1 35 0;
+#X connect 37 0 7 0;
+#X connect 37 1 34 0;
diff --git a/externals/grill/vasp/pd-ex/granular1.pd b/externals/grill/vasp/pd-ex/granular1.pd
deleted file mode 100755
index 2ef369f9..00000000
--- a/externals/grill/vasp/pd-ex/granular1.pd
+++ /dev/null
@@ -1,341 +0,0 @@
-#N canvas 62 0 630 495 10;
-#N canvas 0 0 450 300 graph34 0;
-#X array insert 128 float 1;
-#A 0 1 0.995185 0.980785 0.95694 0.92388 0.881921 0.83147 0.77301 0.707107
-0.634393 0.55557 0.471397 0.382683 0.290285 0.19509 0.0980171 -3.82859e-016
--0.0980171 -0.19509 -0.290285 -0.382683 -0.471397 -0.55557 -0.634393
--0.707107 -0.77301 -0.83147 -0.881921 -0.92388 -0.95694 -0.980785 -0.995185
--1 -0.995185 -0.980785 -0.95694 -0.92388 -0.881921 -0.83147 -0.77301
--0.707107 -0.634393 -0.55557 -0.471397 -0.382683 -0.290285 -0.19509
--0.0980171 7.04487e-016 0.0980171 0.19509 0.290285 0.382683 0.471397
-0.55557 0.634393 0.707107 0.77301 0.83147 0.881921 0.92388 0.95694
-0.980785 0.995185 1 0.995185 0.980785 0.95694 0.92388 0.881921 0.83147
-0.77301 0.707107 0.634393 0.55557 0.471397 0.382683 0.290285 0.19509
-0.0980171 1.00761e-014 -0.0980171 -0.19509 -0.290285 -0.382683 -0.471397
--0.55557 -0.634393 -0.707107 -0.77301 -0.83147 -0.881921 -0.92388 -0.95694
--0.980785 -0.995185 -1 -0.995185 -0.980785 -0.95694 -0.92388 -0.881921
--0.83147 -0.77301 -0.707107 -0.634393 -0.55557 -0.471397 -0.382683
--0.290285 -0.19509 -0.0980171 -1.99685e-014 0.0980171 0.19509 0.290285
-0.382683 0.471397 0.55557 0.634393 0.707107 0.77301 0.83147 0.881921
-0.92388 0.95694 0.980785 0.995185;
-#X coords 0 1 127 -1 200 140 1;
-#X restore 78 68 graph;
-#N canvas 112 314 505 434 player 0;
-#X obj 117 137 tabplay~ schnipparray;
-#X obj 171 245 tabplay~ schnipparray;
-#X obj 250 350 tabplay~ schnipparray;
-#X obj 117 161 throw~ toex;
-#X obj 171 264 throw~ toex;
-#X obj 250 374 throw~ toex;
-#X obj 88 46 tgl 15 0 empty empty empty 0 -6 0 8 -262144 -1 -1 1 1
-;
-#X obj 88 73 spigot;
-#X obj 85 283 s \$0-part;
-#X obj 143 200 t b b;
-#X obj 222 306 t b b;
-#X obj 88 22 inlet;
-#X msg 114 115 0 128;
-#X msg 171 225 128 128;
-#X msg 251 330 256 128;
-#X obj 89 93 t b b;
-#X msg 222 328 1;
-#X msg 143 225 3;
-#X msg 85 117 2;
-#X connect 0 0 3 0;
-#X connect 0 1 9 0;
-#X connect 1 0 4 0;
-#X connect 1 1 10 0;
-#X connect 2 0 5 0;
-#X connect 2 1 7 0;
-#X connect 6 0 7 1;
-#X connect 6 0 7 0;
-#X connect 7 0 15 0;
-#X connect 9 0 17 0;
-#X connect 9 1 13 0;
-#X connect 10 0 16 0;
-#X connect 10 1 14 0;
-#X connect 11 0 6 0;
-#X connect 12 0 0 0;
-#X connect 13 0 1 0;
-#X connect 14 0 2 0;
-#X connect 15 0 18 0;
-#X connect 15 1 12 0;
-#X connect 16 0 8 0;
-#X connect 17 0 8 0;
-#X connect 18 0 8 0;
-#X restore 204 294 pd player;
-#X obj 204 339 catch~ toex;
-#X obj 204 403 dac~;
-#X floatatom 76 311 0 0 0 0 - - -;
-#X obj 76 271 nbx 5 14 -1e+037 1e+037 0 1 empty empty empty 0 -6 0
-10 -24198 -1 -1 11 256;
-#X text 76 253 density;
-#X obj 76 333 s \$0-density;
-#X obj 204 275 tgl 15 0 empty empty start/stop 0 -6 0 8 -24198 -1 -1
-1 1;
-#X obj 76 290 * 0.001;
-#X floatatom 241 429 0 0 0 0 - - -;
-#X obj 241 407 env~ 32768;
-#N canvas 0 0 392 261 inside 0;
-#X obj 41 63 table positions;
-#N canvas 0 0 478 328 create_schippler 0;
-#X msg 155 114 vasp insert;
-#X obj 155 162 vasp.u;
-#X obj 155 138 vasp.osc 6.4;
-#X msg 66 114 vasp insert;
-#X obj 66 162 vasp.u;
-#X obj 66 138 vasp.osc 64;
-#X msg 251 115 vasp insert;
-#X obj 251 163 vasp.u;
-#X obj 251 139 vasp.osc 2;
-#X text 56 71 create various samples to insert;
-#X msg 63 216 vasp insert;
-#X obj 63 261 vasp.u;
-#X obj 63 239 vasp.window;
-#X connect 0 0 2 0;
-#X connect 2 0 1 0;
-#X connect 3 0 5 0;
-#X connect 5 0 4 0;
-#X connect 6 0 8 0;
-#X connect 8 0 7 0;
-#X connect 10 0 12 0;
-#X connect 12 0 11 0;
-#X restore 43 113 pd create_schippler;
-#N canvas 0 0 660 348 inserter 0;
-#X obj 48 84 sel 1 2 3;
-#N canvas 2 7 415 675 first_part 0;
-#X obj 48 483 tabread positions;
-#X obj 48 172 vasp.noise;
-#X obj 48 238 vasp.??;
-#X obj 48 192 vasp.abs;
-#X obj 48 215 vasp.< 0.1;
-#X obj 48 262 route list;
-#X text 58 501 insert a soundfile at certain offset-position;
-#X obj 48 547 vasp.+ vasp insert;
-#X obj 48 120 t b b;
-#X obj 126 146 vasp.= 0;
-#X obj 48 70 inlet;
-#X obj 103 192 r \$0-density;
-#X msg 162 326 \; positions resize \$1;
-#X obj 80 362 tabset positions;
-#X obj 48 387 0;
-#X obj 48 411 until;
-#X obj 90 436 + 1;
-#X obj 48 436 0;
-#X msg 72 386 0;
-#X obj 97 310 length;
-#X obj 48 460 t f f;
-#X obj 97 331 t f f;
-#X obj 48 288 t b b l l;
-#X obj 48 149 vasp.! 128;
-#X msg 48 522 vasp 128 schnipparray \$1;
-#X msg 126 125 vasp 128 schnipparray 128;
-#X connect 0 0 24 0;
-#X connect 1 0 3 0;
-#X connect 2 0 5 0;
-#X connect 3 0 4 0;
-#X connect 4 0 2 0;
-#X connect 5 0 22 0;
-#X connect 8 0 23 0;
-#X connect 8 1 25 0;
-#X connect 10 0 8 0;
-#X connect 11 0 4 1;
-#X connect 14 0 15 0;
-#X connect 15 0 17 0;
-#X connect 16 0 17 1;
-#X connect 17 0 20 0;
-#X connect 18 0 17 1;
-#X connect 19 0 21 0;
-#X connect 20 0 0 0;
-#X connect 20 1 16 0;
-#X connect 21 0 14 1;
-#X connect 21 1 12 0;
-#X connect 22 0 14 0;
-#X connect 22 1 18 0;
-#X connect 22 2 13 0;
-#X connect 22 3 19 0;
-#X connect 23 0 1 0;
-#X connect 24 0 7 0;
-#X connect 25 0 9 0;
-#X restore 48 183 pd first_part;
-#N canvas 162 22 383 663 second_part 0;
-#X obj 48 483 tabread positions;
-#X obj 48 172 vasp.noise;
-#X obj 48 238 vasp.??;
-#X obj 48 192 vasp.abs;
-#X obj 48 215 vasp.< 0.1;
-#X obj 48 262 route list;
-#X text 58 501 insert a soundfile at certain offset-position;
-#X text 124 552 fuer drei teilbereiche;
-#X obj 48 586 vasp.+ vasp insert;
-#X obj 48 120 t b b;
-#X obj 126 146 vasp.= 0;
-#X obj 48 70 inlet;
-#X obj 103 192 r \$0-density;
-#X msg 162 323 \; positions resize \$1;
-#X obj 80 359 tabset positions;
-#X obj 48 384 0;
-#X obj 48 408 until;
-#X obj 90 433 + 1;
-#X obj 48 433 0;
-#X msg 72 383 0;
-#X obj 97 307 length;
-#X obj 48 457 t f f;
-#X obj 97 328 t f f;
-#X obj 48 285 t b b l l;
-#X obj 48 148 vasp.! 128;
-#X msg 48 525 vasp 128 schnipparray \$1;
-#X obj 48 551 vasp.o+ 128;
-#X msg 126 124 vasp 128 schnipparray 256;
-#X connect 0 0 25 0;
-#X connect 1 0 3 0;
-#X connect 2 0 5 0;
-#X connect 3 0 4 0;
-#X connect 4 0 2 0;
-#X connect 5 0 23 0;
-#X connect 9 0 24 0;
-#X connect 9 1 27 0;
-#X connect 11 0 9 0;
-#X connect 12 0 4 1;
-#X connect 15 0 16 0;
-#X connect 16 0 18 0;
-#X connect 17 0 18 1;
-#X connect 18 0 21 0;
-#X connect 19 0 18 1;
-#X connect 20 0 22 0;
-#X connect 21 0 0 0;
-#X connect 21 1 17 0;
-#X connect 22 0 15 1;
-#X connect 22 1 13 0;
-#X connect 23 0 15 0;
-#X connect 23 1 19 0;
-#X connect 23 2 14 0;
-#X connect 23 3 20 0;
-#X connect 24 0 1 0;
-#X connect 25 0 26 0;
-#X connect 26 0 8 0;
-#X connect 27 0 10 0;
-#X restore 191 181 pd second_part;
-#N canvas 427 3 562 703 third_part 0;
-#X msg 155 289 \; positions resize \$1;
-#X obj 73 325 tabset positions;
-#X obj 41 350 0;
-#X obj 41 374 until;
-#X obj 83 399 + 1;
-#X obj 41 399 0;
-#X obj 41 445 tabread positions;
-#X msg 65 349 0;
-#X obj 41 134 vasp.noise;
-#X obj 41 200 vasp.??;
-#X obj 41 154 vasp.abs;
-#X obj 41 177 vasp.< 0.1;
-#X obj 90 273 length;
-#X obj 41 423 t f f;
-#X obj 41 224 route list;
-#X obj 310 641 vasp.+ vasp insert;
-#X obj 41 82 t b b;
-#X obj 119 108 vasp.= 0;
-#X obj 41 52 inlet;
-#X obj 96 154 r \$0-density;
-#X text 177 107 (clears second part);
-#X text 327 499 sample-length;
-#X obj 292 520 - 0;
-#X text 329 519 minus offset;
-#X text 292 215 this part has to write "around the corner";
-#X obj 48 636 vasp.+ vasp insert;
-#X msg 48 586 vasp \$1 schnipparray;
-#X text 446 641 insert at end;
-#X text 49 663 insert at beginning;
-#X obj 90 294 t f f;
-#X obj 41 251 t b b l l;
-#X msg 310 565 vasp \$1 schnipparray;
-#X obj 310 613 vasp.o;
-#X obj 186 609 vasp.o;
-#X msg 413 614 vasp \$1 insert;
-#X msg 186 586 vasp \$1 insert;
-#X obj 48 550 t f f;
-#X obj 48 527 - 0;
-#X obj 276 471 t b b f f;
-#X text 73 528 already at the end;
-#X obj 292 541 t f f f f;
-#X obj 41 111 vasp.! 128;
-#X obj 292 497 128;
-#X obj 48 505 128;
-#X obj 341 590 + 256;
-#X msg 119 86 vasp 128 schnipparray;
-#X connect 2 0 3 0;
-#X connect 3 0 5 0;
-#X connect 4 0 5 1;
-#X connect 5 0 13 0;
-#X connect 6 0 38 0;
-#X connect 7 0 5 1;
-#X connect 8 0 10 0;
-#X connect 9 0 14 0;
-#X connect 10 0 11 0;
-#X connect 11 0 9 0;
-#X connect 12 0 29 0;
-#X connect 13 0 6 0;
-#X connect 13 1 4 0;
-#X connect 14 0 30 0;
-#X connect 16 0 41 0;
-#X connect 16 1 45 0;
-#X connect 18 0 16 0;
-#X connect 19 0 11 1;
-#X connect 22 0 40 0;
-#X connect 26 0 25 0;
-#X connect 29 0 2 1;
-#X connect 29 1 0 0;
-#X connect 30 0 2 0;
-#X connect 30 1 7 0;
-#X connect 30 2 1 0;
-#X connect 30 3 12 0;
-#X connect 31 0 32 0;
-#X connect 32 0 15 0;
-#X connect 33 0 25 1;
-#X connect 34 0 15 1;
-#X connect 35 0 33 0;
-#X connect 36 0 26 0;
-#X connect 36 1 35 0;
-#X connect 37 0 36 0;
-#X connect 38 0 43 0;
-#X connect 38 1 42 0;
-#X connect 38 2 22 1;
-#X connect 38 3 44 0;
-#X connect 40 0 37 1;
-#X connect 40 1 33 1;
-#X connect 40 2 31 0;
-#X connect 40 3 34 0;
-#X connect 41 0 8 0;
-#X connect 42 0 22 0;
-#X connect 43 0 37 0;
-#X connect 44 0 32 1;
-#X connect 45 0 17 0;
-#X restore 336 183 pd third_part;
-#X obj 48 55 r \$0-part;
-#X text 50 33 after a sample-part is played \, next step is calculated
-;
-#X text 296 84 1) generate noise \; 2) get triggering-values \; 3)
-...save in positions-array \; 4) read samplevalues of positions \;
-5) at every trigger insert the "insert"array;
-#X connect 0 0 1 0;
-#X connect 0 1 2 0;
-#X connect 0 2 3 0;
-#X connect 4 0 0 0;
-#X restore 42 88 pd inserter;
-#X obj 40 37 table schnipparray 384;
-#X restore 516 119 pd inside;
-#X obj 322 271 vsl 15 100 0 1 0 1 empty empty volume 0 -8 0 8 -24198
--1 -1 600 1;
-#X obj 204 374 *~ 0.2;
-#X text 387 445 needs the zexy library and vasp;
-#X text 319 80 this array is inserted at triggering points;
-#X connect 2 0 14 0;
-#X connect 4 0 7 0;
-#X connect 5 0 9 0;
-#X connect 8 0 1 0;
-#X connect 9 0 4 0;
-#X connect 11 0 10 0;
-#X connect 13 0 14 1;
-#X connect 14 0 3 0;
-#X connect 14 0 3 1;
-#X connect 14 0 11 0;
diff --git a/externals/grill/vasp/pd-ex/granular2.pd b/externals/grill/vasp/pd-ex/granular2.pd
deleted file mode 100644
index cfea7d6c..00000000
--- a/externals/grill/vasp/pd-ex/granular2.pd
+++ /dev/null
@@ -1,366 +0,0 @@
-#N canvas 30 24 708 560 10;
-#N canvas 0 0 450 300 graph34 0;
-#X array insert 128 float 0;
-#X coords 0 1 127 -1 200 140 1;
-#X restore 96 73 graph;
-#N canvas 339 256 523 452 player 0;
-#X obj 228 372 tabplay~ schnipparray;
-#X obj 228 396 throw~ toex;
-#X obj 208 45 tgl 15 0 empty empty empty 0 -6 0 8 -262144 -1 -1 1 1
-;
-#X obj 208 76 spigot;
-#X obj 104 330 s \$0-part;
-#X obj 208 21 inlet;
-#X obj 264 251 t b b;
-#X obj 283 327 r \$0-partlen;
-#X obj 253 299 r \$0-partlen;
-#X obj 228 319 * 128;
-#X obj 228 350 pack 0 128;
-#X obj 253 147 + 1;
-#X obj 208 147 t f f;
-#X obj 143 251 t b b;
-#X obj 203 250 t b b;
-#X obj 240 192 t b b;
-#X obj 208 125 1;
-#X msg 265 212 1;
-#X obj 208 170 sel 1 2 3;
-#X msg 143 271 2;
-#X msg 168 271 0;
-#X msg 203 271 3;
-#X msg 228 271 1;
-#X msg 264 271 1;
-#X msg 289 271 2;
-#X connect 0 0 1 0;
-#X connect 0 1 3 0;
-#X connect 2 0 3 1;
-#X connect 2 0 3 0;
-#X connect 3 0 16 0;
-#X connect 5 0 2 0;
-#X connect 6 0 23 0;
-#X connect 6 1 24 0;
-#X connect 7 0 10 1;
-#X connect 8 0 9 1;
-#X connect 9 0 10 0;
-#X connect 10 0 0 0;
-#X connect 11 0 16 1;
-#X connect 12 0 18 0;
-#X connect 12 1 11 0;
-#X connect 13 0 19 0;
-#X connect 13 1 20 0;
-#X connect 14 0 21 0;
-#X connect 14 1 22 0;
-#X connect 15 0 6 0;
-#X connect 15 1 17 0;
-#X connect 16 0 12 0;
-#X connect 17 0 16 1;
-#X connect 18 0 13 0;
-#X connect 18 1 14 0;
-#X connect 18 2 15 0;
-#X connect 19 0 4 0;
-#X connect 20 0 9 0;
-#X connect 21 0 4 0;
-#X connect 22 0 9 0;
-#X connect 23 0 4 0;
-#X connect 24 0 9 0;
-#X restore 204 294 pd player;
-#X obj 204 339 catch~ toex;
-#X obj 204 403 dac~;
-#X floatatom 51 318 0 0 0 0 - - -;
-#X obj 51 278 nbx 5 14 -1e+037 1e+037 0 1 empty empty empty 0 -6 0
-10 -24198 -1 -1 80.13 256;
-#X text 51 260 density;
-#X obj 51 340 s \$0-density;
-#X obj 204 275 tgl 15 0 empty empty start/stop 0 -6 0 8 -24198 -1 -1
-1 1;
-#X floatatom 241 430 0 0 0 0 - - -;
-#X obj 241 407 env~ 32768;
-#N canvas 202 187 293 232 inside 0;
-#X obj 88 151 table positions;
-#N canvas 136 160 532 356 inserter 0;
-#X obj 48 55 r \$0-part;
-#X text 50 33 after a sample-part is played \, next step is calculated
-;
-#X obj 169 145 sel 1 2 3;
-#X msg 317 235 1;
-#X text 411 234 clear;
-#X msg 346 235 2;
-#X msg 376 235 0;
-#X obj 317 259 s \$0-clear;
-#X obj 169 260 s \$0-partfw;
-#X msg 169 233 0;
-#X msg 205 233 1;
-#X msg 238 233 2;
-#X text 244 260 (offset);
-#X obj 246 176 t b b;
-#X obj 48 78 t b f;
-#N canvas 267 0 670 675 three_steps 0;
-#X msg 139 235 \; positions resize \$1;
-#X obj 78 269 tabset positions;
-#X obj 46 291 0;
-#X obj 46 311 until;
-#X obj 88 336 + 1;
-#X obj 46 336 0;
-#X obj 46 377 tabread positions;
-#X msg 70 291 0;
-#X obj 46 100 vasp.noise;
-#X obj 46 165 vasp.??;
-#X obj 46 122 vasp.abs;
-#X obj 46 145 vasp.< 0.1;
-#X obj 95 227 length;
-#X obj 46 357 t f f;
-#X obj 345 609 vasp.+ vasp insert;
-#X obj 46 58 t b b;
-#X obj 46 37 inlet;
-#X obj 101 122 r \$0-density;
-#X text 348 452 sample-length;
-#X obj 313 473 - 0;
-#X text 350 472 minus offset;
-#X obj 46 620 vasp.+ vasp insert;
-#X msg 46 527 vasp \$1 schnipparray;
-#X text 164 621 insert at beginning;
-#X obj 95 248 t f f;
-#X obj 46 205 t b b l l;
-#X msg 345 517 vasp \$1 schnipparray;
-#X obj 345 587 vasp.o;
-#X obj 149 599 vasp.o;
-#X msg 448 588 vasp \$1 insert;
-#X msg 149 576 vasp \$1 insert;
-#X obj 46 502 t f f;
-#X obj 46 479 - 0;
-#X obj 46 400 t b b f f;
-#X text 73 478 already at the end;
-#X obj 313 494 t f f f f;
-#X obj 46 79 vasp.! 128;
-#X obj 313 450 128;
-#X obj 46 457 128;
-#X obj 399 195 r \$0-partlen;
-#X text 405 261 clear;
-#X obj 374 173 r \$0-clear;
-#X obj 329 173 vasp.f;
-#X msg 329 128 vasp schnipparray;
-#X obj 329 261 vasp.= 0;
-#X obj 374 217 * 128;
-#X obj 360 150 r \$0-partlen;
-#X obj 329 239 vasp.o;
-#X obj 101 58 r \$0-partlen;
-#X obj 470 541 r \$0-partlen;
-#X obj 399 564 * 128;
-#X obj 399 541 r \$0-partfw;
-#X obj 376 564 + 0;
-#X obj 326 428 r \$0-partlen;
-#X obj 59 433 r \$0-partlen;
-#X obj 46 595 vasp.o+;
-#X obj 149 550 r \$0-partlen;
-#X obj 83 572 * 128;
-#X obj 83 550 r \$0-clear;
-#X text 481 619 insert at end of this part;
-#X text 163 634 of next part;
-#X obj 46 185 route bang;
-#X connect 2 0 3 0;
-#X connect 3 0 5 0;
-#X connect 4 0 5 1;
-#X connect 5 0 13 0;
-#X connect 6 0 33 0;
-#X connect 7 0 5 1;
-#X connect 8 0 10 0;
-#X connect 9 0 61 0;
-#X connect 10 0 11 0;
-#X connect 11 0 9 0;
-#X connect 12 0 24 0;
-#X connect 13 0 6 0;
-#X connect 13 1 4 0;
-#X connect 15 0 36 0;
-#X connect 15 1 43 0;
-#X connect 16 0 15 0;
-#X connect 17 0 11 1;
-#X connect 19 0 35 0;
-#X connect 22 0 55 0;
-#X connect 24 0 2 1;
-#X connect 24 1 0 0;
-#X connect 25 0 2 0;
-#X connect 25 1 7 0;
-#X connect 25 2 1 0;
-#X connect 25 3 12 0;
-#X connect 26 0 27 0;
-#X connect 27 0 14 0;
-#X connect 28 0 21 1;
-#X connect 29 0 14 1;
-#X connect 30 0 28 0;
-#X connect 31 0 22 0;
-#X connect 31 1 30 0;
-#X connect 32 0 31 0;
-#X connect 33 0 38 0;
-#X connect 33 1 37 0;
-#X connect 33 2 19 1;
-#X connect 33 3 52 0;
-#X connect 35 0 32 1;
-#X connect 35 1 28 1;
-#X connect 35 2 26 0;
-#X connect 35 3 29 0;
-#X connect 36 0 8 0;
-#X connect 37 0 19 0;
-#X connect 38 0 32 0;
-#X connect 39 0 45 1;
-#X connect 41 0 45 0;
-#X connect 42 0 47 0;
-#X connect 43 0 42 0;
-#X connect 45 0 47 1;
-#X connect 46 0 42 1;
-#X connect 47 0 44 0;
-#X connect 48 0 36 1;
-#X connect 49 0 50 1;
-#X connect 50 0 52 1;
-#X connect 51 0 50 0;
-#X connect 52 0 27 1;
-#X connect 53 0 37 1;
-#X connect 54 0 38 1;
-#X connect 55 0 21 0;
-#X connect 56 0 57 1;
-#X connect 57 0 55 1;
-#X connect 58 0 57 0;
-#X connect 61 1 25 0;
-#X restore 48 259 pd three_steps;
-#X obj 209 176 t b b;
-#X obj 169 175 t b b;
-#X text 386 260 (=nextpart);
-#X connect 0 0 14 0;
-#X connect 2 0 17 0;
-#X connect 2 1 16 0;
-#X connect 2 2 13 0;
-#X connect 3 0 7 0;
-#X connect 5 0 7 0;
-#X connect 6 0 7 0;
-#X connect 9 0 8 0;
-#X connect 10 0 8 0;
-#X connect 11 0 8 0;
-#X connect 13 0 11 0;
-#X connect 13 1 6 0;
-#X connect 14 0 15 0;
-#X connect 14 1 2 0;
-#X connect 16 0 10 0;
-#X connect 16 1 5 0;
-#X connect 17 0 9 0;
-#X connect 17 1 3 0;
-#X restore 40 70 pd inserter;
-#X obj 88 129 table schnipparray 384;
-#N canvas 286 262 325 213 init 0;
-#X obj 112 77 s \$0-partlen;
-#X msg 112 100 \; insert resize \$1;
-#X msg 50 137 \; schnipparray resize \$1;
-#X obj 50 43 loadbang;
-#X msg 50 65 128;
-#X obj 50 113 * 3;
-#X connect 3 0 4 0;
-#X connect 4 0 5 0;
-#X connect 4 0 0 0;
-#X connect 4 0 1 0;
-#X connect 5 0 2 0;
-#X restore 41 95 pd init;
-#N canvas 409 43 526 376 create_schnippl 0;
-#X msg 155 114 vasp insert;
-#X obj 155 182 vasp.u;
-#X obj 155 138 vasp.osc 6.4;
-#X msg 66 114 vasp insert;
-#X obj 66 162 vasp.u;
-#X msg 293 113 vasp insert;
-#X obj 293 161 vasp.u;
-#X obj 293 137 vasp.osc 2;
-#X msg 63 216 vasp insert;
-#X obj 63 261 vasp.u;
-#X obj 63 239 vasp.window;
-#X obj 66 138 vasp.osc 128;
-#X obj 155 160 vasp.*!window lin;
-#X msg 273 230 vasp insert;
-#X obj 273 292 vasp.u;
-#X obj 273 251 vasp.osc 2;
-#X obj 273 271 vasp.*xwindow hamming;
-#X obj 355 230 nbx 5 14 -1e+037 1e+037 0 0 empty empty empty 0 -6 0
-10 -24198 -1 -1 3 256;
-#X text 56 71 create various slices to insert;
-#X msg 405 113 vasp insert;
-#X obj 405 161 vasp.u;
-#X obj 405 137 vasp.= 0;
-#X connect 0 0 2 0;
-#X connect 2 0 12 0;
-#X connect 3 0 11 0;
-#X connect 5 0 7 0;
-#X connect 7 0 6 0;
-#X connect 8 0 10 0;
-#X connect 10 0 9 0;
-#X connect 11 0 4 0;
-#X connect 12 0 1 0;
-#X connect 13 0 15 0;
-#X connect 15 0 16 0;
-#X connect 16 0 14 0;
-#X connect 17 0 15 1;
-#X connect 19 0 21 0;
-#X connect 21 0 20 0;
-#X restore 40 47 pd create_schnippl;
-#X restore 53 489 pd inside;
-#X obj 322 271 vsl 15 100 0 1 0 1 empty empty volume 0 -8 0 8 -24198
--1 -1 4400 1;
-#X obj 204 374 *~ 0.2;
-#X text 332 464 needs the zexy library and vasp;
-#X obj 51 297 * 0.0001;
-#N canvas 0 0 478 359 glaetten 0;
-#X floatatom 225 70 5 0 0 0 - - -;
-#X floatatom 242 130 5 0 0 0 - - -;
-#X obj 225 111 div 64;
-#X obj 225 148 + 1;
-#X obj 225 169 * 64;
-#X floatatom 254 193 0 0 0 0 - - -;
-#X obj 225 90 - 1;
-#X text 40 193 correct to a size dividable by 64;
-#X obj 225 215 * 3;
-#X floatatom 238 240 0 0 0 0 - - -;
-#X text 143 239 size of array;
-#X text 115 68 length of sample;
-#X text 303 194 (part-length);
-#X obj 322 257 s \$0-partlen;
-#X msg 313 285 \; insert resize \$1;
-#X msg 73 287 \; schnipparray resize \$1;
-#X obj 225 38 inlet;
-#X connect 0 0 6 0;
-#X connect 2 0 1 0;
-#X connect 2 0 3 0;
-#X connect 3 0 4 0;
-#X connect 4 0 5 0;
-#X connect 4 0 8 0;
-#X connect 5 0 13 0;
-#X connect 5 0 14 0;
-#X connect 6 0 2 0;
-#X connect 8 0 9 0;
-#X connect 8 0 15 0;
-#X connect 16 0 0 0;
-#X restore 482 362 pd glaetten;
-#X obj 482 320 soundfiler;
-#X obj 482 278 openpanel;
-#X msg 482 299 read -resize \$1 insert;
-#X obj 482 251 bng 15 250 50 0 empty empty empty 0 -6 0 8 -24198 -1
--1;
-#X floatatom 482 342 0 0 0 0 - - -;
-#X text 326 103 this array is inserted at random triggering points
-;
-#X text 506 251 load sample to insert;
-#X text 332 478 be careful with high density \, with large files costs
-a lot of cpu and glitches can appear;
-#X msg 481 211 \; pd-create_schnippl vis 1;
-#X obj 481 189 bng 15 250 50 0 empty empty empty 0 -6 0 8 -24198 -1
--1;
-#X text 509 188 create samples to insert;
-#X connect 2 0 13 0;
-#X connect 4 0 7 0;
-#X connect 5 0 15 0;
-#X connect 8 0 1 0;
-#X connect 10 0 9 0;
-#X connect 12 0 13 1;
-#X connect 13 0 3 0;
-#X connect 13 0 3 1;
-#X connect 13 0 10 0;
-#X connect 15 0 4 0;
-#X connect 17 0 21 0;
-#X connect 18 0 19 0;
-#X connect 19 0 17 0;
-#X connect 20 0 18 0;
-#X connect 21 0 16 0;
-#X connect 26 0 25 0;