aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCyrille Henry <nusmuk@users.sourceforge.net>2005-06-19 12:18:45 +0000
committerCyrille Henry <nusmuk@users.sourceforge.net>2005-06-19 12:18:45 +0000
commit87a7324554278aab4420063f265f737f064ffb0e (patch)
tree950ccb4535a6b3f67928ba06e47c9180edcad9ee
parent9408ae61322ee4976182af7510e871c57329b5bc (diff)
simple distortion with audio control
svn path=/trunk/abstractions/nusmuk/; revision=3218
-rw-r--r--distortion-help.pd35
-rw-r--r--distortion.pd22
2 files changed, 57 insertions, 0 deletions
diff --git a/distortion-help.pd b/distortion-help.pd
new file mode 100644
index 0000000..772f016
--- /dev/null
+++ b/distortion-help.pd
@@ -0,0 +1,35 @@
+#N canvas 468 234 684 571 10;
+#X obj 78 262 distortion;
+#X obj 77 302 dac~;
+#X msg 143 133 \$1 20;
+#X obj 143 155 line~;
+#X floatatom 143 109 5 0 0 0 - - -;
+#X obj 77 194 osc~ 80;
+#X obj 198 132 osc~ 30;
+#X floatatom 77 164 5 0 0 0 - - -;
+#X floatatom 198 111 5 0 0 0 - - -;
+#X floatatom 222 157 5 0 0 0 - - -;
+#X obj 199 178 *~ 0;
+#X obj 135 298 oscillo;
+#X text 134 24 simple distortion with audio input for the distortion
+ratio;
+#X text 169 51 Left inlet : audio in;
+#X text 168 71 Right inlet : distortion (0 to 1). gives oposit result
+with (-1 to 0);
+#X obj 143 235 min~ 1;
+#X obj 142 211 max~ -1;
+#X text 338 141 dependency : abs~ and pow~;
+#X connect 0 0 1 0;
+#X connect 0 0 1 1;
+#X connect 0 0 11 0;
+#X connect 2 0 3 0;
+#X connect 3 0 16 0;
+#X connect 4 0 2 0;
+#X connect 5 0 0 0;
+#X connect 6 0 10 0;
+#X connect 7 0 5 0;
+#X connect 8 0 6 0;
+#X connect 9 0 10 1;
+#X connect 10 0 16 0;
+#X connect 15 0 0 1;
+#X connect 16 0 15 0;
diff --git a/distortion.pd b/distortion.pd
new file mode 100644
index 0000000..623edf7
--- /dev/null
+++ b/distortion.pd
@@ -0,0 +1,22 @@
+#N canvas 500 108 372 321 10;
+#X obj 29 217 outlet~;
+#X obj 29 132 /~;
+#X obj 46 104 abs~;
+#X obj 29 181 *~;
+#X obj 46 156 pow~ 2;
+#X obj 30 20 inlet~;
+#X obj 123 52 inlet~;
+#X text 87 20 audio in;
+#X obj 123 97 +~ 1;
+#X text 179 53 distortion (0 to 1);
+#X obj 122 73 *~ -1;
+#X connect 1 0 3 0;
+#X connect 2 0 1 1;
+#X connect 2 0 4 1;
+#X connect 3 0 0 0;
+#X connect 4 0 3 1;
+#X connect 5 0 1 0;
+#X connect 5 0 2 0;
+#X connect 6 0 10 0;
+#X connect 8 0 4 0;
+#X connect 10 0 8 0;