#N canvas 457 66 559 555 10;
#X obj 2 364 cnv 3 550 3 empty empty inlets 8 12 0 13 #dcdcdc #000000 0;
#X obj 2 434 cnv 3 550 3 empty empty outlets 8 12 0 13 #dcdcdc #000000 0;
#X obj 2 472 cnv 3 550 3 empty empty arguments 8 12 0 13 #dcdcdc #000000 0;
#X obj 101 374 cnv 17 3 30 empty empty 0 5 9 0 16 #dcdcdc #9c9c9c 0;
#X obj 101 409 cnv 17 3 17 empty empty n 5 9 0 16 #dcdcdc #9c9c9c 0;
#X obj 101 445 cnv 17 3 17 empty empty 0 5 9 0 16 #dcdcdc #9c9c9c 0;
#X floatatom 171 204 3 0 3 0 - - - 0;
#X obj 171 137 vradio 15 1 0 4 empty empty empty 0 -8 0 10 #dcdcdc #000000 #000000 0;
#X text 159 137 0;
#X obj 2 548 cnv 1 550 1 empty empty empty 0 0 0 4 #fcfcfc #fcfcfc 0;
#X obj 2 527 cnv 15 552 21 empty empty empty 20 12 0 14 #e0e0e0 #202020 0;
#X text 182 389 -;
#X text 149 389 bang;
#X text 182 373 -;
#X text 143 373 float;
#X text 182 409 -;
#X text 182 480 -;
#X text 124 480 1) float;
#X text 182 500 -;
#X text 124 500 2) float;
#X text 125 409 anything;
#X text 197 409 any message to pass through the switch, f 43;
#X text 197 373 sets which inlet is open (0 is all closed), f 43;
#X text 197 389 outputs the open outlet number, f 43;
#X text 125 445 anything;
#X obj 212 199 nbx 3 14 -1e+37 1e+37 0 0 empty empty empty 0 -8 0 10 #dcdcdc #000000 #000000 0 256;
#X obj 253 199 nbx 3 14 -1e+37 1e+37 0 0 empty empty empty 0 -8 0 10 #dcdcdc #000000 #000000 0 256;
#X obj 294 200 nbx 3 14 -1e+37 1e+37 0 0 empty empty empty 0 -8 0 10 #dcdcdc #000000 #000000 0 256;
#X obj 129 182 bng 18 250 50 0 empty empty empty 17 7 0 10 #dcdcdc #000000 #000000;
#X obj 171 260 nbx 5 14 -1e+37 1e+37 0 0 empty empty empty 0 -8 0 10 #dcdcdc #000000 #000000 0 256;
#X text 159 152 1;
#X text 159 167 2;
#X text 159 182 3;
#X text 221 180 1;
#X text 261 180 2;
#X text 303 180 3;
#X text 61 90 [switch] outputs data from the inlet that's "switched on". Just one inlet from 'n' inlets can send data \, or none of them.;
#X text 192 137 <= select inlet (0 means all closed);
#N canvas 611 129 381 310 anything 0;
#X floatatom 79 153 3 0 3 0 - - - 0;
#X obj 79 86 vradio 15 1 0 4 empty empty empty 0 -8 0 10 #dcdcdc #000000 #000000 0;
#X text 67 86 0;
#X text 67 101 1;
#X text 67 116 2;
#X text 67 131 3;
#X obj 79 212 cyclone/prepend set;
#X msg 79 248;
#X msg 232 113 1 2 3;
#X msg 243 139 list one 2 3;
#X floatatom 130 129 5 0 0 0 - - - 0;
#X symbolatom 106 108 10 0 0 0 - - - 0;
#X msg 192 123 x;
#X msg 181 99 a b c;
#X obj 79 176 cyclone/switch 3 1, f 26;
#X text 55 36 [switch] works with any kind of message;
#X connect 0 0 14 0;
#X connect 1 0 0 0;
#X connect 6 0 7 0;
#X connect 8 0 14 3;
#X connect 9 0 14 3;
#X connect 10 0 14 1;
#X connect 11 0 14 1;
#X connect 12 0 14 2;
#X connect 13 0 14 2;
#X connect 14 0 6 0;
#X restore 460 246 pd anything;
#X text 182 445 - message from the switched on inlet;
#X text 196 480 set the 'n' number of inlets (from 2 to 100 \, default 2);
#X text 196 500 inlet initially switched on (default 0 - all closed);
#X obj 171 227 cyclone/switch 3 1, f 21;
#X obj 3 4 ./header switch;
#X text 22 63 Pass messages from a specific inlet;
#X obj 402 327 open-else;
#X text 464 298 click;
#X msg 402 299 selector;
#X text 135 304 Plugdata users or those with ELSE can also use [else/selector] as an alternative., f 42;
#X text 61 307 see also:;
#X connect 6 0 42 0;
#X connect 7 0 6 0;
#X connect 25 0 42 1;
#X connect 26 0 42 2;
#X connect 27 0 42 3;
#X connect 28 0 42 0;
#X connect 42 0 29 0;
#X connect 47 0 45 0;
