aboutsummaryrefslogtreecommitdiff
path: root/nusmuk-audio/examples
diff options
context:
space:
mode:
authorCyrille Henry <nusmuk@users.sourceforge.net>2012-06-12 18:35:36 +0000
committerCyrille Henry <nusmuk@users.sourceforge.net>2012-06-12 18:35:36 +0000
commitddd0fcf33636efe78f2fbab5e3356ff8b029e48f (patch)
tree427698f9654f8488355689025fe10c78c3c5008d /nusmuk-audio/examples
parentbc8d4bcab370eb9042489cb760023e8f259b9cc1 (diff)
remove sinh as dependency
svn path=/trunk/externals/nusmuk/; revision=16150
Diffstat (limited to 'nusmuk-audio/examples')
-rw-r--r--nusmuk-audio/examples/analog_synth_emulation.pd290
1 files changed, 88 insertions, 202 deletions
diff --git a/nusmuk-audio/examples/analog_synth_emulation.pd b/nusmuk-audio/examples/analog_synth_emulation.pd
index eefd015..c797984 100644
--- a/nusmuk-audio/examples/analog_synth_emulation.pd
+++ b/nusmuk-audio/examples/analog_synth_emulation.pd
@@ -1,124 +1,42 @@
-#N canvas 333 22 523 667 10;
-#X obj 66 468 *~ 0.1;
-#X obj 67 496 dac~;
-#X obj 65 126 vsl 15 128 -20 127 0 0 empty empty empty 0 -9 0 10 -262144
--1 -1 5200 1;
-#X obj 65 283 line~;
-#X msg 65 261 \$1 20;
-#X obj 134 476 oscillo~;
-#X obj 66 324 ../saw~;
-#X obj 66 345 ../distortion~;
-#X obj 67 434 ../distortion~;
-#N canvas 520 123 368 628 coef_lpf_biquad 0;
-#X obj 50 32 inlet;
-#X obj 211 31 inlet;
-#X text 92 34 f;
-#X text 256 31 Q;
-#X obj 117 137 samplerate~;
-#X obj 117 114 loadbang;
-#X obj 174 115 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144
--1 -1;
-#X obj 50 170 /;
-#X obj 50 369 cos;
-#X obj 199 296 sin;
-#X obj 211 116 * 2;
-#X obj 50 564 outlet;
-#X obj 288 504 + 1;
-#X obj 139 501 / 2;
-#X obj 94 505 -;
-#X msg 99 463 1 \$1;
-#X msg 139 458 1 \$1;
-#X obj 184 480 -;
-#X obj 229 501 / 2;
-#X msg 229 460 1 \$1;
-#X obj 50 487 * -2;
-#X obj 139 480 -;
-#X msg 184 458 1 \$1;
-#X obj 229 481 -;
-#X obj 199 350 t f f;
-#X obj 50 269 t f f;
-#X obj 50 539 /;
-#X obj 94 540 /;
-#X obj 139 540 /;
-#X obj 184 539 /;
-#X obj 229 540 /;
-#X obj 139 564 outlet;
-#X obj 94 564 outlet;
-#X obj 184 564 outlet;
-#X obj 229 564 outlet;
-#X obj 50 246 f;
-#X obj 211 185 t b f;
-#X obj 211 95 + 0.707;
-#X obj 211 74 max 0;
-#X obj 50 73 max 0;
-#X obj 50 394 t f f b;
-#X obj 50 115 * 3.14159;
-#X obj 67 206 min 3.14;
-#X obj 238 295 sinh;
-#X obj 199 325 * 0.767;
-#X msg 211 140 1 \$1;
-#X obj 211 162 /;
-#X obj 50 143 * 2;
-#X obj 50 95 min 21000;
-#X connect 0 0 39 0;
-#X connect 1 0 38 0;
-#X connect 4 0 7 1;
-#X connect 5 0 4 0;
-#X connect 6 0 4 0;
-#X connect 7 0 35 0;
-#X connect 8 0 40 0;
-#X connect 9 0 44 0;
-#X connect 10 0 45 0;
-#X connect 12 0 26 1;
-#X connect 12 0 27 1;
-#X connect 12 0 28 1;
-#X connect 12 0 29 1;
-#X connect 12 0 30 1;
-#X connect 13 0 28 0;
-#X connect 14 0 27 0;
-#X connect 15 0 14 0;
-#X connect 16 0 21 0;
-#X connect 17 0 29 0;
-#X connect 18 0 30 0;
-#X connect 19 0 23 0;
-#X connect 20 0 26 0;
-#X connect 21 0 13 0;
-#X connect 22 0 17 0;
-#X connect 23 0 18 0;
-#X connect 24 0 15 0;
-#X connect 24 1 12 0;
-#X connect 25 0 8 0;
-#X connect 25 1 9 0;
-#X connect 26 0 11 0;
-#X connect 27 0 32 0;
-#X connect 28 0 31 0;
-#X connect 29 0 33 0;
-#X connect 30 0 34 0;
-#X connect 35 0 25 0;
-#X connect 36 0 35 0;
-#X connect 36 1 43 0;
-#X connect 37 0 10 0;
-#X connect 38 0 37 0;
-#X connect 39 0 48 0;
-#X connect 40 0 20 0;
-#X connect 40 1 16 0;
-#X connect 40 1 22 0;
-#X connect 40 1 19 0;
-#X connect 40 2 14 0;
-#X connect 41 0 47 0;
-#X connect 42 0 35 0;
-#X connect 43 0 44 1;
-#X connect 44 0 24 0;
-#X connect 45 0 46 0;
-#X connect 46 0 36 0;
-#X connect 47 0 7 0;
-#X connect 48 0 41 0;
-#X restore 244 253 pd coef_lpf_biquad;
-#X obj 244 277 pack f f f f f;
-#X obj 244 231 mtof;
-#X floatatom 369 229 5 0 0 0 - - -;
-#X obj 244 303 t a;
-#N canvas 0 0 450 300 5_line~ 0;
+#N canvas 329 85 523 667 10;
+#X declare -path ..;
+#X obj 66 508 *~ 0.1;
+#X obj 67 536 dac~;
+#X obj 65 166 vsl 15 128 -20 127 0 0 empty empty empty 0 -9 0 10 -262144
+-1 -1 5000 1;
+#X obj 65 323 line~;
+#X msg 65 301 \$1 20;
+#X obj 134 516 oscillo~;
+#X obj 244 271 mtof;
+#X obj 244 136 vsl 15 128 -20 127 0 0 empty empty empty 0 -9 0 10 -262144
+-1 -1 7800 1;
+#X obj 101 1 metro 222;
+#X obj 101 133 pack f f;
+#X obj 101 24 t b b;
+#X obj 154 65 random 222;
+#X obj 232 65 random 222;
+#X obj 101 -18 tgl 15 0 empty empty empty 17 7 0 10 -262144 -1 -1 1
+1;
+#X obj 179 111 pack f f;
+#X obj 179 133 line;
+#X obj 66 344 mtof~;
+#X floatatom 132 363 5 0 0 0 - - -;
+#X floatatom 114 455 5 0 0 0 - - -;
+#X obj 360 78 random 222;
+#X obj 307 144 pack f f;
+#X obj 307 166 line;
+#X obj 307 102 random 100;
+#X obj 307 123 / 10;
+#X obj 101 112 + 22;
+#X obj 179 89 random 99;
+#X obj 101 89 random 44;
+#X obj 135 495 *~ 0.5;
+#X obj 69 -44 declare -path ..;
+#X obj 244 343 bq_coef_lop;
+#X obj 66 364 saw~;
+#X obj 66 385 distortion~;
+#X obj 67 474 distortion~;
+#N canvas 1 85 450 300 5_lines~ 0;
#X obj 80 123 line~;
#X obj 79 147 outlet~;
#X obj 80 71 inlet;
@@ -134,11 +52,11 @@
#X obj 304 123 line~;
#X obj 303 147 outlet~;
#X obj 304 73 inlet;
-#X msg 80 97 \$1 5;
-#X msg 135 98 \$1 5;
-#X msg 193 96 \$1 5;
-#X msg 247 99 \$1 5;
-#X msg 303 99 \$1 5;
+#X msg 80 97 \$1 50;
+#X msg 135 98 \$1 50;
+#X msg 193 96 \$1 50;
+#X msg 247 99 \$1 50;
+#X msg 303 99 \$1 50;
#X connect 0 0 1 0;
#X connect 2 0 15 0;
#X connect 3 0 4 0;
@@ -154,84 +72,52 @@
#X connect 17 0 6 0;
#X connect 18 0 9 0;
#X connect 19 0 12 0;
-#X restore 244 344 pd 5_line~;
-#X obj 244 323 unpack f f f f f;
-#X obj 66 388 bq~ ---------;
-#X obj 244 96 vsl 15 128 -20 127 0 0 empty empty empty 0 -9 0 10 -262144
--1 -1 8200 1;
-#X obj 101 -39 metro 222;
-#X obj 101 93 pack f f;
-#X obj 101 -16 t b b;
-#X obj 154 25 random 222;
-#X obj 232 25 random 222;
-#X obj 101 -58 tgl 15 0 empty empty empty 17 7 0 10 -262144 -1 -1 1
-1;
-#X obj 179 71 pack f f;
-#X obj 179 93 line;
-#X obj 66 304 mtof~;
-#X floatatom 132 323 5 0 0 0 - - -;
-#X floatatom 114 415 5 0 0 0 - - -;
-#X obj 359 38 random 222;
-#X obj 306 104 pack f f;
-#X obj 306 126 line;
-#X obj 306 62 random 100;
-#X obj 306 83 / 10;
-#X obj 101 72 + 22;
-#X obj 179 49 random 99;
-#X obj 101 49 random 44;
-#X obj 135 455 *~ 0.5;
+#X restore 244 364 pd 5_lines~;
+#X obj 66 428 bq~ ---------;
#X connect 0 0 1 0;
#X connect 0 0 1 1;
#X connect 2 0 4 0;
-#X connect 3 0 26 0;
+#X connect 3 0 16 0;
#X connect 4 0 3 0;
-#X connect 6 0 7 0;
-#X connect 7 0 16 0;
-#X connect 8 0 0 0;
-#X connect 8 0 37 0;
-#X connect 9 0 10 0;
-#X connect 9 1 10 1;
-#X connect 9 2 10 2;
-#X connect 9 3 10 3;
-#X connect 9 4 10 4;
-#X connect 10 0 13 0;
-#X connect 11 0 9 0;
-#X connect 12 0 9 1;
-#X connect 13 0 15 0;
-#X connect 14 0 16 1;
-#X connect 14 1 16 2;
-#X connect 14 2 16 3;
-#X connect 14 3 16 4;
-#X connect 14 4 16 5;
-#X connect 15 0 14 0;
-#X connect 15 1 14 1;
-#X connect 15 2 14 2;
-#X connect 15 3 14 3;
-#X connect 15 4 14 4;
-#X connect 16 0 8 0;
-#X connect 17 0 11 0;
-#X connect 18 0 20 0;
-#X connect 19 0 3 0;
-#X connect 20 0 32 0;
-#X connect 20 0 35 0;
-#X connect 20 0 36 0;
-#X connect 20 1 21 0;
-#X connect 20 1 22 0;
-#X connect 20 1 29 0;
-#X connect 21 0 19 1;
-#X connect 22 0 24 1;
-#X connect 23 0 18 0;
-#X connect 24 0 25 0;
-#X connect 25 0 11 0;
-#X connect 26 0 6 0;
-#X connect 27 0 7 1;
-#X connect 28 0 8 1;
-#X connect 29 0 30 1;
+#X connect 6 0 29 0;
+#X connect 7 0 6 0;
+#X connect 8 0 10 0;
+#X connect 9 0 3 0;
+#X connect 10 0 22 0;
+#X connect 10 0 25 0;
+#X connect 10 0 26 0;
+#X connect 10 1 11 0;
+#X connect 10 1 12 0;
+#X connect 10 1 19 0;
+#X connect 11 0 9 1;
+#X connect 12 0 14 1;
+#X connect 13 0 8 0;
+#X connect 14 0 15 0;
+#X connect 15 0 6 0;
+#X connect 16 0 30 0;
+#X connect 17 0 31 1;
+#X connect 18 0 32 1;
+#X connect 19 0 20 1;
+#X connect 20 0 21 0;
+#X connect 21 0 29 1;
+#X connect 22 0 23 0;
+#X connect 23 0 20 0;
+#X connect 24 0 9 0;
+#X connect 25 0 14 0;
+#X connect 26 0 24 0;
+#X connect 27 0 5 0;
+#X connect 29 0 33 0;
+#X connect 29 1 33 1;
+#X connect 29 2 33 2;
+#X connect 29 3 33 3;
+#X connect 29 4 33 4;
#X connect 30 0 31 0;
-#X connect 31 0 9 1;
-#X connect 32 0 33 0;
-#X connect 33 0 30 0;
-#X connect 34 0 19 0;
-#X connect 35 0 24 0;
-#X connect 36 0 34 0;
-#X connect 37 0 5 0;
+#X connect 31 0 34 0;
+#X connect 32 0 0 0;
+#X connect 32 0 27 0;
+#X connect 33 0 34 1;
+#X connect 33 1 34 2;
+#X connect 33 2 34 3;
+#X connect 33 3 34 4;
+#X connect 33 4 34 5;
+#X connect 34 0 32 0;