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/demultiplex.pd | 77 +++++++++++++++++++++++++++---------------------- 1 file changed, 42 insertions(+), 35 deletions(-) (limited to 'examples/demultiplex.pd') diff --git a/examples/demultiplex.pd b/examples/demultiplex.pd index 1d69b08..dfcc1b5 100644 --- a/examples/demultiplex.pd +++ b/examples/demultiplex.pd @@ -1,35 +1,42 @@ -#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 [ [ [ ... ]]]"; -#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; +#N canvas 425 439 709 294 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 0 0 0 0 - - -; +#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 303 159 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 text 549 33 part of zexy; +#X text 263 174 even though this seems to be a bit weird \, this makes +patches more readable (as the object becomes wider if it has more outlets) +; +#X text 268 140 creation: "demultiplex [ [ [ ... +]]]"; +#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; -- cgit v1.2.1