aboutsummaryrefslogtreecommitdiff
path: root/examples/digidistort.pd
diff options
context:
space:
mode:
Diffstat (limited to 'examples/digidistort.pd')
-rw-r--r--examples/digidistort.pd69
1 files changed, 69 insertions, 0 deletions
diff --git a/examples/digidistort.pd b/examples/digidistort.pd
new file mode 100644
index 0000000..6764a3b
--- /dev/null
+++ b/examples/digidistort.pd
@@ -0,0 +1,69 @@
+#N canvas 0 -1 708 652 10;
+#X obj 99 529 swap~;
+#X text 172 515 byte-swap the signal;
+#X text 214 164 quantize a signal with a variable step-number;
+#X text 171 533 this object first converts the signal to 16bit \, then swaps upper and lower byte.;
+#X text 117 11 objects~ that are distorting in a very "digital" way;
+#X msg 128 113 8bit;
+#X msg 128 89 16bit;
+#X msg 128 66 float;
+#X floatatom 129 42;
+#X obj 77 273 dac~ 1;
+#X obj 77 248 *~;
+#X obj 39 199 dbtorms;
+#X floatatom 39 175;
+#X msg 122 441 0;
+#X msg 122 417 1;
+#X msg 121 466 bang;
+#X obj 35 136 osc~ 440;
+#X floatatom 35 112;
+#X obj 96 164 quantize~ 16;
+#X obj 35 496 osc~ 440;
+#X floatatom 35 472;
+#X msg 121 491 help;
+#X obj 83 609 *~;
+#X obj 45 560 dbtorms;
+#X floatatom 45 536;
+#X msg 127 137 help;
+#X obj 83 634 dac~ 2;
+#X msg 404 59 \; pd dsp 1;
+#X obj 78 223 sig~ 0.2;
+#X obj 83 584 sig~ 0.2;
+#X msg 482 61 \; pd dsp 0;
+#X graph graph5 0 -1 100 1 298 494 698 194;
+#X array scope 100 float;
+#X pop;
+#X obj 148 223 tabwrite~ scope;
+#X msg 148 198 bang;
+#X obj 178 634 tabwrite~ scope;
+#X msg 178 609 bang;
+#X text 161 466 toggle;
+#X text 154 416 on;
+#X text 156 440 off;
+#X connect 0 0 22 1;
+#X connect 0 0 34 0;
+#X connect 5 0 18 0;
+#X connect 6 0 18 0;
+#X connect 7 0 18 0;
+#X connect 8 0 18 0;
+#X connect 10 0 9 0;
+#X connect 11 0 28 0;
+#X connect 12 0 11 0;
+#X connect 13 0 0 0;
+#X connect 14 0 0 0;
+#X connect 15 0 0 0;
+#X connect 16 0 18 0;
+#X connect 17 0 16 0;
+#X connect 18 0 10 1;
+#X connect 18 0 32 0;
+#X connect 19 0 0 0;
+#X connect 20 0 19 0;
+#X connect 21 0 0 0;
+#X connect 22 0 26 0;
+#X connect 23 0 29 0;
+#X connect 24 0 23 0;
+#X connect 25 0 18 0;
+#X connect 28 0 10 0;
+#X connect 29 0 22 0;
+#X connect 33 0 32 0;
+#X connect 35 0 34 0;