aboutsummaryrefslogtreecommitdiff
path: root/examples/demultiplex.pd
blob: 1d69b088a55326f913458d0bae0dbf83e29adfbd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
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;