-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy pathpp.graindelay~.pd
1247 lines (1247 loc) · 42.5 KB
/
pp.graindelay~.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
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
#N canvas 226 349 986 587 10;
#X obj 287 139 tgl 15 0 empty empty empty 17 7 0 10 #fcfcfc #000000 #000000 0 1;
#X obj 287 179 metro 100;
#X msg 289 266 next bang;
#X obj 338 131 random;
#X obj 338 154 +;
#N canvas 50 60 532 262 \$0-graindelay~ 0;
#N canvas 133 210 841 473 mask 0;
#X obj 100 100 cnv 15 520 250 empty empty empty 20 12 0 14 #fcfcfc #404040 0;
#X obj 115 157 nbx 8 12 0 171000 0 0 \$0-delay \$0-delayr Delay(ms) 70 7 2 10 #fcfcfc #000000 #000000 0 256;
#X obj 109 128 tgl 20 0 \$0-int_triggeronoff \$0-int_triggeronoffr empty 17 7 2 10 #dcdcdc #000000 #000000 0 1;
#X obj 284 158 nbx 8 12 0 171000 0 0 \$0-random-delay \$0-random-delayr Random-Delay(ms) 70 7 2 10 #fcfcfc #000000 #000000 0 256;
#X obj 115 172 nbx 5 12 -6000 6000 0 0 \$0-size \$0-sizer Grainsize(ms) 69 7 2 10 #fcfcfc #000000 #000000 0 256;
#X obj 142 142 nbx 4 12 3.125 1e+09 0 0 \$0-distance \$0-distancer Grain-Distance(ms) 42 7 2 10 #fcfcfc #000000 #000000 0 256;
#X obj 284 173 nbx 5 12 0 1e+11 0 0 \$0-random-size \$0-random-sizer Random-Grainsize(ms) 70 7 2 10 #fcfcfc #000000 #000000 0 256;
#X obj 284 143 nbx 4 12 0 1e+37 0 0 \$0-random-distance \$0-random-distancer Random-Grain-Distance(ms) 70 7 2 10 #fcfcfc #000000 #000000 0 256;
#X obj 115 187 nbx 5 12 -1e+28 1e+28 0 0 \$0-pitch \$0-pitchr Pitch(cents) 70 7 2 10 #fcfcfc #000000 #000000 0 256;
#X obj 284 188 nbx 5 12 0 1e+13 0 0 \$0-random-pitch \$0-random-pitchr Random-Pitch(cents) 70 7 2 10 #fcfcfc #000000 #000000 0 256;
#X obj 273 193 cnv 5 5 5 empty empty + 0 0 0 10 #fcfcfc #404040 0;
#X obj 273 198 cnv 5 1 1 empty empty _ 0 -5 0 10 #fcfcfc #404040 0;
#X obj 274 149 cnv 5 5 5 empty empty + 0 0 0 10 #fcfcfc #404040 0;
#X obj 273 164 cnv 5 5 5 empty empty + 0 0 0 10 #fcfcfc #404040 0;
#X obj 273 179 cnv 5 5 5 empty empty + 0 0 0 10 #fcfcfc #404040 0;
#X obj 115 202 nbx 4 12 -100 100 0 0 \$0-pan \$0-panr Panorama 70 7 2 10 #fcfcfc #000000 #000000 0 256;
#X obj 284 203 nbx 4 12 0 100 0 0 \$0-random-pan \$0-random-panr Random-Panorama(%) 70 7 2 10 #fcfcfc #000000 #000000 0 256;
#X obj 273 208 cnv 5 5 5 empty empty + 0 0 0 10 #fcfcfc #404040 0;
#X obj 273 213 cnv 5 1 1 empty empty _ 0 -5 0 10 #fcfcfc #404040 0;
#X obj 115 217 nbx 4 12 -100 0 0 0 \$0-amp \$0-ampr Amplitude(db) 70 7 2 10 #fcfcfc #000000 #000000 0 256;
#X obj 284 218 nbx 4 12 0 100 0 0 \$0-random-amp \$0-random-ampr Random-Amplitude(db) 70 7 2 10 #fcfcfc #000000 #000000 0 256;
#X obj 273 224 cnv 5 1 1 empty empty _ 0 -5 0 10 #fcfcfc #404040 0;
#X obj 496 275 hradio 10 1 0 5 \$0-env-type \$0-env-typer Type 0 -7 2 10 #fcfcfc #000000 #000000 0;
#X obj 496 143 cnv 15 98 72 empty empty empty 20 12 0 14 #9c9c9c #404040 0;
#N canvas 3 52 450 300 mask 0;
#X obj 101 101 cnv 15 94 68 empty empty empty 20 12 0 14 #fcfcfc #404040 0;
#N canvas 0 50 450 250 (subpatch) 0;
#X array \$0-window 1024 float 3;
#A 0 0 0.0331044 0.052018 0.0677608 0.0817374 0.0945351 0.106464 0.117715 0.128417 0.13866 0.148511 0.158022 0.167234 0.176179 0.184884 0.193373 0.201664 0.209773 0.217714 0.2255 0.23314 0.240645 0.248022 0.255279 0.262423 0.26946 0.276395 0.283234 0.28998 0.296637 0.303211 0.309704 0.316119 0.322459 0.328728 0.334927 0.34106 0.347127 0.353132 0.359077 0.364963 0.370792 0.376565 0.382285 0.387952 0.393568 0.399134 0.404651 0.410122 0.415545 0.420924 0.426258 0.431549 0.436798 0.442004 0.447171 0.452297 0.457383 0.462432 0.467442 0.472415 0.477351 0.482252 0.487117 0.491947 0.496743 0.501504 0.506233 0.510928 0.515591 0.520222 0.524822 0.52939 0.533927 0.538434 0.542911 0.547358 0.551775 0.556163 0.560523 0.564854 0.569157 0.573432 0.577679 0.581899 0.586091 0.590257 0.594396 0.598508 0.602594 0.606655 0.610689 0.614698 0.618681 0.62264 0.626573 0.630481 0.634365 0.638224 0.642058 0.645869 0.649655 0.653418 0.657156 0.660872 0.664563 0.668231 0.671876 0.675498 0.679097 0.682673 0.686226 0.689757 0.693265 0.69675 0.700214 0.703655 0.707074 0.71047 0.713845 0.717198 0.720529 0.723839 0.727127 0.730393 0.733638 0.736861 0.740063 0.743244 0.746404 0.749542 0.75266 0.755756 0.758832 0.761886 0.76492 0.767933 0.770926 0.773898 0.776849 0.779779 0.78269 0.785579 0.788449 0.791298 0.794126 0.796935 0.799723 0.802491 0.805239 0.807966 0.810674 0.813362 0.816029 0.818677 0.821305 0.823913 0.826501 0.829069 0.831618 0.834146 0.836655 0.839145 0.841614 0.844064 0.846494 0.848905 0.851296 0.853667 0.856019 0.858352 0.860665 0.862959 0.865233 0.867487 0.869723 0.871939 0.874135 0.876312 0.87847 0.880609 0.882728 0.884828 0.886908 0.88897 0.891012 0.893035 0.895039 0.897024 0.898989 0.900935 0.902862 0.90477 0.906659 0.908529 0.910379 0.912211 0.914023 0.915817 0.917591 0.919346 0.921082 0.9228 0.924498 0.926177 0.927837 0.929478 0.9311 0.932703 0.934287 0.935852 0.937399 0.938926 0.940434 0.941923 0.943394 0.944845 0.946278 0.947691 0.949086 0.950462 0.951819 0.953157 0.954476 0.955776 0.957057 0.958319 0.959563 0.960787 0.961993 0.96318 0.964348 0.965497 0.966627 0.967739 0.968831 0.969905 0.97096 0.971996 0.973013 0.974011 0.974991 0.975951 0.976893 0.977816 0.97872 0.979606 0.980472 0.98132 0.982148 0.982958 0.98375 0.984522 0.985276 0.98601 0.986726 0.987423 0.988102 0.988761 0.989402 0.990024 0.990627 0.991211 0.991776 0.992323 0.992851 0.99336 0.99385 0.994321 0.994774 0.995208 0.995623 0.996019 0.996397 0.996755 0.997095 0.997416 0.997718 0.998002 0.998266 0.998512 0.998739 0.998948 0.999137 0.999308 0.99946 0.999593 0.999707 0.999803 0.999879 0.999937 0.999976 0.999997 1 0.999997 0.999991 0.999982 0.999971 0.999956 0.999938 0.999917 0.999893 0.999866 0.999836 0.999803 0.999768 0.999729 0.999687 0.999642 0.999594 0.999543 0.999489 0.999432 0.999371 0.999308 0.999242 0.999173 0.999101 0.999026 0.998948 0.998867 0.998782 0.998695 0.998605 0.998512 0.998416 0.998316 0.998214 0.998109 0.998 0.997889 0.997775 0.997657 0.997537 0.997414 0.997287 0.997158 0.997025 0.99689 0.996751 0.99661 0.996466 0.996318 0.996167 0.996014 0.995857 0.995698 0.995535 0.99537 0.995201 0.995029 0.994855 0.994677 0.994496 0.994313 0.994126 0.993936 0.993743 0.993548 0.993349 0.993147 0.992942 0.992734 0.992523 0.99231 0.992093 0.991873 0.99165 0.991424 0.991195 0.990963 0.990728 0.99049 0.990249 0.990005 0.989758 0.989508 0.989254 0.988998 0.988739 0.988477 0.988212 0.987944 0.987672 0.987398 0.987121 0.986841 0.986557 0.986271 0.985982 0.985689 0.985394 0.985096 0.984794 0.98449 0.984182 0.983872 0.983559 0.983242 0.982922 0.9826 0.982274 0.981946 0.981614 0.98128 0.980942 0.980601 0.980258 0.979911 0.979561 0.979208 0.978853 0.978494 0.978132 0.977767 0.977399 0.977029 0.976655 0.976278 0.975898 0.975515 0.975129 0.97474 0.974348 0.973953 0.973555 0.973154 0.97275 0.972342 0.971932 0.971519 0.971103 0.970684 0.970261 0.969836 0.969408 0.968976 0.968542 0.968105 0.967664 0.967221 0.966774 0.966325 0.965872 0.965417 0.964958 0.964497 0.964032 0.963564 0.963094 0.96262 0.962143 0.961663 0.961181 0.960695 0.960206 0.959714 0.959219 0.958721 0.95822 0.957716 0.957209 0.956699 0.956186 0.95567 0.955151 0.954629 0.954104 0.953575 0.953044 0.95251 0.951972 0.951432 0.950889 0.950342 0.949793 0.94924 0.948685 0.948126 0.947564 0.947 0.946432 0.945861 0.945288 0.944711 0.944131 0.943548 0.942962 0.942373 0.941781 0.941186 0.940588 0.939987 0.939383 0.938776 0.938165 0.937552 0.936936 0.936316 0.935694 0.935069 0.93444 0.933809 0.933174 0.932536 0.931896 0.931252 0.930605 0.929955 0.929303 0.928647 0.927988 0.927326 0.926661 0.925993 0.925321 0.924647 0.92397 0.92329 0.922606 0.92192 0.92123 0.920538 0.919842 0.919144 0.918442 0.917737 0.917029 0.916319 0.915605 0.914888 0.914168 0.913445 0.912718 0.911989 0.911257 0.910522 0.909783 0.909042 0.908297 0.90755 0.906799 0.906045 0.905288 0.904528 0.903765 0.902999 0.90223 0.901458 0.900683 0.899905 0.899123 0.898339 0.897551 0.896761 0.895967 0.89517 0.89437 0.893567 0.892761 0.891952 0.89114 0.890325 0.889507 0.888685 0.887861 0.887033 0.886202 0.885369 0.884532 0.883692 0.882849 0.882003 0.881153 0.880301 0.879446 0.878587 0.877725 0.876861 0.875993 0.875122 0.874248 0.873371 0.87249 0.871607 0.870721 0.869831 0.868938 0.868043 0.867144 0.866242 0.865337 0.864428 0.863517 0.862603 0.861685 0.860764 0.85984 0.858913 0.857983 0.85705 0.856114 0.855174 0.854232 0.853286 0.852337 0.851385 0.85043 0.849472 0.84851 0.847546 0.846578 0.845607 0.844633 0.843656 0.842675 0.841692 0.840705 0.839716 0.838723 0.837727 0.836727 0.835725 0.834719 0.833711 0.832699 0.831684 0.830665 0.829644 0.828619 0.827592 0.826561 0.825527 0.824489 0.823449 0.822405 0.821358 0.820308 0.819255 0.818198 0.817139 0.816076 0.81501 0.813941 0.812868 0.811793 0.810714 0.809632 0.808546 0.807458 0.806366 0.805271 0.804173 0.803071 0.801967 0.800859 0.799748 0.798633 0.797516 0.796395 0.795271 0.794144 0.793013 0.791879 0.790742 0.789602 0.788458 0.787311 0.786161 0.785008 0.783851 0.782691 0.781528 0.780361 0.779191 0.778018 0.776842 0.775662 0.774479 0.773293 0.772103 0.77091 0.769714 0.768514 0.767312 0.766105 0.764896 0.763683 0.762467 0.761247 0.760024 0.758798 0.757569 0.756336 0.755099 0.75386 0.752617 0.75137 0.750121 0.748868 0.747611 0.746351 0.745088 0.743821 0.742551 0.741278 0.740001 0.738721 0.737437 0.73615 0.734859 0.733566 0.732268 0.730967 0.729663 0.728355 0.727044 0.725729 0.724411 0.72309 0.721765 0.720436 0.719104 0.717769 0.71643 0.715087 0.713741 0.712392 0.711039 0.709682 0.708322 0.706959 0.705592 0.704221 0.702847 0.701469 0.700088 0.698703 0.697314 0.695922 0.694526 0.693127 0.691724 0.690318 0.688908 0.687494 0.686077 0.684656 0.683231 0.681803 0.680371 0.678935 0.677496 0.676053 0.674607 0.673156 0.671702 0.670244 0.668783 0.667318 0.665849 0.664376 0.6629 0.66142 0.659936 0.658448 0.656957 0.655461 0.653962 0.652459 0.650953 0.649442 0.647928 0.64641 0.644887 0.643362 0.641832 0.640298 0.63876 0.637219 0.635673 0.634124 0.632571 0.631014 0.629452 0.627887 0.626318 0.624745 0.623168 0.621587 0.620001 0.618412 0.616819 0.615222 0.61362 0.612015 0.610405 0.608791 0.607173 0.605551 0.603925 0.602295 0.600661 0.599022 0.597379 0.595732 0.594081 0.592425 0.590765 0.589101 0.587433 0.58576 0.584083 0.582402 0.580716 0.579026 0.577331 0.575632 0.573929 0.572221 0.570509 0.568793 0.567071 0.565346 0.563616 0.561881 0.560142 0.558398 0.556649 0.554896 0.553139 0.551376 0.549609 0.547837 0.546061 0.54428 0.542494 0.540703 0.538907 0.537107 0.535302 0.533492 0.531677 0.529857 0.528032 0.526202 0.524367 0.522528 0.520683 0.518833 0.516978 0.515118 0.513252 0.511382 0.509506 0.507625 0.505739 0.503848 0.501951 0.500049 0.498141 0.496228 0.49431 0.492386 0.490456 0.488522 0.486581 0.484635 0.482683 0.480726 0.478763 0.476794 0.474819 0.472839 0.470852 0.46886 0.466862 0.464857 0.462847 0.460831 0.458809 0.45678 0.454745 0.452704 0.450657 0.448603 0.446543 0.444477 0.442404 0.440324 0.438238 0.436145 0.434046 0.43194 0.429827 0.427707 0.42558 0.423447 0.421306 0.419158 0.417003 0.414841 0.412671 0.410494 0.40831 0.406118 0.403919 0.401712 0.399497 0.397275 0.395045 0.392806 0.39056 0.388306 0.386043 0.383772 0.381493 0.379206 0.37691 0.374605 0.372291 0.369969 0.367638 0.365297 0.362948 0.360589 0.358221 0.355844 0.353457 0.35106 0.348653 0.346237 0.34381 0.341373 0.338926 0.336468 0.334 0.331521 0.329031 0.326529 0.324017 0.321493 0.318957 0.31641 0.313851 0.31128 0.308696 0.3061 0.303491 0.300869 0.298234 0.295586 0.292924 0.290248 0.287558 0.284853 0.282134 0.2794 0.276651 0.273886 0.271106 0.26831 0.265496 0.262667 0.25982 0.256955 0.254073 0.251172 0.248252 0.245314 0.242355 0.239377 0.236378 0.233357 0.230315 0.22725 0.224163 0.221052 0.217917 0.214757 0.211572 0.208359 0.20512 0.201853 0.198556 0.195229 0.191871 0.188481 0.185058 0.181599 0.178105 0.174573 0.171002 0.16739 0.163736 0.160037 0.156292 0.152497 0.14865 0.14475;
#A 1000 0.140792 0.136773 0.132689 0.128539 0.124314 0.12001 0.115623 0.111143 0.106566 0.101878 0.0970761 0.0921412 0.0870608 0.0818165 0.0763858 0.0707398 0.0648411 0.0586459 0.0520705 0.045025 0.0373137 0.028639 0.0182642 0;
#X coords 0 1 1024 0 96 70 1 0 0;
#X restore 100 100 graph;
#X coords 0 -1 1 1 96 70 2 100 100;
#X restore 497 144 pd mask;
#X obj 496 129 cnv 12 80 12 empty empty empty 20 12 0 14 #fcfcfc #404040 0;
#X obj 499 229 hsl 92 10 0 1 0 0 \$0-env-bias \$0-env-biasr Bias -2 -7 2 10 #fcfcfc #000000 #000000 0 1;
#X obj 496 128 cnv 10 10 10 empty empty Grain-Envelope 0 5 2 10 #fcfcfc #000000 0;
#X obj 133 126 cnv 10 10 10 empty empty Int.Grain-Trigger 0 5 2 10 #fcfcfc #000000 0;
#X obj 115 292 nbx 5 12 0 15000 0 0 \$0-filter-freq \$0-filter-freqr Frequency(Hz) 70 7 2 10 #fcfcfc #000000 #000000 0 256;
#X obj 284 292 nbx 5 12 0 15000 0 0 \$0-random-filter-freq \$0-random-filter-freqr Random-Frequency(Hz) 70 7 2 10 #fcfcfc #000000 #000000 0 256;
#X obj 115 307 nbx 3 12 0 100 0 0 \$0-filter-q \$0-filter-qr Q 70 6 2 9 #fcfcfc #000000 #000000 0 256;
#X obj 284 307 nbx 3 12 0 100 0 0 \$0-random-filter-q \$0-random-filter-qr Random-Q 70 6 2 9 #fcfcfc #000000 #000000 0 256;
#X obj 141 278 tgl 10 0 \$0-filter-bypass \$0-filter-bypassr Bypass 15 6 2 10 #fcfcfc #000000 #000000 0 1;
#X obj 273 297 cnv 5 5 5 empty empty + 0 0 0 10 #fcfcfc #404040 0;
#X obj 273 313 cnv 5 5 5 empty empty + 0 0 0 10 #fcfcfc #404040 0;
#X obj 115 262 cnv 10 10 10 empty empty bp-Filter 0 5 2 10 #fcfcfc #000000 0;
#X obj 499 252 hsl 92 10 0 1 0 0 \$0-env-shape \$0-env-shaper Shape -2 -7 2 10 #fcfcfc #000000 #000000 0 1;
#X obj 330 118 cnv 15 10 10 empty empty graindelay~ 0 0 2 14 #fcfcfc #9c9c9c 0;
#X obj 540 105 cnv 10 10 10 empty \$0-active-grains 0 0 5 2 11 #fcfcfc #000000 0;
#X obj 517 105 cnv 10 10 10 empty empty max. 0 5 2 10 #fcfcfc #000000 0;
#X obj 560 106 cnv 10 10 10 empty empty Grains 0 5 2 10 #fcfcfc #000000 0;
#X obj 592 106 cnv 10 10 10 empty empty active 0 5 2 10 #fcfcfc #000000 0;
#X obj 115 242 nbx 4 12 0 1e+11 0 0 \$0-feedback \$0-feedbackr Feedback(%) 70 7 2 10 #fcfcfc #000000 #000000 0 256;
#X obj 270 243 nbx 6 12 0 10000 0 0 \$0-damping \$0-dampingr Feedback-damping(hz) 70 7 2 10 #fcfcfc #000000 #000000 0 256;
#X obj 496 318 nbx 4 14 0 100 0 0 \$0-drywet \$0-drywetr Dry/Wet(%) 0 -7 2 10 #fcfcfc #000000 #000000 0 256;
#X obj 270 258 tgl 10 0 \$0-xfeed \$0-xfeedr X-feed 15 6 2 10 #fcfcfc #000000 #000000 0 1;
#X coords 0 -1 1 1 521 251 2 100 100;
#X restore 5 3 pd mask;
#X restore 766 258 pd \$0-graindelay~;
#X obj 287 202 s \$0-trigger;
#X obj 338 107 r \$0-trigger;
#X obj 289 243 r \$0-trigger;
#X obj 287 79 r \$0-int_triggeronoff;
#N canvas 288 160 1200 538 map 0;
#X obj 215 232 s \$0-grainsize;
#X obj 215 49 r \$0-size;
#X obj 262 98 r \$0-random-size;
#X obj 229 131 random;
#X obj 229 75 r \$0-trigger;
#X obj 215 181 +;
#X obj 229 154 t b f;
#X obj 39 258 s \$0-grainpitch;
#X obj 59 193 r \$0-pitch;
#X obj 39 236 +;
#X obj 58 213 t b f;
#X obj 39 83 r \$0-trigger;
#X obj 39 172 -;
#X obj 39 150 random;
#X obj 78 106 r \$0-random-pitch;
#X obj 78 129 * 2;
#X obj 391 232 s \$0-grainpan;
#X obj 391 183 / 100;
#X obj 420 33 r \$0-trigger;
#X obj 391 11 r \$0-pan;
#X obj 391 210 clip -1 1;
#X obj 460 53 r \$0-random-pan;
#X obj 459 73 * 2;
#X obj 420 115 -;
#X obj 420 93 random;
#X obj 388 266 r \$0-amp;
#X obj 388 411 + 100;
#X obj 388 433 dbtorms;
#X obj 398 357 t b f;
#X obj 399 292 r \$0-trigger;
#X obj 399 335 random;
#X obj 438 313 r \$0-random-amp;
#X obj 388 454 s \$0-grainamp;
#X obj 388 385 -;
#X obj 420 137 t b f;
#X obj 391 160 +;
#X obj 632 37 r \$0-trigger;
#X obj 600 137 s \$0-freq;
#X obj 600 286 s \$0-q;
#X obj 632 59 random;
#X obj 632 81 t b f;
#X obj 600 106 +;
#X obj 617 196 r \$0-trigger;
#X obj 617 218 random;
#X obj 617 240 t b f;
#X obj 600 265 +;
#X obj 600 14 r \$0-filter-freq;
#X obj 682 58 r \$0-random-filter-freq;
#X obj 600 163 r \$0-filter-q;
#X obj 666 217 r \$0-random-filter-q;
#X obj 215 210 clip -6000 6000;
#X obj 859 26 r \$0-distance-set;
#X obj 859 305 max;
#X obj 859 341 s \$0-distancer;
#X obj 922 122 r \$0-random-size;
#X obj 871 95 r \$0-size;
#X obj 922 147 t b f;
#X obj 922 177 +;
#X obj 871 186 abs;
#X obj 922 228 max;
#X obj 922 200 t b f;
#X obj 871 146 t f f;
#X obj 922 254 / 32;
#X obj 859 49 pipe 0;
#X connect 1 0 5 0;
#X connect 2 0 3 1;
#X connect 3 0 6 0;
#X connect 4 0 3 0;
#X connect 5 0 50 0;
#X connect 6 0 5 0;
#X connect 6 1 5 1;
#X connect 8 0 10 0;
#X connect 9 0 7 0;
#X connect 10 0 9 0;
#X connect 10 1 9 1;
#X connect 11 0 13 0;
#X connect 12 0 9 0;
#X connect 13 0 12 0;
#X connect 14 0 12 1;
#X connect 14 0 15 0;
#X connect 15 0 13 1;
#X connect 17 0 20 0;
#X connect 18 0 24 0;
#X connect 19 0 35 0;
#X connect 20 0 16 0;
#X connect 21 0 22 0;
#X connect 21 0 23 1;
#X connect 22 0 24 1;
#X connect 23 0 34 0;
#X connect 24 0 23 0;
#X connect 25 0 33 0;
#X connect 26 0 27 0;
#X connect 27 0 32 0;
#X connect 28 0 33 0;
#X connect 28 1 33 1;
#X connect 29 0 30 0;
#X connect 30 0 28 0;
#X connect 31 0 30 1;
#X connect 33 0 26 0;
#X connect 34 0 35 0;
#X connect 34 1 35 1;
#X connect 35 0 17 0;
#X connect 36 0 39 0;
#X connect 39 0 40 0;
#X connect 40 0 41 0;
#X connect 40 1 41 1;
#X connect 41 0 37 0;
#X connect 42 0 43 0;
#X connect 43 0 44 0;
#X connect 44 0 45 0;
#X connect 44 1 45 1;
#X connect 45 0 38 0;
#X connect 46 0 41 0;
#X connect 47 0 39 1;
#X connect 48 0 45 0;
#X connect 49 0 43 1;
#X connect 50 0 0 0;
#X connect 51 0 63 0;
#X connect 52 0 53 0;
#X connect 54 0 56 0;
#X connect 55 0 61 0;
#X connect 56 0 57 0;
#X connect 56 1 57 1;
#X connect 57 0 60 0;
#X connect 58 0 59 0;
#X connect 59 0 62 0;
#X connect 60 0 59 0;
#X connect 60 1 59 1;
#X connect 61 0 58 0;
#X connect 61 1 57 0;
#X connect 62 0 52 1;
#X connect 63 0 52 0;
#X restore 766 216 pd map;
#N canvas 355 235 784 586 stuff 0;
#X obj 176 53 r \$0-visbng;
#X obj 196 184 s \$0-visbngr;
#X msg 176 156 color 0 0;
#X msg 260 156 color 10 10;
#X obj 260 134 del 250;
#X obj 176 75 t b;
#X obj 501 197 /;
#X obj 530 175 t b f;
#X obj 501 218 i;
#X obj 564 268 r \$0-int_triggeronoff;
#X obj 500 393 spigot;
#X obj 564 290 t f f;
#X obj 512 309 sel 1;
#X obj 501 329 f;
#X obj 539 497 s \$0-active-grains;
#X msg 539 475 label \$1;
#X obj 577 326 loadbang;
#X msg 577 348 0;
#X obj 539 453 makefilename %d;
#X obj 483 369 f;
#X obj 281 182 s \$0-namecnv;
#X obj 413 325 metro 100;
#X obj 501 239 abs;
#X obj 413 283 r \$0-visbng;
#X obj 413 304 t b;
#X obj 396 270 bng 15 250 50 0 empty empty empty 17 7 0 10 #fcfcfc #000000 #000000;
#X obj 89 129 s pd-\$0-graindelay~;
#X msg 89 105 relocate 532x262+1+1 1x1+50+60 \, vis 1 \, editmode 0;
#X obj 501 262 + 1;
#X obj 501 286 min 32;
#X text 8 276 grain-distance should not fall below grain-size / max.grains (32);
#X obj 120 345 r \$0-random-size;
#X obj 69 318 r \$0-size;
#X obj 120 543 s \$0-distancer;
#X obj 120 370 t b f;
#X obj 120 400 +;
#X obj 69 409 abs;
#X obj 120 451 max;
#X obj 120 423 t b f;
#X obj 69 369 t f f;
#X msg 120 521 range \$1 1e+09 \, bang;
#X obj 120 477 / 32;
#X obj 501 40 r \$0-random-size;
#X obj 450 13 r \$0-size;
#X obj 501 65 t b f;
#X obj 501 95 +;
#X obj 450 104 abs;
#X obj 501 146 max;
#X obj 501 118 t b f;
#X obj 450 64 t f f;
#X obj 530 153 r \$0-distance;
#X connect 0 0 5 0;
#X connect 2 0 1 0;
#X connect 2 0 20 0;
#X connect 3 0 1 0;
#X connect 3 0 20 0;
#X connect 4 0 3 0;
#X connect 5 0 27 0;
#X connect 5 0 4 0;
#X connect 5 0 2 0;
#X connect 6 0 8 0;
#X connect 7 0 6 0;
#X connect 7 1 6 1;
#X connect 8 0 22 0;
#X connect 9 0 11 0;
#X connect 10 0 18 0;
#X connect 11 0 12 0;
#X connect 11 1 10 1;
#X connect 12 0 13 0;
#X connect 12 1 18 0;
#X connect 13 0 19 1;
#X connect 15 0 14 0;
#X connect 16 0 17 0;
#X connect 17 0 18 0;
#X connect 18 0 15 0;
#X connect 19 0 10 0;
#X connect 21 0 19 0;
#X connect 22 0 28 0;
#X connect 23 0 24 0;
#X connect 24 0 21 0;
#X connect 25 0 24 0;
#X connect 27 0 26 0;
#X connect 28 0 29 0;
#X connect 29 0 13 0;
#X connect 31 0 34 0;
#X connect 32 0 39 0;
#X connect 34 0 35 0;
#X connect 34 1 35 1;
#X connect 35 0 38 0;
#X connect 36 0 37 0;
#X connect 37 0 41 0;
#X connect 38 0 37 0;
#X connect 38 1 37 1;
#X connect 39 0 36 0;
#X connect 39 1 35 0;
#X connect 40 0 33 0;
#X connect 41 0 40 0;
#X connect 42 0 44 0;
#X connect 43 0 49 0;
#X connect 44 0 45 0;
#X connect 44 1 45 1;
#X connect 45 0 48 0;
#X connect 46 0 47 0;
#X connect 47 0 6 0;
#X connect 48 0 47 0;
#X connect 48 1 47 1;
#X connect 49 0 46 0;
#X connect 49 1 45 0;
#X connect 50 0 7 0;
#X restore 766 237 pd stuff;
#N canvas 689 58 450 300 init 0;
#X obj 119 33 loadbang;
#X obj 119 77 f \$0;
#X obj 227 51 bng 15 250 50 0 empty empty empty 17 7 0 10 #fcfcfc #000000 #000000;
#X msg 119 100 \; \$1-filter-bypassr 1 \; \$1-sizer 100 \; \$1-distance-set 50 \; \$1-env-typer 0 \; \$1-env-biasr 0.5 \; \$1-env-shaper 0.5 \; \$1-dampingr 5000 \; \$1-drywetr 100 \; \$1-filter-freqr 100 \; \$1-random-filter-freqr 5000 \; \$1-filter-qr 1 \;;
#X connect 0 0 1 0;
#X connect 1 0 3 0;
#X connect 2 0 1 0;
#X restore 766 173 pd init;
#X obj 663 93 inlet~;
#X obj 103 115 hsl 150 15 0 127 0 0 \$0-visbng \$0-visbngr empty 50 8 2 10 #e0e0e0 #e0e0e0 #000000 0 1;
#X obj 289 538 outlet~;
#X obj 663 537 outlet~;
#X obj 767 92 inlet;
#N canvas 104 85 1187 629 in 0;
#X obj 41 17 inlet;
#X obj 41 234 != 0;
#X obj 138 202 s \$0-delayr;
#X obj 171 294 s \$0-random-delayr;
#X obj 41 84 route int.grain-trigger grain-distance random-grain-distance delay random-delay grainsize random-grainsize pitch random-pitch panorama random-panorama;
#X obj 203 167 s \$0-sizer;
#X obj 235 213 s \$0-random-sizer;
#X obj 235 192 max 0;
#X obj 268 139 s \$0-pitchr;
#X obj 300 163 s \$0-random-pitchr;
#X obj 333 185 s \$0-panr;
#X obj 365 213 s \$0-random-panr;
#X obj 398 278 s \$0-ampr;
#X obj 434 300 s \$0-random-ampr;
#X obj 468 327 s \$0-feedbackr;
#X obj 503 354 s \$0-dampingr;
#X obj 538 377 s \$0-filter-bypassr;
#X obj 573 400 s \$0-filter-freqr;
#X obj 608 423 s \$0-random-filter-freqr;
#X obj 643 446 s \$0-filter-qr;
#X obj 678 468 s \$0-random-filter-qr;
#X obj 713 402 s \$0-drywetr;
#X obj 771 322 s \$0-env-typer;
#X obj 869 421 s \$0-env-biasr;
#X obj 820 372 s \$0-env-shaper;
#X obj 820 352 clip 0 1;
#X obj 869 397 clip 0 1;
#X obj 41 269 s \$0-int_triggeronoffr;
#X obj 1066 324 t b;
#X obj 1066 347 s \$0-trigger;
#X obj 918 443 symbol;
#X obj 918 466 s \$0-env-set;
#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 67 39 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 134 60 pd recall;
#X obj 398 241 route amplitude random-amplitude feedback feedback-damping filter-bypass frequency random-frequency q random-q dry/wet;
#X obj 968 491 s \$0-xfeedr;
#X obj 771 286 route env-type env-shape env-bias set-env x-feed blocksize bang;
#X obj 1017 410 s \$0-blocksize;
#N canvas 3 57 617 375 blocksize 0;
#X obj 214 145 i;
#X obj 214 120 t f f;
#X obj 214 166 /;
#X obj 214 186 == 1;
#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 244 244 blocksize is not a power of 2;
#X obj 184 294 outlet;
#X obj 244 222 sel 0;
#X obj 184 54 inlet;
#X obj 214 99 log 2;
#X obj 244 266 print pp.grain-delay~;
#X connect 0 0 2 0;
#X connect 1 0 0 0;
#X connect 1 1 2 1;
#X connect 2 0 3 0;
#X connect 3 0 5 1;
#X connect 3 0 9 0;
#X connect 4 0 5 0;
#X connect 4 1 11 0;
#X connect 5 0 8 0;
#X connect 7 0 12 0;
#X connect 9 0 7 0;
#X connect 10 0 4 0;
#X connect 11 0 1 0;
#X restore 1017 381 pd blocksize;
#X text 1015 429 placeholder...;
#X obj 73 223 s \$0-distance-set;
#X obj 105 246 s \$0-random-distancer;
#X connect 0 0 4 0;
#X connect 0 0 32 0;
#X connect 1 0 27 0;
#X connect 4 0 1 0;
#X connect 4 1 40 0;
#X connect 4 2 41 0;
#X connect 4 3 2 0;
#X connect 4 4 3 0;
#X connect 4 5 5 0;
#X connect 4 6 7 0;
#X connect 4 7 8 0;
#X connect 4 8 9 0;
#X connect 4 9 10 0;
#X connect 4 10 11 0;
#X connect 4 11 34 0;
#X connect 7 0 6 0;
#X connect 25 0 24 0;
#X connect 26 0 23 0;
#X connect 28 0 29 0;
#X connect 30 0 31 0;
#X connect 33 0 4 0;
#X connect 34 0 12 0;
#X connect 34 1 13 0;
#X connect 34 2 14 0;
#X connect 34 3 15 0;
#X connect 34 4 16 0;
#X connect 34 5 17 0;
#X connect 34 6 18 0;
#X connect 34 7 19 0;
#X connect 34 8 20 0;
#X connect 34 9 21 0;
#X connect 34 10 36 0;
#X connect 36 0 22 0;
#X connect 36 1 25 0;
#X connect 36 2 26 0;
#X connect 36 3 30 0;
#X connect 36 4 35 0;
#X connect 36 5 38 0;
#X connect 36 6 28 0;
#X connect 38 0 37 0;
#X restore 767 115 pd in;
#N canvas 309 85 836 657 outlet-message 0;
#X obj 73 672 outlet;
#X obj 67 5 r \$0-int_triggeronoff;
#X obj 111 70 r \$0-delay;
#N canvas 3 54 1301 388 bang-once................................................... 0;
#X obj 145 81 t b f;
#X obj 103 81 t b f;
#X obj 60 177 del 0;
#X obj 60 81 t b f;
#X obj 188 81 t b f;
#X obj 232 81 t b f;
#X obj 274 81 t b f;
#X obj 60 35 inlet;
#X obj 103 34 inlet;
#X obj 145 34 inlet;
#X obj 188 34 inlet;
#X obj 232 35 inlet;
#X obj 275 35 inlet;
#X obj 436 326 outlet;
#X obj 60 211 f;
#X obj 321 82 t b f;
#X obj 322 36 inlet;
#X obj 368 80 t b f;
#X obj 369 34 inlet;
#X obj 419 81 t b f;
#X obj 463 81 t b f;
#X obj 505 81 t b f;
#X obj 419 34 inlet;
#X obj 463 35 inlet;
#X obj 506 35 inlet;
#X obj 551 80 t b f;
#X obj 595 80 t b f;
#X obj 637 80 t b f;
#X obj 551 34 inlet;
#X obj 595 35 inlet;
#X obj 638 35 inlet;
#X obj 680 82 t b f;
#X obj 681 36 inlet;
#X obj 726 81 t b f;
#X obj 770 81 t b f;
#X obj 812 81 t b f;
#X obj 726 35 inlet;
#X obj 770 36 inlet;
#X obj 813 36 inlet;
#X obj 859 82 t b f;
#X obj 860 36 inlet;
#X obj 905 81 t b f;
#X obj 949 81 t b f;
#X obj 991 81 t b f;
#X obj 905 35 inlet;
#X obj 949 36 inlet;
#X obj 992 36 inlet;
#X obj 1035 81 t b f;
#X obj 1036 36 inlet;
#X obj 1081 80 t b f;
#X obj 1082 35 inlet;
#X obj 1129 81 t b f;
#X obj 1130 36 inlet;
#X obj 436 301 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;
#X connect 0 0 2 0;
#X connect 0 1 53 2;
#X connect 1 0 2 0;
#X connect 1 1 53 1;
#X connect 2 0 14 0;
#X connect 3 0 2 0;
#X connect 3 1 14 1;
#X connect 4 0 2 0;
#X connect 4 1 53 3;
#X connect 5 0 2 0;
#X connect 5 1 53 4;
#X connect 6 0 2 0;
#X connect 6 1 53 5;
#X connect 7 0 3 0;
#X connect 8 0 1 0;
#X connect 9 0 0 0;
#X connect 10 0 4 0;
#X connect 11 0 5 0;
#X connect 12 0 6 0;
#X connect 14 0 53 0;
#X connect 15 0 2 0;
#X connect 15 1 53 6;
#X connect 16 0 15 0;
#X connect 17 0 2 0;
#X connect 17 1 53 7;
#X connect 18 0 17 0;
#X connect 19 0 2 0;
#X connect 19 1 53 8;
#X connect 20 0 2 0;
#X connect 20 1 53 9;
#X connect 21 0 2 0;
#X connect 21 1 53 10;
#X connect 22 0 19 0;
#X connect 23 0 20 0;
#X connect 24 0 21 0;
#X connect 25 0 2 0;
#X connect 25 1 53 11;
#X connect 26 0 2 0;
#X connect 26 1 53 12;
#X connect 27 0 2 0;
#X connect 27 1 53 13;
#X connect 28 0 25 0;
#X connect 29 0 26 0;
#X connect 30 0 27 0;
#X connect 31 0 2 0;
#X connect 31 1 53 14;
#X connect 32 0 31 0;
#X connect 33 0 2 0;
#X connect 33 1 53 15;
#X connect 34 0 2 0;
#X connect 34 1 53 16;
#X connect 35 0 2 0;
#X connect 35 1 53 17;
#X connect 36 0 33 0;
#X connect 37 0 34 0;
#X connect 38 0 35 0;
#X connect 39 0 2 0;
#X connect 39 1 53 18;
#X connect 40 0 39 0;
#X connect 41 0 2 0;
#X connect 41 1 53 19;
#X connect 42 0 2 0;
#X connect 42 1 53 20;
#X connect 43 0 2 0;
#X connect 43 1 53 21;
#X connect 44 0 41 0;
#X connect 45 0 42 0;
#X connect 46 0 43 0;
#X connect 47 0 2 0;
#X connect 47 1 53 22;
#X connect 48 0 47 0;
#X connect 49 0 2 0;
#X connect 49 1 53 23;
#X connect 50 0 49 0;
#X connect 51 0 2 0;
#X connect 51 1 53 24;
#X connect 52 0 51 0;
#X connect 53 0 13 0;
#X restore 81 326 pd bang-once...................................................;
#X obj 126 91 r \$0-random-delay;
#X obj 141 112 r \$0-size;
#X obj 156 134 r \$0-random-size;
#X obj 215 224 r \$0-random-pan;
#X obj 200 203 r \$0-pan;
#X obj 186 180 r \$0-random-pitch;
#X obj 171 159 r \$0-pitch;
#X obj 230 247 r \$0-amp;
#X obj 259 57 r \$0-random-amp;
#X obj 274 80 r \$0-feedback;
#X obj 289 101 r \$0-damping;
#X obj 304 122 r \$0-filter-bypass;
#X obj 319 144 r \$0-filter-freq;
#X obj 333 165 r \$0-random-filter-freq;
#X obj 348 185 r \$0-filter-q;
#X obj 363 205 r \$0-random-filter-q;
#X obj 378 226 r \$0-drywet;
#X obj 393 246 r \$0-env-type;
#X obj 408 268 r \$0-env-bias;
#X obj 423 289 r \$0-env-shape;
#X obj 153 593 list trim;
#X msg 86 591 addcomma;
#X obj 153 570 list prepend add2;
#X msg 12 458 set;
#X obj 65 366 t b a b;
#X obj 108 538 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 170 545 pd save;
#X obj 452 311 r \$0-xfeed;
#X msg 81 417 int.grain-trigger \$1 \, grain-distance \$2 \, random-grain-distance \$3 \, delay \$4 \, random-delay \$5 \, grainsize \$6 \, random-grainsize \$7 \, pitch \$8 \, random-pitch \$9 \, panorama \$10 \, random-panorama \$11 \, amplitude \$12 \, random-amplitude \$13 \, feedback \$14 \, feedback-damping \$15 \, filter-bypass \$16 \, frequency \$17 \, random-frequency \$18 \, q \$19 \, random-q \$20 \, dry/wet \$21 \, env-type \$22 \, env-bias \$23 \, env-shape \$24 \, x-feed \$25;
#X obj 81 27 r \$0-distance;
#X obj 96 50 r \$0-random-distance;
#X connect 1 0 3 0;
#X connect 2 0 3 3;
#X connect 3 0 28 0;
#X connect 4 0 3 4;
#X connect 5 0 3 5;
#X connect 6 0 3 6;
#X connect 7 0 3 10;
#X connect 8 0 3 9;
#X connect 9 0 3 8;
#X connect 10 0 3 7;
#X connect 11 0 3 11;
#X connect 12 0 3 12;
#X connect 13 0 3 13;
#X connect 14 0 3 14;
#X connect 15 0 3 15;
#X connect 16 0 3 16;
#X connect 17 0 3 17;
#X connect 18 0 3 18;
#X connect 19 0 3 19;
#X connect 20 0 3 20;
#X connect 21 0 3 21;
#X connect 22 0 3 22;
#X connect 23 0 3 23;
#X connect 24 0 0 0;
#X connect 25 0 0 0;
#X connect 26 0 24 0;
#X connect 27 0 0 0;
#X connect 28 0 0 0;
#X connect 28 1 32 0;
#X connect 28 2 27 0;
#X connect 29 0 25 0;
#X connect 29 1 26 0;
#X connect 29 2 30 0;
#X connect 31 0 3 24;
#X connect 32 0 29 0;
#X connect 33 0 3 1;
#X connect 34 0 3 2;
#X restore 753 456 pd outlet-message;
#X obj 753 484 outlet;
#X text 730 538 philipp schmalfuß \, 2018/19;
#X obj 289 288 clone pp.graindelay-onegrain 32 \$0;
#N canvas 1 57 607 400 dry/wet 0;
#X obj 46 0 inlet~;
#X obj 303 135 line~;
#X obj 303 113 pack 0 30;
#X obj 272 254 *~;
#X obj 46 374 outlet~;
#X obj 121 375 outlet~;
#X obj 288 222 -~;
#X obj 303 55 r \$0-drywet;
#X obj 272 1 inlet~;
#X obj 45 253 *~;
#X obj 121 1 inlet~;
#X obj 120 256 *~;
#X obj 303 78 / 50;
#X obj 302 198 clip~ 1 2;
#X obj 288 174 sig~ 2;
#X obj 135 212 clip~ 0 1;
#X connect 0 0 9 0;
#X connect 1 0 13 0;
#X connect 1 0 15 0;
#X connect 2 0 1 0;
#X connect 3 0 4 0;
#X connect 3 0 5 0;
#X connect 6 0 3 1;
#X connect 7 0 12 0;
#X connect 8 0 3 0;
#X connect 9 0 4 0;
#X connect 10 0 11 0;
#X connect 11 0 5 0;
#X connect 12 0 2 0;
#X connect 13 0 6 1;
#X connect 14 0 6 0;
#X connect 15 0 11 1;
#X connect 15 0 9 1;
#X restore 289 426 pd dry/wet;
#X f 63;
#N canvas 1 50 450 300 softclip 0;
#X obj 145 39 inlet~;
#X obj 145 62 *~ 0.5;
#X obj 174 91 pow~ 2;
#X obj 174 114 +~ 1;
#X obj 174 137 sqrt~;
#X obj 146 161 /~;
#X obj 146 184 *~ 2;
#X obj 146 207 outlet~;
#X connect 0 0 1 0;
#X connect 1 0 2 0;
#X connect 1 0 5 0;
#X connect 2 0 3 0;
#X connect 3 0 4 0;
#X connect 4 0 5 1;
#X connect 5 0 6 0;
#X connect 6 0 7 0;
#X restore 289 327 pd softclip;
#N canvas 1 50 450 300 softclip 0;
#X obj 145 39 inlet~;
#X obj 145 62 *~ 0.5;
#X obj 174 91 pow~ 2;
#X obj 174 114 +~ 1;
#X obj 174 137 sqrt~;
#X obj 146 161 /~;
#X obj 146 184 *~ 2;
#X obj 146 207 outlet~;
#X connect 0 0 1 0;
#X connect 1 0 2 0;
#X connect 1 0 5 0;
#X connect 2 0 3 0;
#X connect 3 0 4 0;
#X connect 4 0 5 1;
#X connect 5 0 6 0;
#X connect 6 0 7 0;
#X restore 489 325 pd softclip;
#X obj 364 153 r \$0-distance;
#X obj 385 130 r \$0-random-distance;
#N canvas 537 52 560 555 envelope 0;
#N canvas 884 263 661 699 hann 0;
#X obj 102 334 until;
#X obj 102 355 f;
#X obj 129 361 + 1;
#X msg 167 330 0;
#X obj 154 205 t b b;
#X obj 103 382 t f f;
#X obj 99 499 expr -cos($f1*3.14159)*.5+.5;
#X obj 322 526 expr -cos($f1*3.14159)*.5+.5;
#X obj 322 551 * -1;
#X obj 323 573 + 1;
#X obj 181 421 moses;
#X obj 169 612 pow 1;
#X obj 445 120 exp;
#X obj 445 28 / 100;
#X obj 291 8 inlet x;
#X obj 101 468 /;
#X obj 102 292 f 1024;
#X obj 206 658 tabwrite \$0-window;
#X obj 322 497 expr ($f1-$f2)/(1024-$f2-1);
#X obj 444 143 t b f;
#X obj 290 135 t b f;
#X obj 445 8 inlet;
#X text 486 10 shape;
#X connect 0 0 1 0;
#X connect 1 0 2 0;
#X connect 1 0 5 0;
#X connect 2 0 1 1;
#X connect 3 0 1 1;
#X connect 4 0 16 0;
#X connect 4 1 3 0;
#X connect 5 0 10 0;
#X connect 5 1 17 1;
#X connect 6 0 11 0;
#X connect 7 0 8 0;
#X connect 8 0 9 0;
#X connect 9 0 11 0;
#X connect 10 0 15 0;
#X connect 10 1 18 0;
#X connect 11 0 17 0;
#X connect 12 0 19 0;
#X connect 13 0 12 0;
#X connect 14 0 20 0;
#X connect 15 0 6 0;
#X connect 16 0 0 0;
#X connect 18 0 7 0;
#X connect 19 0 4 0;
#X connect 19 1 11 1;
#X connect 20 0 4 0;
#X connect 20 1 10 1;
#X connect 20 1 15 1;
#X connect 20 1 18 1;
#X connect 21 0 13 0;
#X restore 93 500 pd hann;
#N canvas 702 50 631 726 trapez 0;
#X obj 43 374 until;
#X obj 43 395 f;
#X obj 70 401 + 1;
#X msg 161 344 0;
#X obj 120 480 moses;
#X obj 134 280 t b b;
#X obj 119 439 t f f;
#X obj 118 608 clip 0 1;
#X obj 120 583 *;
#X obj 238 12 inlet x;
#X obj 435 82 / 100;
#X obj 435 107 + 1;
#X obj 435 173 max 1;
#X obj 43 347 f 1024;
#X obj 213 505 expr -($f1-$f2)/(1024-$f2-1)+1;
#X obj 435 195 t b f;
#X obj 238 164 t b f f f;
#X obj 148 640 tabwrite \$0-window;
#X obj 120 531 / 1024;
#X obj 435 58 + 200;
#X obj 435 151 -;
#X msg 435 129 6 \$1;
#X obj 435 15 inlet;
#X connect 0 0 1 0;
#X connect 1 0 2 0;
#X connect 1 0 6 0;
#X connect 2 0 1 1;
#X connect 3 0 1 1;
#X connect 4 0 18 0;
#X connect 4 1 14 0;
#X connect 5 0 13 0;
#X connect 5 1 3 0;
#X connect 6 0 4 0;
#X connect 6 1 17 1;
#X connect 7 0 17 0;
#X connect 8 0 7 0;
#X connect 9 0 16 0;
#X connect 10 0 11 0;
#X connect 11 0 21 0;
#X connect 12 0 15 0;
#X connect 13 0 0 0;
#X connect 14 0 8 0;
#X connect 15 0 5 0;
#X connect 15 1 8 1;
#X connect 16 0 5 0;
#X connect 16 1 4 1;
#X connect 16 2 18 1;
#X connect 16 3 14 1;
#X connect 18 0 8 0;
#X connect 19 0 10 0;
#X connect 20 0 12 0;
#X connect 21 0 20 0;
#X connect 22 0 19 0;
#X restore 296 501 pd trapez;
#X obj 125 175 f;
#X obj 241 117 t b f;
#X obj 401 114 t b f;
#N canvas 633 50 680 699 curved2 0;
#X obj 64 415 until;
#X obj 64 436 f;
#X obj 91 442 + 1;
#X msg 139 412 0;
#X obj 113 328 t b b;
#X obj 63 472 t f f;
#X obj 53 586 expr if($f2<=0 \, -pow((1-$f1) \, (-$f2+1))+1 \, pow($f1 \, $f2+1));
#X obj 127 631 expr if($f2<=0 \, -pow((1-$f1) \, (-$f2+1))+1 \, pow($f1 \, $f2+1));
#X obj 128 654 * -1;
#X obj 129 676 + 1;
#X obj 63 509 moses;
#X obj 576 171 exp;
#X obj 478 86 moses 0;
#X obj 478 168 * -1;
#X obj 479 209 exp;
#X obj 480 230 * -1;
#X obj 478 123 + 1;
#X obj 478 146 moses -1;
#X obj 479 190 - 1;
#X obj 479 62 - 1;