Commit 226631b9 authored by J Reso's avatar J Reso
Browse files

add _mem for factorisation, update mem+g+synth+synth~, reorganize...

add _mem for factorisation, update mem+g+synth+synth~, reorganize examples/basics-fr, debug adding seq objects (problem with unknow message GEM-MASTER
parent 264921b5
#N canvas 0 0 150 687 10;
#N canvas 1 135 150 687 10;
#X declare -path abstractions/in -path abstractions/numbers -path abstractions/audio
-path abstractions/video -path abstractions/core -path abstractions/out
-path abstractions -path abstractions/brutbox;
......@@ -8,7 +8,7 @@
0;
#X obj 9 206 cnv 10 10 10 empty empty OBJETS 0 5 1 10 -262144 -66577
0;
#N canvas 112 405 418 302 MAIN 0;
#N canvas 110 406 418 302 MAIN 0;
#X obj 50 20 cnv 10 120 25 empty empty MAIN 5 8 1 10 -228856 -99865
0;
#X obj 56 238 bng 8 250 50 0 \$0-open-sliders \$0-open-slidersIn empty
......@@ -194,7 +194,7 @@
#X restore 2 617 pd open;
#X restore 54 253 pd BIG_SLIDERS;
#X text 48 57 Main :;
#X obj 55 34 cnv 10 10 10 empty \$0-CNV-CPU CPU:3% 0 5 0 10 -233017
#X obj 55 34 cnv 10 10 10 empty \$0-CNV-CPU CPU:4% 0 5 0 10 -233017
-166441 0;
#N canvas 632 229 723 458 ADD_OBJECTS 0;
#X text 284 369 \; example-file obj x y abstraction;
......@@ -263,7 +263,7 @@
#X connect 25 0 4 0;
#X connect 26 0 4 0;
#X restore 49 161 pd ADD_OBJECTS;
#N canvas 365 203 635 447 PREFERENCES 0;
#N canvas 363 204 635 447 PREFERENCES 0;
#X msg 300 176 en;
#X obj 499 351 s M-UPDATE;
#X obj 500 330 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144
......@@ -446,7 +446,7 @@
#X connect 66 0 1 0;
#X connect 67 0 61 0;
#X restore 47 85 pd _READ_WRITE_PREF;
#N canvas 336 207 654 446 LEVEL-LANGUAGE-LABEL-COLORS 0;
#N canvas 334 208 776 446 LEVEL-LANGUAGE-LABEL-COLORS 0;
#X obj 85 184 s \$0-cnv-beginner;
#X msg 85 163 label \$1;
#X obj 85 142 symbol;
......@@ -490,6 +490,12 @@
#X obj 97 354 s \$0-cnv-beginner;
#X obj 208 352 s \$0-cnv-expert;
#X obj 84 256 sel 1 0;
#X obj 555 189 s \$0-rec-cnv;
#X msg 558 166 label \$1;
#X obj 558 145 symbol;
#X obj 558 79 sel en fr;
#X msg 558 123 RECORDING;
#X msg 583 103 ENREGISTREMENT;
#X connect 1 0 0 0;
#X connect 2 0 1 0;
#X connect 3 0 11 0;
......@@ -512,6 +518,7 @@
#X connect 18 1 25 0;
#X connect 19 0 15 0;
#X connect 19 0 18 0;
#X connect 19 0 46 0;
#X connect 22 0 17 0;
#X connect 23 0 13 0;
#X connect 24 0 13 0;
......@@ -533,6 +540,12 @@
#X connect 42 0 35 0;
#X connect 42 1 36 0;
#X connect 42 1 37 0;
#X connect 44 0 43 0;
#X connect 45 0 44 0;
#X connect 46 0 47 0;
#X connect 46 1 48 0;
#X connect 47 0 45 0;
#X connect 48 0 45 0;
#X restore 45 60 pd LEVEL-LANGUAGE-LABEL-COLORS;
#X obj 360 86 delay 1000;
#X msg 360 111 1;
......@@ -576,7 +589,7 @@
#X text 74 232 <- open big sliders for touchscreen;
#X coords 0 -1 1 1 120 25 2 50 20;
#X restore 9 575 pd MAIN;
#N canvas 28 183 535 354 record 0;
#N canvas 26 184 535 354 record 0;
#X obj 100 100 cnv 17 120 48 empty empty empty 0 0 1 8 -241339 -162280
0;
#X obj 233 57 cnv 4 5 5 empty empty FILE 0 0 1 8 -241339 -128992 0
......@@ -742,13 +755,11 @@ empty 0 -8 0 10 -208051 -208051 -262144 0;
#X obj 114 282 m-help audio;
#X obj 114 303 m-help video;
#X obj 114 324 m-help out;
#X obj 9 178 m-patch examples/advanced;
#X obj 10 261 m-object seq;
#X obj 10 282 m-object audio;
#X obj 10 240 m-object numbers;
#X obj 10 303 m-object video;
#X obj 10 324 m-object out;
#X obj 9 157 m-patch examples/basics;
#X obj 90 94 cnv 9 50 9 empty \$0-cnv-english Anglais 2 7 1 9 -262144
-128992 0;
#X obj 90 83 cnv 7 50 9 empty \$0-cnv-french Français 2 7 1 9 -262144
......@@ -759,3 +770,5 @@ empty 0 -8 0 10 -208051 -208051 -262144 0;
#X obj 78 84 hsl 8 10 0 127 0 0 \$0-L-FR \$0-L-FR-IN empty -2 -8 0
10 -262144 -1 -1 0 1;
#X obj 82 89 image medias/logo/fr.gif;
#X obj 9 157 m-patch examples/basics;
#X obj 9 178 m-patch examples/advanced;
#N canvas 701 123 408 495 10;
#N canvas 68 80 610 596 10;
#X declare -path ../numbers;
#X declare -path ../numbers;
#X declare -path ../numbers;
#X declare -path ../numbers;
#X declare -path ../numbers;
#X declare -path ../numbers;
#X declare -path ../numbers;
#X declare -path ../numbers;
#X msg 297 87 \; pd dsp 1;
#X text 297 60 Audio on;
#X obj 58 369 output~;
#N canvas 639 79 484 656 _EXAMPLE_FM_ 0;
#X obj 185 570 oscilloscope~;
#X obj 194 241 hradio 15 1 0 15 empty empty empty 0 -8 0 10 -262144
#X msg 517 68 \; pd dsp 1;
#X text 517 47 Audio on;
#X obj 60 419 output~;
#X obj 154 225 hradio 10 1 0 15 empty empty waves 0 -8 0 10 -262144
-1 -1 0;
#X floatatom 101 196 5 0 0 0 - - -;
#X obj 102 585 output~;
#X obj 236 432 hradio 15 1 0 15 empty empty empty 0 -8 0 10 -262144
-1 -1 0;
#X obj 101 411 *~ 300;
#X obj 101 432 +~ 120;
#X msg 131 166 64;
#X msg 163 165 57;
#X msg 101 166 52;
#X obj 237 42 + 80;
#X obj 237 69 delay;
#X msg 279 44 stop;
#X obj 195 57 bng 15 250 50 0 empty empty start -35 7 0 10 -262144
-1 -1;
#X obj 101 142 sel 0 1 2;
#X obj 237 16 random 200;
#X obj 237 365 random 10;
#X obj 237 387 sel 0;
#X obj 237 410 random 15;
#X text 30 411 frequency;
#X text 30 429 modulation;
#X obj 194 196 sel 0;
#X obj 194 219 random 15;
#X obj 194 174 random 30;
#X obj 101 262 synth 9 52;
#X obj 102 465 synth~ 11;
#X obj 102 362 +~ 1;
#X obj 101 387 *~ 0.5;
#X obj 101 120 random 4;
#X connect 1 0 24 1;
#X connect 2 0 24 0;
#X connect 4 0 25 1;
#X connect 5 0 6 0;
#X connect 6 0 25 0;
#X connect 7 0 2 0;
#X connect 8 0 2 0;
#X connect 9 0 2 0;
#X connect 10 0 11 0;
#X connect 11 0 13 0;
#X connect 11 0 23 0;
#X connect 11 0 16 0;
#X connect 11 0 28 0;
#X connect 12 0 11 0;
#X connect 13 0 15 0;
#X connect 14 0 9 0;
#X connect 14 1 7 0;
#X connect 14 2 8 0;
#X connect 15 0 10 0;
#X connect 16 0 17 0;
#X connect 17 0 18 0;
#X connect 18 0 4 0;
#X connect 21 0 22 0;
#X connect 22 0 1 0;
#X connect 23 0 21 0;
#X connect 24 0 26 0;
#X connect 25 0 3 0;
#X connect 25 0 3 1;
#X connect 25 0 0 0;
#X connect 26 0 27 0;
#X connect 27 0 5 0;
#X connect 28 0 14 0;
#X restore 272 281 pd _EXAMPLE_FM_;
#N canvas 495 79 604 688 _EXAMPLE_AM_ 0;
#X obj 193 575 oscilloscope~;
#X obj 191 234 hradio 15 1 0 15 empty empty empty 0 -8 0 10 -262144
-1 -1 0;
#X obj 102 595 output~;
#X obj 335 419 hradio 15 1 0 15 empty empty empty 0 -8 0 10 -262144
-1 -1 0;
#X obj 252 61 + 80;
#X obj 252 88 delay;
#X msg 294 63 stop;
#X obj 210 76 bng 15 250 50 0 empty empty start -35 7 0 10 -262144
#X obj 61 237 vsl 15 50 0 127 0 0 empty empty pitch:0-127 0 -9 0 10
-262144 -1 -1 0 1;
#X msg 166 262 on \$1;
#X obj 61 307 synth 9 50;
#N canvas 540 170 593 549 -PRESETS-MESSAGES- 0;
#X msg 96 286 file tmp2.txt;
#X text 92 266 Change filename preset;
#X obj 148 452 tgl 15 0 empty empty empty 17 7 0 10 -262144 -1 -1 0
1;
#X msg 135 375 length;
#X msg 112 333 update;
#X obj 97 66 hradio 15 1 0 8 empty empty Read 0 -8 0 10 -262144 -1
-1 0;
#X msg 148 475 auto-max \$1;
#X msg 142 420 reset;
#X msg 131 139 write;
#X msg 121 112 id 4;
#X msg 138 169 write 1;
#X text 160 109 preset number to write;
#X text 173 136 write to the file;
#X text 188 167 write this preset number;
#X text 108 314 Current state;
#X text 133 354 Number of presets recorded;
#X text 141 402 Clear all presets;
#X text 227 457 Auto-max constraint \; If 1: the maximum is limited
to the number of presets \; Default : 1;
#X obj 190 419 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144
-1 -1;
#X obj 252 35 random 200;
#X obj 395 329 random 10;
#X obj 395 351 sel 0;
#X obj 395 374 random 15;
#X text 27 556 modulation;
#X obj 190 188 sel 0;
#X obj 190 211 random 15;
#X obj 190 166 random 30;
#X obj 102 548 *~;
#X text 27 538 amplitude;
#X floatatom 219 401 5 0 0 0 - - -;
#X obj 219 361 count 10;
#X obj 220 421 sig~ 460;
#X obj 221 442 synth 11;
#X obj 100 262 synth 9 70;
#X connect 4 0 5 0;
#X connect 5 0 7 0;
#X connect 5 0 15 0;
#X connect 5 0 9 0;
#X obj 97 224 s \$0-to-synth;
#X obj 96 505 s \$0-to-synth;
#X connect 0 0 20 0;
#X connect 2 0 6 0;
#X connect 3 0 20 0;
#X connect 4 0 20 0;
#X connect 5 0 19 0;
#X connect 6 0 5 0;
#X connect 7 0 8 0;
#X connect 8 0 4 0;
#X connect 9 0 10 0;
#X connect 10 0 11 0;
#X connect 11 0 3 0;
#X connect 13 0 14 0;
#X connect 14 0 1 0;
#X connect 15 0 13 0;
#X connect 16 0 2 0;
#X connect 16 0 0 0;
#X connect 16 0 2 1;
#X connect 6 0 20 0;
#X connect 7 0 20 0;
#X connect 8 0 19 0;
#X connect 9 0 19 0;
#X connect 10 0 19 0;
#X connect 18 0 20 0;
#X connect 19 0 18 0;
#X connect 20 0 21 0;
#X connect 21 0 16 1;
#X connect 22 0 16 0;
#X restore 273 308 pd _EXAMPLE_AM_;
#X obj 150 183 hradio 10 1 0 15 empty empty waves 0 -8 0 10 -262144
-1 -1 0;
#X obj 57 155 vsl 15 50 0 127 0 0 empty empty pitch0-127 0 -9 0 10
-262144 -1 -1 0 1;
#N canvas 592 80 455 488 _ENVELOPPE_ 0;
#X obj 234 150 +~ 1;
#X obj 233 312 map -1 1 0.5 1;
#X obj 234 171 *~ 2;
#X obj 237 337 hsl 128 15 0 1 0 0 empty empty empty -2 -8 0 10 -262144
-1 -1 9525 1;
#X text 87 10 A Low Frequency Oscillator for numbers;
#X obj 33 164 audio-nb;
#X obj 36 191 hsl 128 15 0 1 0 0 empty empty empty -2 -8 0 10 -262144
-1 -1 0 1;
#X obj 233 291 unsig~ 50;
#X obj 234 191 synth 0;
#X obj 33 55 synth 1 0.1;
#X obj 235 51 synth 1 0.1;
#X connect 0 0 2 0;
#X connect 1 0 3 0;
#X connect 2 0 8 0;
#X connect 5 0 6 0;
#X connect 7 0 1 0;
#X connect 8 0 7 0;
#X connect 9 0 5 0;
#X connect 10 0 0 0;
#X restore 273 335 pd _ENVELOPPE_;
#X text 53 19 synth \; ----- \; ?????????;
#X obj 57 219 synth 9 1;
#X msg 171 259 on \$1;
#X msg 169 215 phase;
#X msg 170 238 phase \$1;
#X msg 171 283 file \$1;
#X msg 170 361 auto \$1;
#X msg 174 307 write \$1;
#X msg 187 335 rec;
#X connect 5 0 9 1;
#X connect 6 0 9 0;
#X connect 9 0 2 0;
#X connect 9 0 2 1;
#X connect 10 0 9 1;
#X connect 11 0 9 1;
#X connect 12 0 9 1;
#X connect 13 0 9 1;
#X connect 14 0 9 1;
#X connect 15 0 9 1;
#X connect 16 0 9 1;
#X restore 371 326 pd -PRESETS-MESSAGES-;
#X obj 166 242 tgl 15 0 empty empty empty 17 7 0 10 -262144 -1 -1 0
1;
#X obj 167 309 r \$0-to-synth;
#X text 208 263 switch on and off;
#X msg 374 244 phase;
#X msg 383 272 phase \$1;
#X text 424 243 phase at 0;
#X text 445 272 phase between 0 and 1;
#X obj 374 295 s \$0-to-synth;
#X text 49 33 synth \; ----- \; Simple audio synthetizer with waveforms
\; Presets file in abstractions/core/presets/waves.txt \; Arguments
\; \$1: preset number \; \$2: pitch in Midi (0-127) \;;
#X connect 3 0 6 1;
#X connect 4 0 6 0;
#X connect 5 0 6 1;
#X connect 6 0 2 0;
#X connect 6 0 2 1;
#X connect 8 0 5 0;
#X connect 9 0 6 1;
#X connect 11 0 15 0;
#X connect 12 0 15 0;
#N canvas 21 123 514 443 10;
#N canvas 1 133 514 443 10;
#X declare -path ../numbers;
#X obj 105 400 outlet~;
#X obj 159 351 switch~;
......@@ -12,163 +12,67 @@
0;
#N canvas 1 85 450 300 (subpatch) 0;
#X array \$0- 259 float 5;
#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;
#A 0 -0.980952 -0.966666 -0.90238 -0.90238 -0.816666 -0.809523 -0.788095
-0.745237 -0.70238 -0.688095 -0.673809 -0.659523 -0.588095 -0.502381
-0.495238 -0.430952 -0.402381 -0.316667 -0.309524 -0.245239 -0.230953
-0.17381 -0.145239 -0.138096 -0.088096 -0.0166676 0.0547608 0.0619037
0.0833322 0.126189 0.183332 0.197618 0.211903 0.226189 0.25476 0.264284
0.273808 0.283332 0.297617 0.311903 0.311903 0.311903 0.311903 0.311903
0.316665 0.321427 0.326189 0.340474 0.340474 0.340474 0.340474 0.35476
0.35476 0.35476 0.35476 0.35476 0.35476 0.35476 0.35476 0.35476 0.35476
0.35476 0.297617 0.297617 0.283332 0.283332 0.269046 0.269046 0.269046
0.269046 0.269046 0.269046 0.269046 0.269046 0.269046 0.27857 0.288094
0.297617 0.297617 0.311903 0.311903 0.311903 0.326189 0.326189 0.326189
0.326189 0.326189 0.326189 0.340474 0.340474 0.340474 0.340474 0.340474
0.347617 0.35476 0.35476 0.35476 0.35476 0.35476 0.35476 0.35476 0.35476
0.35476 0.35476 0.35476 0.340474 0.311903 0.297617 0.283332 0.276189
0.269046 0.261903 0.25476 0.226189 0.211903 0.173808 0.164284 0.154761
0.140475 0.119046 0.111904 0.0976179 0.0833322 0.0690465 0.0619037
0.0547608 0.0547608 0.0404751 0.0333323 0.0261894 0.0261894 0.0119038
-0.00238192 -0.0380961 -0.045239 -0.045239 -0.045239 -0.045239 -0.045239
-0.045239 -0.045239 -0.045239 -0.045239 -0.045239 -0.045239 -0.045239
-0.045239 -0.045239 -0.0309533 -0.0309533 -0.0238104 -0.0166676 -0.00238192
0.0119038 0.0119038 0.0119038 0.0190466 0.0261894 0.0404751 0.045237
0.0499989 0.0547608 0.0547608 0.0619037 0.0690465 0.0833322 0.0833322
0.0833322 0.0833322 0.0833322 0.0833322 0.0833322 0.0833322 0.0833322
0.0833322 0.0833322 0.0833322 0.0833322 0.0690465 0.0690465 0.0547608
0.047618 0.0404751 0.0119038 -0.0166676 -0.0523818 -0.0595247 -0.0738103
-0.088096 -0.145239 -0.180953 -0.188096 -0.202381 -0.216667 -0.22381
-0.230953 -0.245239 -0.245239 -0.245239 -0.245239 -0.245239 -0.245239
-0.245239 -0.245239 -0.245239 -0.245239 -0.245239 -0.238096 -0.230953
-0.216667 -0.202381 -0.188096 -0.184524 -0.180953 -0.177382 -0.17381
-0.166667 -0.159524 -0.152382 -0.145239 -0.145239 -0.145239 -0.145239
-0.145239 -0.145239 -0.145239 -0.145239 -0.159524 -0.17381 -0.180953
-0.188096 -0.202381 -0.202381 -0.216667 -0.238096 -0.245239 -0.27381
-0.288096 -0.295238 -0.302381 -0.316667 -0.516667 -0.595238 -0.602381
-0.745237 -0.773809 -0.788095 -0.85238 -0.859523 -0.930951 -0.959523
-0.980951 -0.988094 -0.988094 -0.988094 -0.988094 -0.988094 -0.988094
-0.988094;
#X coords 0 1 259 -1 100 60 1 0 0;
#X restore 100 79 graph;
#X obj 101 67 cnv 13 98 11 empty empty empty 2 5 1 9 -187776 -33289
0;
#X obj 190 69 tgl 10 0 \$0-on \$0-on-in empty 17 7 1 9 -187776 -33289
-33289 1 1;
#X obj 100 69 nbx 2 10 0 19 0 0 \$0-read \$0-read-in empty -8 6 1 9
-187776 -33289 -33289 0 256;
#X obj 122 69 bng 10 50 50 0 \$0-rec \$0-rec-in rec 12 5 1 9 -187776
-33289 -33289;
#X obj 106 170 inlet;
#X obj 106 228 mtof;
#X obj 174 249 r \$0-phase;
#N canvas 69 81 547 547 \$0-commands 0;
#X obj 304 73 declare -path ../numbers;
#X obj 105 225 initbang;
#X obj 37 254 inlet;
#X obj 37 459 s \$0-read-in;
#X obj 105 259 f \$1;
#X obj 194 242 f \$2;
#X obj 194 264 sel 0;
#X obj 351 416 s \$0-phase;
#X msg 351 391 0;
#X obj 351 364 route bang float;
#X obj 391 337 s \$0-on-in;
#X obj 351 307 route phase on;
#X msg 105 286 on 1 \, wave \$1;
#X msg 221 285 freq \$1;
#X obj 105 435 s \$0-freq;
#X obj 37 318 route float wave freq file write rec auto list;
#X obj 138 415 s \$0-file;
#X obj 173 396 s \$0-write;
#X obj 194 373 s \$0-rec;
#X obj 237 344 s \$0-auto;
#X obj 249 453 list prepend 0;
#X obj 249 479 s \$0-;
#X connect 1 0 4 0;
#X connect 1 0 5 0;
#X connect 2 0 15 0;
#X connect 4 0 12 0;
#X connect 5 0 6 0;
#X connect 6 1 13 0;
#X connect 8 0 7 0;
#X connect 9 0 8 0;
#X connect 9 1 7 0;
#X connect 11 0 9 0;
#X connect 11 1 10 0;
#X connect 12 0 15 0;
#X connect 13 0 15 0;
#X connect 15 0 3 0;
#X connect 15 1 3 0;
#X connect 15 2 14 0;
#X connect 15 3 16 0;
#X connect 15 4 17 0;
#X connect 15 5 18 0;
#X connect 15 6 19 0;
#X connect 15 7 20 0;
#X connect 15 8 11 0;
#X connect 20 0 21 0;
#X restore 326 199 pd \$0-commands;
#X obj 326 172 inlet;
#X obj 106 251 sig~;
#X obj 118 198 r \$0-freq;
#N canvas 245 156 561 469 \$0-presets 0;
#X obj 122 384 list prepend 0;
#X obj 122 410 s \$0-;
#X obj 215 63 r \$0-read;
#X obj 95 96 r \$0-rec;
#X msg 95 146 rec;
#X obj 122 147 tabdump \$0-;
#X obj 95 119 t b b;
#X obj 241 87 r \$0-write;
#X msg 186 288 range 0 \$1;
#X obj 186 315 s \$0-read-in;
#X msg 357 182 length;
#X obj 357 138 initbang;
#X msg 287 247 update;
#X obj 247 140 r \$0-file;
#X msg 247 162 file \$1;
#X obj 168 344 s \$0-length;
#X msg 241 112 write \$1;
#X obj 469 150 r \$0-auto;
#X msg 429 182 auto \$1;
#X msg 429 155 0;
#X obj 122 199 mem waves.txt;
#X obj 122 256 route list length;
#X connect 0 0 1 0;
#X connect 2 0 20 1;
#X connect 3 0 6 0;
#X connect 4 0 20 0;
#X connect 5 0 20 0;
#X connect 6 0 4 0;
#X connect 6 1 5 0;
#X connect 7 0 16 0;
#X connect 8 0 9 0;
#X connect 10 0 20 1;
#X connect 11 0 10 0;
#X connect 11 0 19 0;
#X connect 12 0 20 1;
#X connect 13 0 14 0;
#X connect 14 0 20 1;
#X connect 16 0 20 1;
#X connect 17 0 18 0;
#X connect 18 0 20 1;
#X connect 19 0 18 0;
#X connect 20 0 21 0;
#X connect 21 0 0 0;
#X connect 21 1 8 0;
#X connect 21 1 15 0;
#X restore 326 226 pd \$0-presets;
#N canvas 657 187 383 368 \$0-auto 0;
#X obj -249 307 s \$0-read-in;
#X obj -365 32 r \$0-read;
#X obj -365 128 change;
#X obj -353 79 t b f;
#X obj -249 145 sel 1 0;
#X obj -365 296 s \$0-rec-in;
#X obj -365 164 sel 1 0;
#X msg -365 268 color 13 22 22;
#X obj -365 106 >=;
#X obj -353 57 r \$0-length;
#N canvas 126 312 450 300 _color_ 0;
#N canvas 404 191 537 377 \$0-PRESETS 0;
#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;
#N canvas 471 264 623 408 \$0-AUTO-GUI 0;
#X obj 120 185 change;
#X obj 132 100 t b f;
#X obj 236 202 sel 1 0;
#X obj 120 221 sel 1 0;
#X obj 120 127 >=;
#N canvas 122 314 450 300 _color_ 0;
#X obj 210 199 * 256;
#X obj 254 178 * 256;
#X obj 254 199 * 256;
......@@ -186,10 +90,6 @@
#X obj 171 122 unpack f f f;
#X obj 70 41 inlet;
#X obj 70 67 route bang list;
#X obj 50 162 f \$1;
#X obj 63 115 t b b b;
#X obj 81 162 f \$2;
#X obj 115 162 f \$3;
#X obj 211 328 outlet float;
#X connect 0 0 4 0;
#X connect 1 0 2 0;
......@@ -197,7 +97,7 @@
#X connect 3 0 5 0;
#X connect 4 0 3 0;
#X connect 4 1 3 1;
#X connect 5 0 21 0;
#X connect 5 0 17 0;
#X connect 6 0 3 0;
#X connect 6 1 5 1;
#X connect 7 0 3 0;
......@@ -211,20 +111,12 @@
#X connect 14 1 12 0;
#X connect 14 2 13 0;
#X connect 15 0 16 0;
#X connect 16 0 18 0;
#X connect 16 1 14 0;
#X connect 17 0 11 0;
#X connect 18 0 17 0;
#X connect 18 1 19 0;
#X connect 18 2 20 0;
#X connect 19 0 12 0;
#X connect 20 0 13 0;
#X restore -346 218 pd _color_;
#X msg -346 193 255 215 183;
#X msg -230 206 color \$1 12 12;
#X msg -249 281 color \$1 13 13;
#X msg -346 240 color \$1 12 12;
#N canvas 126 312 450 300 _color_ 0;
#X restore 139 275 pd _color_;
#X msg 255 263 color \$1 12 12;
#X msg 236 338 color \$1 13 13;
#X msg 139 297 color \$1 12 12;
#N canvas 124 313 450 300 _color_ 0;
#X obj 210 199 * 256;
#X obj 254 178 * 256;
#X obj 254 199 * 256;
......@@ -242,10 +134,6 @@
#X obj 171 122 unpack f f f;
#X obj 70 41 inlet;
#X obj 70 67 route bang list;
#X obj 50 162 f \$1;
#X obj 63 115 t b b b;
#X obj 81 162 f \$2;
#X obj 115 162 f \$3;
#X obj 211 328 outlet float;
#X connect 0 0 4 0;
#X connect 1 0 2 0;
......@@ -253,7 +141,7 @@
#X connect 3 0 5 0;
#X connect 4 0 3 0;
#X connect 4 1 3 1;
#X connect 5 0 21 0;
#X connect 5 0 17 0;
#X connect 6 0 3 0;
#X connect 6 1 5 1;
#X connect 7 0 3 0;
......@@ -267,17 +155,9 @@
#X connect 14 1 12 0;
#X connect 14 2 13 0;
#X connect 15 0 16 0;
#X connect 16 0 18 0;
#X connect 16 1 14 0;
#X connect 17 0 11 0;
#X connect 18 0 17 0;
#X connect 18 1 19 0;
#X connect 18 2 20 0;
#X connect 19 0 12 0;
#X connect 20 0 13 0;
#X restore -230 186 pd _color_;
#X msg -230 166 255 215 183;
#N canvas 126 312 450 300 _color_ 0;
#X restore 255 243 pd _color_;
#N canvas 124 313 450 300 _color_ 0;
#X obj 210 199 * 256;
#X obj 254 178 * 256;
#X obj 254 199 * 256;
......@@ -295,10 +175,6 @@
#X obj 171 122 unpack f f f;
#X obj 70 41 inlet;
#X obj 70 67 route bang list;
#X obj 50 162 f \$1;
#X obj 63 115 t b b b;
#X obj 81 162 f \$2;
#X obj 115 162 f \$3;
#X obj 211 328 outlet float;
#X connect 0 0 4 0;
#X connect 1 0 2 0;
......@@ -306,7 +182,7 @@
#X connect 3 0 5 0;
#X connect 4 0 3 0;
#X connect 4 1 3 1;