From a929b8f85f3db55cfc5ea5691cfbb7bb1a468675 Mon Sep 17 00:00:00 2001 From: Hans-Christoph Steiner Date: Wed, 8 Feb 2006 21:54:44 +0000 Subject: removed second inlet since it was unnecessary and bad form (the right inlet also caused output) svn path=/trunk/abstractions/purepd/; revision=4573 --- float_argument.pd | 40 +++++++++++++++++----------------------- 1 file changed, 17 insertions(+), 23 deletions(-) (limited to 'float_argument.pd') diff --git a/float_argument.pd b/float_argument.pd index a524549..4eb9097 100644 --- a/float_argument.pd +++ b/float_argument.pd @@ -1,33 +1,27 @@ -#N canvas 554 317 498 348 10; +#N canvas 554 317 502 352 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 obj 63 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 obj 63 190 select 0; +#X obj 63 169 float \$2; +#X obj 63 96 float \$1; +#X text 211 191 if 2nd arg \, then use as default value; +#X obj 63 14 inlet; +#X obj 211 138 purepd_error float_argument; +#X obj 211 92 bang; +#X msg 211 114 wrong data type on right inlet; +#X obj 64 49 route bang float; #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; +#X connect 8 0 12 0; +#X connect 10 0 11 0; +#X connect 11 0 9 0; +#X connect 12 0 6 0; +#X connect 12 1 0 0; +#X connect 12 2 10 0; -- cgit v1.2.1