aboutsummaryrefslogtreecommitdiff
path: root/examples/demultiplex.pd
diff options
context:
space:
mode:
Diffstat (limited to 'examples/demultiplex.pd')
-rw-r--r--examples/demultiplex.pd35
1 files changed, 35 insertions, 0 deletions
diff --git a/examples/demultiplex.pd b/examples/demultiplex.pd
new file mode 100644
index 0000000..1d69b08
--- /dev/null
+++ b/examples/demultiplex.pd
@@ -0,0 +1,35 @@
+#N canvas 350 196 655 292 10;
+#X obj 51 171 demux 1 2 3 4;
+#X obj 51 91 metro 320;
+#X obj 51 111 t b b;
+#X obj 51 130 random 100;
+#X msg 51 69 1;
+#X msg 76 69 0;
+#X floatatom 135 147;
+#X obj 51 239 print output0;
+#X obj 135 129 random 4;
+#X obj 75 222 print outpu1;
+#X obj 99 205 print outp2;
+#X obj 124 188 print out3;
+#X msg 51 150 bet \$1;
+#X text 231 10 demultiplex the inlet to the specified output;
+#X obj 111 12 demultiplex;
+#X obj 315 236 demux;
+#X text 271 237 alias;
+#X text 268 166 creation: "demultiplex [<in1?> [<in2?> [<in3?> ... ]]]";
+#X text 303 185 the number of arguments defines the number of outlets;
+#X text 277 81 the right inlet specifies \, to which outlet the left inlet is routed;
+#X text 280 119 outlets number from 0..(n-1);
+#X connect 0 0 7 0;
+#X connect 0 1 9 0;
+#X connect 0 2 10 0;
+#X connect 0 3 11 0;
+#X connect 1 0 2 0;
+#X connect 2 0 3 0;
+#X connect 2 1 8 0;
+#X connect 3 0 12 0;
+#X connect 4 0 1 0;
+#X connect 5 0 1 0;
+#X connect 6 0 0 1;
+#X connect 8 0 6 0;
+#X connect 12 0 0 0;