From 2b60d55c919e7588f5aff15936e83c300b3660bb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?IOhannes=20m=20zm=C3=B6lnig?= Date: Tue, 22 Mar 2005 20:58:25 +0000 Subject: zexy-2.0: - use of abstractions for objects that allow it - some objects are build both as externals and abstractions (as slower fallbacks) - code-layout is now 1:1 c-file<->object (this should allow for building of zexy as a collection of externals instead as a big library) - matrix-objects have moved to iemmatrix !! svn path=/trunk/externals/zexy/; revision=2641 --- examples/multiplex.pd | 38 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 examples/multiplex.pd (limited to 'examples/multiplex.pd') diff --git a/examples/multiplex.pd b/examples/multiplex.pd new file mode 100644 index 0000000..f4611f8 --- /dev/null +++ b/examples/multiplex.pd @@ -0,0 +1,38 @@ +#N canvas 170 131 827 407 10; +#X obj 51 91 metro 320; +#X msg 51 69 1; +#X msg 76 69 0; +#X text 271 237 alias; +#X text 549 33 part of zexy; +#X obj 111 12 multiplex; +#X text 231 10 multiplex the selected inlet to the outlet; +#X text 277 81 the rightmost inlet specifies \, which inlet is routed +to the outlet; +#X text 280 119 inlets number from 0..(n-1); +#X text 268 166 creation: "multiplex [ [ [ ... ]]]" +; +#X obj 51 311 mux 1 2 3 4; +#X text 303 185 the number of arguments defines the number of inlets +; +#X obj 315 236 mux; +#X obj 51 369 print output; +#X obj 123 240 vradio 15 1 0 4 empty empty select 20 7 0 8 -262144 +-1 -1 3; +#X obj 51 111 t b b b b; +#X msg 69 161 bang; +#X floatatom 51 143 5 0 0 0 - - -; +#X msg 87 183 list 4 2; +#X msg 105 211 symbol coppenrath; +#X connect 0 0 15 0; +#X connect 1 0 0 0; +#X connect 2 0 0 0; +#X connect 10 0 13 0; +#X connect 14 0 10 4; +#X connect 15 0 17 0; +#X connect 15 1 16 0; +#X connect 15 2 18 0; +#X connect 15 3 19 0; +#X connect 16 0 10 1; +#X connect 17 0 10 0; +#X connect 18 0 10 2; +#X connect 19 0 10 3; -- cgit v1.2.1