aboutsummaryrefslogtreecommitdiff
path: root/float_argument.pd
blob: a52454905c312b4790bd66013ef54369f878d704 (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
#N canvas 554 317 498 348 10;
#X obj 214 233 outlet;
#X text 40 248 If the argument is not equal to 0 \, use it. Pd init
arguments to 0 so unused arguments will be 0;
#X obj 113 116 select 0;
#X text 39 285 This is useful to have internals inited \, but not reset
if there is no argument specified.;
#X obj 113 190 select 0;
#X obj 113 169 float \$2;
#X obj 113 96 float \$1;
#X text 176 181 if 2nd arg \, then use as default value;
#X obj 113 14 inlet;
#X obj 259 13 inlet;
#X text 297 14 convenience inlet;
#X obj 229 59 route float;
#X text 316 56 just in case;
#X obj 261 138 purepd_error float_argument;
#X obj 261 92 bang;
#X obj 114 49 bang;
#X text 5 14 loadbang inlet;
#X msg 261 114 wrong data type on right inlet;
#X connect 2 0 5 0;
#X connect 2 1 0 0;
#X connect 4 1 0 0;
#X connect 5 0 4 0;
#X connect 6 0 2 0;
#X connect 8 0 15 0;
#X connect 9 0 11 0;
#X connect 11 0 0 0;
#X connect 11 1 14 0;
#X connect 14 0 17 0;
#X connect 15 0 6 0;
#X connect 17 0 13 0;