aboutsummaryrefslogtreecommitdiff
path: root/any_argument.pd
blob: 40ed66025a48e3a6ecddc7a7e4a01f56d05a41ce (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
#N canvas 160 301 515 350 10;
#X obj 189 234 outlet;
#X text 13 259 If the argument is not equal to 0 \, use it. Pd init
arguments to 0 so unused arguments will be 0;
#X obj 73 116 select 0;
#X text 12 296 This is useful to have internals inited \, but not reset
if there is no argument specified.;
#X obj 73 190 select 0;
#X text 205 172 if 2nd arg \, then use as default value;
#X obj 73 13 inlet;
#X obj 189 13 inlet;
#X text 227 14 convenience inlet;
#X obj 73 96 list append \$1;
#X obj 73 169 list append \$2;
#X obj 73 55 bang;
#X obj 188 56 list;
#X text 194 74 arguments output symbols so this should too;
#X connect 2 0 10 0;
#X connect 2 1 0 0;
#X connect 4 1 0 0;
#X connect 6 0 11 0;
#X connect 7 0 12 0;
#X connect 9 0 2 0;
#X connect 10 0 4 0;
#X connect 11 0 9 0;
#X connect 12 0 0 0;