aboutsummaryrefslogtreecommitdiff
path: root/examples/quantize~.pd
diff options
context:
space:
mode:
Diffstat (limited to 'examples/quantize~.pd')
-rw-r--r--examples/quantize~.pd37
1 files changed, 37 insertions, 0 deletions
diff --git a/examples/quantize~.pd b/examples/quantize~.pd
new file mode 100644
index 0000000..02bd567
--- /dev/null
+++ b/examples/quantize~.pd
@@ -0,0 +1,37 @@
+#N canvas 0 -1 705 533 10;
+#X text 242 9 quantize a signal with a variable step-number;
+#X msg 119 204 8bit;
+#X msg 119 180 16bit;
+#X msg 119 157 float;
+#X floatatom 120 133;
+#X obj 71 367 dac~ 1;
+#X obj 71 342 *~;
+#X obj 32 293 dbtorms;
+#X floatatom 32 269;
+#X obj 26 227 osc~ 440;
+#X floatatom 26 203;
+#X obj 87 255 quantize~ 16;
+#X msg 118 228 help;
+#X msg 404 59 \; pd dsp 1;
+#X obj 71 317 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 139 314 tabwrite~ scope;
+#X msg 139 289 bang;
+#X obj 123 12 quantize~;
+#X connect 1 0 11 0;
+#X connect 2 0 11 0;
+#X connect 3 0 11 0;
+#X connect 4 0 11 0;
+#X connect 6 0 5 0;
+#X connect 7 0 14 0;
+#X connect 8 0 7 0;
+#X connect 9 0 11 0;
+#X connect 10 0 9 0;
+#X connect 11 0 6 1;
+#X connect 11 0 17 0;
+#X connect 12 0 11 0;
+#X connect 14 0 6 0;
+#X connect 18 0 17 0;