robert@464: #N canvas 623 197 587 546 10; robert@464: #X obj 73 413 outlet; robert@464: #X obj 174 411 outlet; robert@464: #X obj 106 304 spigot; robert@464: #X obj 197 126 loadbang; robert@464: #X obj 197 175 \$1; robert@464: #X obj 146 196 == \$1; robert@464: #X obj 139 281 tgl 15 0 empty empty empty 17 7 0 10 -262144 -1 -1 0 robert@464: 1; robert@464: #X obj 163 229 ||; robert@464: #X obj 197 199 == 0; robert@464: #X obj 197 151 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144 robert@464: -1 -1; robert@464: #X obj 89 111 unpack f f; robert@464: #X obj 106 332 unpack f f; robert@464: #X text 52 436 program number; robert@464: #X text 182 432 channel; robert@464: #X text 193 281 If (channel==\$1 || \$1==0); robert@464: #X text 167 45 emulates pgmin except it always has 2 outlets and requires robert@464: the input parameters to be explicitely set. Set them to 0 to avoid robert@464: filtering; robert@464: #X text 262 132 It'd be nicer with [t l l] but have to compensate for robert@464: the fact that it is not supported by heavy; robert@464: #X obj 77 183 pack f f; robert@464: #X floatatom 72 355 5 0 0 0 - - -, f 5; robert@464: #X obj 63 379 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144 -1 robert@464: -1; robert@464: #X floatatom 150 361 5 0 0 0 - - -, f 5; robert@464: #X obj 141 385 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144 robert@464: -1 -1; robert@464: #X obj 91 63 s pgmin; robert@464: #X obj 93 87 r pgmin; robert@464: #X obj 89 42 r bela_pgmin; robert@464: #X connect 2 0 11 0; robert@464: #X connect 3 0 9 0; robert@464: #X connect 4 0 8 0; robert@464: #X connect 5 0 7 0; robert@464: #X connect 6 0 2 1; robert@464: #X connect 7 0 6 0; robert@464: #X connect 8 0 7 1; robert@464: #X connect 9 0 4 0; robert@464: #X connect 10 0 17 0; robert@464: #X connect 10 1 5 0; robert@464: #X connect 10 1 17 1; robert@464: #X connect 11 0 0 0; robert@464: #X connect 11 0 18 0; robert@464: #X connect 11 1 1 0; robert@464: #X connect 11 1 20 0; robert@464: #X connect 17 0 2 0; robert@464: #X connect 18 0 19 0; robert@464: #X connect 20 0 21 0; robert@464: #X connect 23 0 10 0; robert@464: #X connect 24 0 22 0;