aboutsummaryrefslogtreecommitdiff
path: root/any_argument.pd
diff options
context:
space:
mode:
authorHans-Christoph Steiner <eighthave@users.sourceforge.net>2006-02-07 03:55:12 +0000
committerIOhannes m zmölnig <zmoelnig@iem.at>2015-10-14 14:40:10 +0200
commiteb23d182721b9cee66f9013bea54e32e64f51e13 (patch)
treeec57865d1ffd0c5470cdd3b03336ba957df3434e /any_argument.pd
parent604106d75e4bb95d2b83ff2151b96e284736eff9 (diff)
after much discussion with Frank and IO, I think these objecst are properly vetted. But they belong somewhere else, not purepd. We just need a name for such a library
svn path=/trunk/abstractions/purepd/; revision=4561
Diffstat (limited to 'any_argument.pd')
-rw-r--r--any_argument.pd26
1 files changed, 26 insertions, 0 deletions
diff --git a/any_argument.pd b/any_argument.pd
new file mode 100644
index 0000000..40ed660
--- /dev/null
+++ b/any_argument.pd
@@ -0,0 +1,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;