-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy pathpp.fft-split~.pd
600 lines (600 loc) · 17.1 KB
/
pp.fft-split~.pd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
#N canvas 152 123 1006 643 10;
#N canvas 3 50 728 534 fft 0;
#N canvas 0 50 511 389 normalize 0;
#X obj 173 313 outlet;
#X obj 159 208 / 4;
#X msg 157 148 1;
#X obj 173 230 *;
#X obj 159 175 t f f;
#X obj 157 123 t b f;
#X obj 280 117 t b f;
#X obj 173 282 / 1;
#X obj 191 207 / 0.375;
#X obj 280 96 r \$0-window-size;
#X obj 157 100 r \$0-overlap;
#X text 258 208 Hanning mean of squares;
#X connect 1 0 3 0;
#X connect 2 0 4 0;
#X connect 3 0 7 0;
#X connect 4 0 1 0;
#X connect 4 1 8 0;
#X connect 5 0 2 0;
#X connect 5 1 1 1;
#X connect 6 0 2 0;
#X connect 6 1 7 1;
#X connect 7 0 0 0;
#X connect 8 0 3 1;
#X connect 9 0 6 0;
#X connect 10 0 5 0;
#X restore 197 427 pd normalize;
#X obj 163 28 inlet~;
#X obj 163 102 *~;
#X obj 163 124 rfft~;
#X obj 165 383 rifft~;
#X obj 165 405 *~;
#X obj 165 427 *~;
#X obj 165 449 outlet~;
#X obj 192 100 tabreceive~ \$0-hann;
#X obj 198 406 tabreceive~ \$0-hann;
#X msg 566 113 set \$1 \$2;
#X obj 566 91 pack;
#X obj 566 29 r \$0-window-size;
#X obj 579 48 r \$0-overlap;
#X obj 579 70 t b f;
#X obj 353 126 / 44100;
#X obj 353 26 bang~;
#X obj 353 154 * 250;
#X obj 353 176 pack f f;
#X msg 353 203 0 0 \, 1 \$1;
#X obj 411 26 r \$0-window-size;
#X obj 353 229 line~;
#X obj 352 258 expr~ $v1>=$v2;
#X obj 449 208 inlet~;
#X obj 392 106 samplerate~;
#X obj 353 55 t b b;
#X obj 449 230 *~ 0.5;
#X obj 421 131 r \$0-overlap;
#X msg 421 152 1000 \$1;
#X obj 421 173 /;
#X obj 247 289 sig~ 1;
#X obj 247 314 -~;
#X obj 164 339 *~;
#X obj 231 340 *~;
#X obj 336 326 *~;
#X obj 378 326 *~;
#X obj 335 385 rifft~;
#N canvas 0 50 511 389 normalize 0;
#X obj 173 313 outlet;
#X obj 159 208 / 4;
#X msg 157 148 1;
#X obj 173 230 *;
#X obj 159 175 t f f;
#X obj 157 123 t b f;
#X obj 280 117 t b f;
#X obj 173 282 / 1;
#X obj 191 207 / 0.375;
#X obj 280 96 r \$0-window-size;
#X obj 157 100 r \$0-overlap;
#X text 258 208 Hanning mean of squares;
#X connect 1 0 3 0;
#X connect 2 0 4 0;
#X connect 3 0 7 0;
#X connect 4 0 1 0;
#X connect 4 1 8 0;
#X connect 5 0 2 0;
#X connect 5 1 1 1;
#X connect 6 0 2 0;
#X connect 6 1 7 1;
#X connect 7 0 0 0;
#X connect 8 0 3 1;
#X connect 9 0 6 0;
#X connect 10 0 5 0;
#X restore 367 427 pd normalize;
#X obj 335 405 *~;
#X obj 335 427 *~;
#X obj 335 449 outlet~;
#X obj 368 406 tabreceive~ \$0-hann;
#X obj 353 102 f;
#X obj 411 47 t f f;
#X obj 566 135 block~ 1024 4;
#X connect 0 0 6 1;
#X connect 1 0 2 0;
#X connect 2 0 3 0;
#X connect 3 0 32 0;
#X connect 3 0 34 0;
#X connect 3 1 33 0;
#X connect 3 1 35 0;
#X connect 4 0 5 0;
#X connect 5 0 6 0;
#X connect 6 0 7 0;
#X connect 8 0 2 1;
#X connect 9 0 5 1;
#X connect 10 0 44 0;
#X connect 11 0 10 0;
#X connect 12 0 11 0;
#X connect 13 0 14 0;
#X connect 14 0 11 0;
#X connect 14 1 11 1;
#X connect 15 0 17 0;
#X connect 16 0 25 0;
#X connect 17 0 18 0;
#X connect 18 0 19 0;
#X connect 19 0 21 0;
#X connect 20 0 43 0;
#X connect 21 0 22 0;
#X connect 22 0 31 1;
#X connect 22 0 35 1;
#X connect 22 0 34 1;
#X connect 23 0 26 0;
#X connect 24 0 15 1;
#X connect 25 0 42 0;
#X connect 25 1 24 0;
#X connect 26 0 22 1;
#X connect 27 0 28 0;
#X connect 28 0 29 0;
#X connect 29 0 17 1;
#X connect 30 0 31 0;
#X connect 31 0 33 1;
#X connect 31 0 32 1;
#X connect 32 0 4 0;
#X connect 33 0 4 1;
#X connect 34 0 36 0;
#X connect 35 0 36 1;
#X connect 36 0 38 0;
#X connect 37 0 39 1;
#X connect 38 0 39 0;
#X connect 39 0 40 0;
#X connect 41 0 38 1;
#X connect 42 0 15 0;
#X connect 43 0 42 1;
#X connect 43 1 18 1;
#X restore 374 349 pd fft;
#X obj 468 310 sig~;
#X obj 468 290 / 22050;
#X obj 468 222 t f b;
#X obj 494 242 samplerate~;
#X obj 494 263 / 2;
#X obj 453 333 +~;
#X obj 455 101 inlet~;
#X obj 374 99 inlet~;
#X obj 373 392 outlet~;
#X obj 424 393 outlet~;
#N canvas 1 57 450 300 samplerate 0;
#X obj 230 123 outlet;
#X obj 230 96 samplerate~;
#X obj 230 72 r pd-dsp-started;
#X connect 1 0 0 0;
#X connect 2 0 1 0;
#X restore 470 126 pd samplerate;
#X obj 469 148 expr 1/($f1/2);
#X obj 454 170 *~;
#X obj 103 115 hsl 130 15 0 1 0 0 \$0-gui \$0-guir Frequency(hz) 3
8 2 10 -233017 -1 -1 0 1;
#X obj 468 196 r \$0-frequency;
#N canvas 0 50 450 300 map 0;
#X obj 163 95 inlet;
#X obj 162 219 outlet;
#X msg 162 190 set \$1;
#X obj 97 153 * 20000;
#X obj 97 131 pow 2;
#X obj 162 148 / 20000;
#X obj 162 170 sqrt;
#X obj 104 98 inlet;
#X obj 96 218 outlet;
#X connect 0 0 5 0;
#X connect 2 0 1 0;
#X connect 3 0 8 0;
#X connect 4 0 3 0;
#X connect 5 0 6 0;
#X connect 6 0 2 0;
#X connect 7 0 4 0;
#X restore 100 159 pd map;
#X obj 276 115 hsl 2 8 0 1 0 0 \$0-gui \$0-guir empty 3 8 2 10 -233017
-228856 -1 0 1;
#X obj 235 115 nbx 5 15 0 2e+09 0 0 \$0-frequency \$0-frequencyr empty
0 -8 2 10 -228856 -1 -1 0 256;
#X text 760 565 philipp schmalfuß \, 2018;
#N canvas 275 52 823 699 hanning 0;
#X obj 36 24 r \$0-window-size;
#N canvas 0 50 450 300 (subpatch) 0;
#X array \$0-hann 512 float 1;
#A 0 0 3.76701e-05 0.000150621 0.000338852 0.000602335 0.000941008
0.00135487 0.00184381 0.00240776 0.00304663 0.00376037 0.00454885 0.00541192
0.0063495 0.00736138 0.00844747 0.00960758 0.0108416 0.0121492 0.0135303
0.0149846 0.0165121 0.0181123 0.0197851 0.0215302 0.0233473 0.0252362
0.0271967 0.0292284 0.0313309 0.033504 0.0357474 0.0380607 0.0404435
0.0428956 0.0454164 0.0480058 0.0506632 0.0533883 0.0561807 0.0590398
0.0619654 0.064957 0.0680141 0.0711362 0.074323 0.0775737 0.0808882
0.0842658 0.0877059 0.0912082 0.094772 0.0983968 0.102082 0.105827
0.109632 0.113495 0.117417 0.121396 0.125432 0.129525 0.133674 0.137877
0.142135 0.146447 0.150813 0.15523 0.1597 0.164221 0.168793 0.173414
0.178085 0.182804 0.187571 0.192385 0.197245 0.202151 0.207102 0.212097
0.217135 0.222216 0.227338 0.232502 0.237706 0.242949 0.248232 0.253552
0.258909 0.264302 0.269731 0.275195 0.280693 0.286223 0.291786 0.29738
0.303005 0.308659 0.314342 0.320053 0.325791 0.331556 0.337346 0.34316
0.348998 0.354858 0.360741 0.366644 0.372568 0.378511 0.384472 0.39045
0.396445 0.402456 0.408481 0.41452 0.420572 0.426635 0.43271 0.438795
0.44489 0.450992 0.457102 0.463218 0.46934 0.475467 0.481597 0.48773
0.493865 0.500001 0.506136 0.512271 0.518404 0.524534 0.530661 0.536783
0.542899 0.549009 0.555112 0.561206 0.567291 0.573366 0.57943 0.585482
0.59152 0.597546 0.603556 0.609551 0.61553 0.621491 0.627433 0.633357
0.63926 0.645143 0.651003 0.656841 0.662656 0.668445 0.67421 0.679948
0.685659 0.691342 0.696996 0.702621 0.708215 0.713778 0.719308 0.724806
0.73027 0.735699 0.741092 0.746449 0.75177 0.757052 0.762295 0.767499
0.772663 0.777785 0.782866 0.787904 0.792899 0.79785 0.802756 0.807616
0.81243 0.817197 0.821916 0.826587 0.831208 0.83578 0.840301 0.844771
0.849188 0.853554 0.857866 0.862124 0.866327 0.870476 0.874568 0.878605
0.882584 0.886505 0.890369 0.894173 0.897919 0.901604 0.905229 0.908793
0.912295 0.915735 0.919112 0.922427 0.925678 0.928864 0.931987 0.935044
0.938035 0.940961 0.94382 0.946612 0.949337 0.951995 0.954584 0.957105
0.959557 0.96194 0.964253 0.966496 0.96867 0.970772 0.972804 0.974764
0.976653 0.97847 0.980215 0.981888 0.983488 0.985016 0.98647 0.987851
0.989159 0.990393 0.991553 0.992639 0.993651 0.994588 0.995451 0.99624
0.996953 0.997592 0.998156 0.998645 0.999059 0.999398 0.999661 0.999849
0.999962 1 0.999962 0.999849 0.999661 0.999398 0.999059 0.998645 0.998156
0.997592 0.996953 0.99624 0.995451 0.994588 0.993651 0.992639 0.991553
0.990393 0.989159 0.987851 0.98647 0.985016 0.983488 0.981888 0.980215
0.97847 0.976653 0.974764 0.972804 0.970772 0.96867 0.966496 0.964253
0.96194 0.959557 0.957105 0.954584 0.951995 0.949337 0.946612 0.94382
0.940961 0.938035 0.935044 0.931987 0.928864 0.925678 0.922427 0.919112
0.915735 0.912295 0.908793 0.905229 0.901604 0.897919 0.894173 0.890369
0.886505 0.882584 0.878605 0.874568 0.870476 0.866327 0.862124 0.857866
0.853554 0.849188 0.844771 0.840301 0.83578 0.831208 0.826587 0.821916
0.817197 0.81243 0.807616 0.802756 0.79785 0.792899 0.787904 0.782866
0.777785 0.772663 0.767499 0.762295 0.757052 0.75177 0.746449 0.741092
0.735699 0.73027 0.724806 0.719308 0.713778 0.708215 0.702621 0.696996
0.691342 0.685659 0.679948 0.67421 0.668445 0.662656 0.656841 0.651003
0.645143 0.63926 0.633357 0.627433 0.621491 0.61553 0.609551 0.603556
0.597546 0.59152 0.585482 0.57943 0.573366 0.567291 0.561206 0.555112
0.549009 0.542899 0.536783 0.530661 0.524534 0.518404 0.512271 0.506136
0.500001 0.493865 0.48773 0.481597 0.475467 0.46934 0.463218 0.457102
0.450992 0.44489 0.438795 0.43271 0.426635 0.420572 0.41452 0.408481
0.402456 0.396445 0.39045 0.384472 0.378511 0.372568 0.366644 0.360741
0.354858 0.348998 0.34316 0.337346 0.331556 0.325791 0.320053 0.314342
0.308659 0.303005 0.29738 0.291786 0.286223 0.280693 0.275195 0.269731
0.264302 0.258909 0.253552 0.248232 0.242949 0.237706 0.232502 0.227338
0.222216 0.217135 0.212097 0.207102 0.202151 0.197245 0.192385 0.187571
0.182804 0.178085 0.173414 0.168793 0.164221 0.1597 0.15523 0.150813
0.146447 0.142135 0.137877 0.133674 0.129525 0.125432 0.121396 0.117417
0.113495 0.109632 0.105827 0.102082 0.0983968 0.094772 0.0912082 0.0877059
0.0842658 0.0808882 0.0775737 0.074323 0.0711362 0.0680141 0.064957
0.0619654 0.0590398 0.0561807 0.0533883 0.0506632 0.0480058 0.0454164
0.0428956 0.0404435 0.0380607 0.0357474 0.033504 0.0313309 0.0292284
0.0271967 0.0252362 0.0233473 0.0215302 0.0197851 0.0181123 0.0165121
0.0149846 0.0135303 0.0121492 0.0108416 0.00960758 0.00844747 0.00736138
0.0063495 0.00541192 0.00454885 0.00376037 0.00304663 0.00240776 0.00184381
0.00135487 0.000941008 0.000602335 0.000338852 0.000150621 3.76701e-05
;
#X coords 0 1 511 0 300 100 1 0 0;
#X restore 39 219 graph;
#X obj 35 110 tabwrite \$0-hann;
#N canvas 774 181 450 300 make-hann 0;
#X obj 59 330 outlet;
#X obj 112 329 outlet;
#X obj 65 31 inlet;
#X obj 64 195 t f f;
#X obj 59 301 expr 0.5+0.5*cos($f1);
#X obj 64 251 - 1;
#X obj 64 120 until;
#X obj 64 173 f;
#X obj 93 174 + 1;
#X msg 82 148 0;
#X obj 138 214 / 2;
#X obj 64 231 /;
#X obj 64 64 t f b f;
#X obj 59 281 * 3.14159;
#X connect 2 0 12 0;
#X connect 3 0 11 0;
#X connect 3 1 1 0;
#X connect 4 0 0 0;
#X connect 5 0 13 0;
#X connect 6 0 7 0;
#X connect 7 0 8 0;
#X connect 7 0 3 0;
#X connect 8 0 7 1;
#X connect 9 0 7 1;
#X connect 10 0 11 1;
#X connect 11 0 5 0;
#X connect 12 0 6 0;
#X connect 12 1 9 0;
#X connect 12 2 10 0;
#X connect 13 0 4 0;
#X restore 35 82 pd make-hann;
#X obj 158 93 s \$0-hann;
#X msg 158 70 resize \$1;
#X obj 35 53 t f f;
#X connect 0 0 6 0;
#X connect 3 0 2 0;
#X connect 3 1 2 1;
#X connect 5 0 4 0;
#X connect 6 0 3 0;
#X connect 6 1 5 0;
#X restore 662 259 pd hanning;
#N canvas 276 233 450 412 stuff 0;
#X obj 131 125 loadbang;
#X obj 131 275 pack \$0 1024 4;
#X obj 131 147 t b b b;
#X obj 147 190 f \$1;
#X obj 200 186 f \$2;
#X obj 147 212 sel 0;
#X obj 199 208 sel 0;
#X msg 131 298 \; \$1-overlap \$3 \; \$1-window-size \$2;
#N canvas 3 57 617 375 blocksize 0;
#X obj 184 76 t f f;
#X obj 184 212 spigot;
#X text 249 141 prevent setting blocksizes that are not a power of
2;
#X msg 236 232 blocksize is not a power of 2;
#X obj 184 294 outlet;
#X obj 236 210 sel 0;
#X obj 184 54 inlet;
#X obj 236 253 print pp.fft-split-st~;
#X obj 217 123 expr (($f1-1) & $f1) == 0;
#X connect 0 0 1 0;
#X connect 0 1 8 0;
#X connect 1 0 4 0;
#X connect 3 0 7 0;
#X connect 5 0 3 0;
#X connect 6 0 0 0;
#X connect 8 0 1 1;
#X connect 8 0 5 0;
#X restore 171 252 pd blocksize;
#X connect 0 0 2 0;
#X connect 1 0 7 0;
#X connect 2 0 1 0;
#X connect 2 1 3 0;
#X connect 2 2 4 0;
#X connect 3 0 5 0;
#X connect 4 0 6 0;
#X connect 5 1 8 0;
#X connect 6 1 1 2;
#X connect 8 0 1 1;
#X restore 662 235 pd stuff;
#X obj 655 112 inlet;
#N canvas 3 57 450 300 in 0;
#X obj 83 9 inlet;
#X obj 84 86 route blocksize overlap frequency;
#X obj 68 177 s \$0-window-size;
#X obj 177 154 s \$0-overlap;
#X obj 230 121 s \$0-frequencyr;
#X obj 69 128 change;
#X obj 171 130 change;
#N canvas 3 57 617 375 blocksize 0;
#X obj 184 76 t f f;
#X obj 184 212 spigot;
#X text 290 151 prevent setting blocksizes that are not a power of
2;
#X msg 235 207 blocksize is not a power of 2;
#X obj 184 294 outlet;
#X obj 235 185 sel 0;
#X obj 184 54 inlet;
#X obj 235 228 print pp.fft-split~;
#X obj 217 132 expr (($f1-1) & $f1) == 0;
#X connect 0 0 1 0;
#X connect 0 1 8 0;
#X connect 1 0 4 0;
#X connect 3 0 7 0;
#X connect 5 0 3 0;
#X connect 6 0 0 0;
#X connect 8 0 1 1;
#X connect 8 0 5 0;
#X restore 68 153 pd blocksize;
#N canvas 698 546 200 251 route 0;
#X obj 20 20 inlet;
#X obj 30 60 route save recall;
#X obj 30 85 route float;
#X obj 97 111 route float;
#X obj 30 136 s \$0-save;
#X obj 30 108 i;
#X obj 98 133 i;
#X obj 98 161 s \$0-recall;
#X connect 0 0 1 0;
#X connect 1 0 2 0;
#X connect 1 1 3 0;
#X connect 2 0 5 0;
#X connect 3 0 6 0;
#X connect 5 0 4 0;
#X connect 6 0 7 0;
#X restore 100 34 pd route save-recall;
#N canvas 362 125 450 479 recall 0;
#X obj 49 145 outlet;
#N canvas 3 54 450 600 listsplit 0;
#X obj 158 23 inlet;
#X obj 220 87 list length;
#X obj 220 113 until;
#X obj 182 150 f;
#X obj 278 150 + 1;
#X msg 265 111 0;
#X obj 182 226 list store;
#X msg 182 202 get \$1 1;
#X obj 154 367 list split;
#X obj 222 342 f;
#X obj 154 334 list;
#X obj 98 124 list;
#X obj 182 389 list split 1;
#X obj 154 274 t bang bang bang;
#X obj 182 179 t f f;
#X obj 158 48 t l l l b;
#X obj 154 473 outlet;
#X obj 154 440 list trim;
#X obj 163 248 sel |;
#X text 275 197 hacky split list at "|";
#X connect 0 0 15 0;
#X connect 1 0 2 0;
#X connect 2 0 3 0;
#X connect 3 0 4 0;
#X connect 3 0 14 0;
#X connect 4 0 3 1;
#X connect 5 0 3 1;
#X connect 6 0 18 0;
#X connect 7 0 6 0;
#X connect 8 0 17 0;
#X connect 8 1 12 0;
#X connect 9 0 8 1;
#X connect 10 0 8 0;
#X connect 11 0 15 0;
#X connect 12 1 11 0;
#X connect 13 0 10 0;
#X connect 13 1 9 0;
#X connect 13 2 2 1;
#X connect 14 0 7 0;
#X connect 14 1 9 1;
#X connect 15 0 1 0;
#X connect 15 1 10 1;
#X connect 15 2 6 1;
#X connect 15 3 5 0;
#X connect 17 0 16 0;
#X connect 18 0 13 0;
#X restore 49 117 pd listsplit;
#X obj 49 24 r \$0-recall;
#X obj 49 54 pipe 1;
#X obj 221 409 text fromlist \$0-savestates;
#X obj 49 77 text get \$0-savestates;
#X msg 253 246 21;
#X obj 253 269 until;
#X obj 253 292 f;
#X obj 300 295 + 1;
#X obj 253 315 t b f;
#X obj 253 367 text set \$0-savestates;
#X obj 221 114 text tolist \$0-savestates;
#X msg 253 342 list empty_slot;
#X obj 221 160 t a b;
#X obj 151 166 loadbang;
#X obj 221 137 savestate;
#X obj 221 33 text define \$0-savestates;
#X obj 151 189 del 0;
#X msg 298 199 0;
#X obj 253 220 spigot 1;
#X connect 1 0 0 0;
#X connect 2 0 3 0;
#X connect 3 0 5 0;
#X connect 5 0 1 0;
#X connect 6 0 7 0;
#X connect 7 0 8 0;
#X connect 8 0 9 0;
#X connect 8 0 10 0;
#X connect 9 0 8 1;
#X connect 10 0 13 0;
#X connect 10 1 11 1;
#X connect 12 0 16 0;
#X connect 13 0 11 0;
#X connect 14 0 4 0;
#X connect 14 1 19 0;
#X connect 15 0 18 0;
#X connect 16 0 14 0;
#X connect 16 1 12 0;
#X connect 18 0 20 0;
#X connect 19 0 20 1;
#X connect 20 0 6 0;
#X restore 143 54 pd recall;
#X connect 0 0 1 0;
#X connect 0 0 8 0;
#X connect 1 0 5 0;
#X connect 1 1 6 0;
#X connect 1 2 4 0;
#X connect 5 0 7 0;
#X connect 6 0 3 0;
#X connect 7 0 2 0;
#X connect 9 0 1 0;
#X restore 655 135 pd in;
#N canvas 3 54 450 414 outlet-message 0;
#X obj 162 277 list trim;
#X msg 82 275 addcomma;
#X msg 64 176 set;
#X obj 162 254 list prepend add2;
#X obj 162 362 outlet;
#X msg 115 186 frequency \$1 \, blocksize \$2 \, overlap \$3;
#X obj 115 118 pack f f f;
#X obj 179 53 t b f;
#X obj 219 52 t b f;
#X obj 179 25 r \$0-window-size;
#X obj 285 26 r \$0-overlap;
#X obj 88 23 r \$0-frequency;
#X obj 115 75 del 0;
#X obj 115 97 f;
#X obj 116 50 t b f;
#X obj 115 145 t b a b;
#X obj 115 218 t b a a;
#N canvas 497 319 297 264 save 0;
#X obj 48 16 inlet;
#N canvas 690 259 481 384 collect 0;
#X obj 47 60 inlet;
#X obj 47 274 outlet;
#X obj 98 180 list;
#X obj 166 181 t l;
#X obj 47 225 list;
#X obj 98 139 list append |;
#X obj 47 126 del 0;
#X obj 47 82 t b a;
#X text 119 75 hacky thing... replaycing " \, " with "|";
#X connect 0 0 7 0;
#X connect 2 0 3 0;
#X connect 2 0 4 1;
#X connect 3 0 2 1;
#X connect 4 0 1 0;
#X connect 5 0 2 0;
#X connect 6 0 2 1;
#X connect 6 0 4 0;
#X connect 7 0 6 0;
#X connect 7 1 5 0;
#X restore 48 38 pd collect;
#X obj 117 16 r \$0-save;
#X obj 27 130 text set \$0-savestates;
#X obj 27 104 list;
#X obj 117 62 t b f;
#X obj 117 39 clip 0 20;
#X connect 0 0 1 0;
#X connect 1 0 4 1;
#X connect 2 0 6 0;
#X connect 4 0 3 0;
#X connect 5 0 4 0;
#X connect 5 1 3 1;
#X connect 6 0 5 0;
#X restore 224 228 pd save;
#X connect 0 0 4 0;
#X connect 1 0 4 0;
#X connect 2 0 4 0;
#X connect 3 0 0 0;
#X connect 5 0 16 0;
#X connect 6 0 15 0;
#X connect 7 0 12 0;
#X connect 7 1 6 1;
#X connect 8 0 12 0;
#X connect 8 1 6 2;
#X connect 9 0 7 0;
#X connect 10 0 8 0;
#X connect 11 0 14 0;
#X connect 12 0 13 0;
#X connect 13 0 6 0;
#X connect 14 0 12 0;
#X connect 14 1 13 1;
#X connect 15 0 4 0;
#X connect 15 1 5 0;
#X connect 15 2 2 0;
#X connect 16 0 1 0;
#X connect 16 1 3 0;
#X connect 16 2 17 0;
#X restore 658 342 pd outlet-message;
#X obj 658 385 outlet;
#X connect 0 0 9 0;
#X connect 0 1 10 0;
#X connect 1 0 6 1;
#X connect 2 0 1 0;
#X connect 3 0 2 0;
#X connect 3 1 4 0;
#X connect 4 0 5 0;
#X connect 5 0 2 1;
#X connect 6 0 0 1;
#X connect 7 0 13 0;
#X connect 8 0 0 0;
#X connect 11 0 12 0;
#X connect 12 0 13 1;
#X connect 13 0 6 0;
#X connect 14 0 16 0;
#X connect 15 0 3 0;
#X connect 16 0 18 0;
#X connect 16 1 14 0;
#X connect 18 0 16 1;
#X connect 22 0 23 0;
#X connect 24 0 25 0;
#X coords 0 -1 1 1 180 33 1 100 100;