aboutsummaryrefslogtreecommitdiff
path: root/doc/tutorials/intro/20.creation_arguments.pd
diff options
context:
space:
mode:
authorHans-Christoph Steiner <eighthave@users.sourceforge.net>2007-08-17 11:49:58 +0000
committerHans-Christoph Steiner <eighthave@users.sourceforge.net>2007-08-17 11:49:58 +0000
commit48fca58ed29eccc55a5245a7c4dc42dff1f1264d (patch)
tree9f86466d4c3bfadcfa45aa49ed0df68af5b203e5 /doc/tutorials/intro/20.creation_arguments.pd
parent9c5ec6b643268469a3396b86506d24fbf8e0e8ae (diff)
added a bunch more content, next it's time for more reordering...
svn path=/trunk/; revision=8620
Diffstat (limited to 'doc/tutorials/intro/20.creation_arguments.pd')
-rw-r--r--doc/tutorials/intro/20.creation_arguments.pd61
1 files changed, 31 insertions, 30 deletions
diff --git a/doc/tutorials/intro/20.creation_arguments.pd b/doc/tutorials/intro/20.creation_arguments.pd
index 7ae6a356..3e908f7a 100644
--- a/doc/tutorials/intro/20.creation_arguments.pd
+++ b/doc/tutorials/intro/20.creation_arguments.pd
@@ -1,34 +1,35 @@
-#N canvas 10 40 620 460 10;
-#X obj 170 105 float;
-#X text 23 62 Many objects can accept "arguments" to define their behavior.
+#N canvas 10 40 628 468 10;
+#X obj 438 85 float;
+#X text 20 72 Many objects can accept "arguments" to define their behavior.
Here is a plain [float] object:;
-#X text 26 135 Here is a [float] object with an argument of "5.5":
-;
-#X obj 168 166 float 5.5;
-#X obj 178 266 float 5.5;
-#X obj 178 248 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1
+#X obj 438 143 float 5.5;
+#X obj 438 215 float 5.5;
+#X obj 438 197 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1
-1;
-#X floatatom 178 287 5 0 0 0 - - -;
-#X text 25 197 Here \, the argument of "5.5" makes this [float] store
-the value 5.5 by default. Clicking the bang makes [float] output the
-value that it is currently storing:;
-#X obj 164 389 select 5;
-#X floatatom 216 410 5 0 0 1 everything_else - -;
-#X obj 165 410 bng 15 250 50 0 empty empty matched -52 9 0 12 -262144
--1 -1;
-#X msg 163 366 5;
-#X msg 132 366 3;
-#X msg 195 366 7;
-#X text 24 313 Some objects need to have some arguments in order to
-do anything useful. For example \, you can tell [select] which number
-to look for with an argument:;
+#X floatatom 438 236 5 0 0 0 - - -;
#X obj 10 10 cnv 15 400 40 empty empty creation_arguments 20 12 0 24
-228992 -66577 0;
-#X obj 68 454 pddp/pddplink crca;
-#X connect 4 0 6 0;
-#X connect 5 0 4 0;
-#X connect 8 0 10 0;
-#X connect 8 1 9 0;
-#X connect 11 0 8 0;
-#X connect 12 0 8 0;
-#X connect 13 0 8 0;
+#X text 229 402 For more info:;
+#X obj 277 422 pddp/pddplink http://crca.ucsd.edu/~msp/Pd_documentation/x2.htm#s1.2
+;
+#X text 20 135 Here is a [float] object with a creation argument of
+"5.5":;
+#X text 20 187 Here \, the creation argument of "5.5" makes this [float]
+store the value 5.5 by default. Clicking the bang makes [float] output
+the value that it is currently storing:;
+#X obj 438 313 float 5.5;
+#X floatatom 438 334 7 0 0 0 - - -;
+#X obj 438 295 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1
+-1;
+#X msg 474 288 -123;
+#X msg 512 288 0.0044;
+#X text 20 286 On most objects \, the creation arguments can be replaced
+by data coming in from the inlets. With the [float] object \, the right
+inlet \, a cold inlet \, sets the value that the [float] object stores:
+;
+#X connect 3 0 5 0;
+#X connect 4 0 3 0;
+#X connect 11 0 12 0;
+#X connect 13 0 11 0;
+#X connect 14 0 11 1;
+#X connect 15 0 11 1;