synth~.pd 6.37 KB
Newer Older
resonance's avatar
resonance committed
1
#N canvas 428 185 416 453 10;
2 3 4 5 6 7 8 9 10 11
#X obj 98 412 outlet~;
#X obj 152 363 switch~;
#X obj 97 389 *~;
#X obj 111 363 line~;
#X msg 111 340 \$1 10;
#X obj 152 341 pipe 10;
#X obj 111 314 r \$0-on;
#X obj 97 169 inlet~;
#X obj 98 277 tabosc4~ \$0-;
#X obj 167 256 r \$0-phase;
12
#N canvas 247 183 314 303 \$0-test-in 0;
13 14 15 16 17 18 19 20 21 22 23
#X obj 57 114 r \$0-freq;
#X obj 57 159 sig~;
#X obj 157 101 env~;
#X obj 57 135 t f b;
#X msg 115 167 1;
#X obj 115 211 switch~;
#X obj 158 75 inlet~;
#X obj 56 181 outlet~;
#X obj 157 125 == 0;
#X obj 157 147 sel 0;
#X msg 157 170 0;
J Reso's avatar
J Reso committed
24
#X obj 115 190 tgl 15 0 empty empty empty 17 7 0 10 -187776 -33289
resonance's avatar
resonance committed
25
-1 0 1;
J Reso's avatar
J Reso committed
26 27
#X text 62 17 if audio signal comes from outside \; it switches off
the init audio signal;
28
#X connect 0 0 3 0;
29 30
#X connect 1 0 7 0;
#X connect 2 0 8 0;
31 32
#X connect 3 0 1 0;
#X connect 3 1 4 0;
33 34 35 36 37 38
#X connect 4 0 11 0;
#X connect 6 0 2 0;
#X connect 8 0 9 0;
#X connect 9 0 10 0;
#X connect 10 0 11 0;
#X connect 11 0 5 0;
39
#X restore 116 227 pd \$0-test-in;
40
#X obj 272 175 inlet;
resonance's avatar
resonance committed
41
#N canvas 732 219 537 377 \$0-PRESETS 0;
42 43 44 45 46 47 48 49 50 51
#X obj 120 242 list prepend 0;
#X obj 120 264 s \$0-;
#X obj 120 150 tabdump \$0-;
#X obj 72 127 t b b;
#X obj 285 156 inlet;
#X obj 120 219 route list;
#X obj 72 104 r \$0-write;
#X msg 72 151 write;
#X obj 120 193 ../core/_mem \$0 waves.txt \$1;
#X connect 0 0 1 0;
52 53
#X connect 2 0 8 0;
#X connect 3 0 7 0;
54
#X connect 3 1 2 0;
55 56 57 58 59
#X connect 4 0 8 1;
#X connect 5 0 0 0;
#X connect 6 0 3 0;
#X connect 7 0 8 0;
#X connect 8 0 5 0;
60
#X restore 272 265 pd \$0-PRESETS;
resonance's avatar
resonance committed
61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76
#N canvas 53 85 403 320 \$0-COMMANDS 0;
#X obj 48 53 inlet;
#X obj 156 168 s \$0-read-in;
#X obj 261 201 s \$0-phase;
#X msg 261 176 0;
#X obj 261 149 route bang float;
#X obj 301 122 s \$0-on-in;
#X obj 261 92 route phase on;
#X obj 195 145 s \$0-freq;
#X obj 117 191 list prepend 0;
#X obj 117 217 s \$0-;
#X obj 117 91 route list wave freq;
#X obj 48 252 outlet;
#X connect 0 0 10 0;
#X connect 0 0 11 0;
#X connect 3 0 2 0;
77
#X connect 4 0 3 0;
resonance's avatar
resonance committed
78 79 80 81 82 83 84 85
#X connect 4 1 2 0;
#X connect 6 0 4 0;
#X connect 6 1 5 0;
#X connect 8 0 9 0;
#X connect 10 0 8 0;
#X connect 10 1 1 0;
#X connect 10 2 7 0;
#X connect 10 3 6 0;
86
#X restore 272 242 pd \$0-COMMANDS;
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
#N canvas 434 353 554 285 \$0-ARGS 0;
#X obj 112 22 inlet;
#X obj 399 116 f \$2;
#X obj 399 138 sel 0;
#X msg 426 159 freq \$1;
#X obj 112 219 outlet;
#X msg 257 108 on 1;
#X obj 187 118 symbol;
#X obj 112 141 select symbol;
#X obj 112 90 t b b;
#X msg 112 188 file \$1;
#X obj 112 115 symbol \$3;
#X msg 112 165 symbol waves.txt;
#X obj 51 49 t b b b b;
#X obj 51 93 f \$1;
#X msg 51 113 wave \$1;
#X connect 0 0 12 0;
#X connect 1 0 2 0;
#X connect 2 1 3 0;
#X connect 3 0 4 0;
#X connect 5 0 4 0;
#X connect 6 0 7 1;
#X connect 7 0 11 0;
#X connect 8 0 10 0;
#X connect 8 1 6 0;
#X connect 9 0 4 0;
#X connect 10 0 7 0;
#X connect 11 0 9 0;
#X connect 12 0 13 0;
#X connect 12 1 8 0;
#X connect 12 2 5 0;
#X connect 12 3 1 0;
#X connect 13 0 14 0;
#X connect 14 0 4 0;
121
#X restore 323 199 pd \$0-ARGS;
J Reso's avatar
J Reso committed
122
#X obj 101 78 cnv 13 98 60 empty empty empty 2 5 1 9 -187776 -1 0;
123 124
#N canvas 1 85 450 300 (subpatch) 0;
#X array \$0- 259 float 5;
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
#A 0 -0.0245412 0 0.0245412 0.0490676 0.0735645 0.0980171 0.122411
0.14673 0.170962 0.19509 0.219101 0.24298 0.266713 0.290284 0.313681
0.33689 0.359895 0.382683 0.405241 0.427555 0.449611 0.471396 0.492898
0.514102 0.534997 0.55557 0.575808 0.595699 0.615231 0.634393 0.653172
0.671558 0.68954 0.707106 0.724247 0.740951 0.757208 0.77301 0.788346
0.803207 0.817584 0.831469 0.844853 0.857728 0.870087 0.881921 0.893224
0.903989 0.914209 0.923879 0.932992 0.941544 0.949528 0.95694 0.963776
0.970031 0.975702 0.980785 0.985277 0.989176 0.992479 0.995185 0.99729
0.998795 0.999699 1 0.999699 0.998796 0.997291 0.995185 0.99248 0.989177
0.985278 0.980786 0.975702 0.970032 0.963776 0.956941 0.949529 0.941545
0.932993 0.92388 0.91421 0.90399 0.893225 0.881922 0.870088 0.85773
0.844855 0.831471 0.817586 0.803209 0.788348 0.773012 0.75721 0.740952
0.724248 0.707108 0.689542 0.67156 0.653174 0.634395 0.615233 0.595701
0.57581 0.555572 0.534999 0.514105 0.4929 0.471399 0.449613 0.427557
0.405243 0.382686 0.359897 0.336892 0.313684 0.290287 0.266715 0.242983
0.219104 0.195093 0.170964 0.146733 0.122413 0.0980197 0.0735671 0.0490703
0.0245439 2.65359e-06 -0.0245386 -0.049065 -0.0735619 -0.0980144 -0.122408
-0.146728 -0.170959 -0.195088 -0.219098 -0.242977 -0.26671 -0.290282
-0.313679 -0.336887 -0.359892 -0.382681 -0.405239 -0.427552 -0.449609
-0.471394 -0.492896 -0.5141 -0.534995 -0.555568 -0.575806 -0.595697
-0.615229 -0.634391 -0.65317 -0.671557 -0.689538 -0.707104 -0.724245
-0.740949 -0.757207 -0.773008 -0.788344 -0.803205 -0.817583 -0.831468
-0.844852 -0.857727 -0.870085 -0.88192 -0.893223 -0.903988 -0.914208
-0.923878 -0.932992 -0.941543 -0.949527 -0.956939 -0.963775 -0.97003
-0.975701 -0.980785 -0.985277 -0.989176 -0.992479 -0.995184 -0.99729
-0.998795 -0.999699 -1 -0.999699 -0.998796 -0.997291 -0.995185 -0.99248
-0.989177 -0.985278 -0.980786 -0.975703 -0.970032 -0.963777 -0.956942
-0.94953 -0.941545 -0.932994 -0.923881 -0.914212 -0.903991 -0.893226
-0.881923 -0.870089 -0.857731 -0.844856 -0.831472 -0.817587 -0.80321
-0.788349 -0.773013 -0.757212 -0.740954 -0.72425 -0.70711 -0.689544
-0.671562 -0.653176 -0.634397 -0.615235 -0.595703 -0.575812 -0.555574
-0.535002 -0.514107 -0.492902 -0.471401 -0.449616 -0.42756 -0.405246
-0.382688 -0.3599 -0.336895 -0.313687 -0.29029 -0.266718 -0.242985
-0.219106 -0.195095 -0.170967 -0.146736 -0.122416 -0.0980223 -0.0735698
-0.0490729 -0.0245465 -5.30718e-06 0.0245359;
160 161
#X coords 0 1 259 -1 100 60 1 0 0;
#X restore 100 79 graph;
J Reso's avatar
J Reso committed
162
#X obj 101 67 cnv 13 98 11 empty empty empty 2 5 1 9 -187776 -1 0;
163
#X obj 190 69 tgl 10 0 \$0-on \$0-on-in empty 17 7 1 9 -187776 -33289
resonance's avatar
resonance committed
164 165
-1 1 1;
#X obj 163 22 bng 10 100 50 0 \$0-reset \$0-reset-in r 4 5 1 9 -187776
J Reso's avatar
J Reso committed
166
-33289 -1;
resonance's avatar
resonance committed
167 168
#X obj 121 69 bng 10 50 50 0 \$0-write \$0-write-in w 3 5 1 7 -258699
-1 -258699;
169 170
#X obj 100 69 nbx 2 10 0 24 0 0 \$0-read \$0-read-in empty 25 6 1 9
-187776 -33289 -33289 0 256;
resonance's avatar
resonance committed
171
#X obj 103 23 nbx 2 10 0 24 0 0 \$0-id \$0-id-in empty -10 6 1 9 -187776
172
-33289 -1 0 256;
resonance's avatar
resonance committed
173
#X obj 132 21 bng 10 100 50 0 \$0-clear \$0-clear-in c 3 5 1 9 -187776
J Reso's avatar
J Reso committed
174
-33289 -1;
175
#X obj 323 176 initbang;
176 177 178 179 180 181 182
#X connect 2 0 0 0;
#X connect 3 0 2 1;
#X connect 4 0 3 0;
#X connect 5 0 1 0;
#X connect 6 0 5 0;
#X connect 6 0 4 0;
#X connect 7 0 8 0;
183
#X connect 7 0 10 0;
184
#X connect 8 0 2 0;
185 186 187 188 189
#X connect 9 0 8 1;
#X connect 10 0 8 0;
#X connect 11 0 13 0;
#X connect 13 0 12 0;
#X connect 14 0 13 0;
190
#X connect 24 0 14 0;
191
#X coords 0 -1 1 1 100 92 1 100 50;