aboutsummaryrefslogtreecommitdiff
path: root/examples/demultiplex.pd
diff options
context:
space:
mode:
authorGuenter Geiger <ggeiger@users.sourceforge.net>2002-10-09 10:19:04 +0000
committerGuenter Geiger <ggeiger@users.sourceforge.net>2002-10-09 10:19:04 +0000
commitd2eec74a4d8c21aad495ba61539486b24d7ab8dc (patch)
tree8340a62efe3eb1d42dc40265723c2704d3bd6452 /examples/demultiplex.pd
moved from zexy/zexy to zexysvn2git-root
svn path=/trunk/externals/zexy/; revision=169
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;