aboutsummaryrefslogtreecommitdiff
path: root/examples/multiplex.pd
blob: f4611f84fb31160a4efc0ddd5dcc8d3e927c971d (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
36
37
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 [<in1?> [<in2?> [<in3?> ... ]]]"
;
#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;