diff options
Diffstat (limited to 'doc/tutorials/intro')
-rw-r--r-- | doc/tutorials/intro/14.counters.pd (renamed from doc/tutorials/intro/12.counters.pd) | 0 | ||||
-rw-r--r-- | doc/tutorials/intro/14.event_driven_processing.pd (renamed from doc/tutorials/intro/11.event_driven_processing.pd) | 0 | ||||
-rw-r--r-- | doc/tutorials/intro/15.ordering_messages.pd | 12 | ||||
-rw-r--r-- | doc/tutorials/intro/23.implied_selectors.pd | 8 | ||||
-rw-r--r-- | doc/tutorials/intro/24.inlets_and_outlets.pd (renamed from doc/tutorials/intro/18.inlets_and_outlets.pd) | 0 | ||||
-rw-r--r-- | doc/tutorials/intro/27.creation_arguments.pd | 59 |
6 files changed, 14 insertions, 65 deletions
diff --git a/doc/tutorials/intro/12.counters.pd b/doc/tutorials/intro/14.counters.pd index a18cb2f7..a18cb2f7 100644 --- a/doc/tutorials/intro/12.counters.pd +++ b/doc/tutorials/intro/14.counters.pd diff --git a/doc/tutorials/intro/11.event_driven_processing.pd b/doc/tutorials/intro/14.event_driven_processing.pd index 31ccdacd..31ccdacd 100644 --- a/doc/tutorials/intro/11.event_driven_processing.pd +++ b/doc/tutorials/intro/14.event_driven_processing.pd diff --git a/doc/tutorials/intro/15.ordering_messages.pd b/doc/tutorials/intro/15.ordering_messages.pd index 8a2100db..448f5604 100644 --- a/doc/tutorials/intro/15.ordering_messages.pd +++ b/doc/tutorials/intro/15.ordering_messages.pd @@ -1,4 +1,4 @@ -#N canvas 10 40 620 460 12; +#N canvas 10 40 624 464 12; #X obj 10 10 cnv 15 400 40 empty empty ordering_messages 20 12 0 24 -228992 -66577 0; #X text 10 393 look here for the result -->; @@ -7,9 +7,9 @@ #X text 10 88 The [trigger] object allows you to specify the order of messages are sent. If you need to make sure that one thing runs before another \, use [trigger]:; -#X obj 3 174 cnv 15 80 25 empty empty empty 20 12 0 14 -225271 -66577 +#X obj 61 149 cnv 15 50 25 empty empty empty 20 12 0 14 -225271 -66577 0; -#X obj 142 149 cnv 15 80 25 empty empty empty 20 12 0 14 -225271 -66577 +#X obj 242 149 cnv 15 50 25 empty empty empty 20 12 0 14 -225271 -66577 0; #X msg 395 249 now; #X msg 316 250 this; @@ -17,11 +17,11 @@ before another \, use [trigger]:; #X msg 158 250 sense; #X msg 80 250 !; #X obj 157 292 symbol; -#X msg 159 151 bang; -#X msg 19 177 bang; +#X msg 249 151 bang; +#X msg 69 151 bang; #X msg 157 316 add2 \$1; #X msg 478 248 set; -#X obj 160 178 trigger bang bang bang bang bang bang; +#X obj 250 178 trigger bang bang bang bang bang bang; #X msg 296 391; #X connect 6 0 11 0; #X connect 7 0 11 0; diff --git a/doc/tutorials/intro/23.implied_selectors.pd b/doc/tutorials/intro/23.implied_selectors.pd new file mode 100644 index 00000000..95df3fd4 --- /dev/null +++ b/doc/tutorials/intro/23.implied_selectors.pd @@ -0,0 +1,8 @@ +#N canvas 10 40 624 464 12; +#X obj 8 -33 cnv 15 400 40 empty empty implied_selectors 20 12 0 24 +-228992 -66577 0; +#X msg 151 137 1; +#X msg 188 137 534 2334; +#X msg 261 137 5 cats; +#X text 19 83 In the case of messages whose first element is a numeric +atom \, the selector is implied (either a "float" or a "list":; diff --git a/doc/tutorials/intro/18.inlets_and_outlets.pd b/doc/tutorials/intro/24.inlets_and_outlets.pd index 5dfe8371..5dfe8371 100644 --- a/doc/tutorials/intro/18.inlets_and_outlets.pd +++ b/doc/tutorials/intro/24.inlets_and_outlets.pd diff --git a/doc/tutorials/intro/27.creation_arguments.pd b/doc/tutorials/intro/27.creation_arguments.pd deleted file mode 100644 index 09d4f6bb..00000000 --- a/doc/tutorials/intro/27.creation_arguments.pd +++ /dev/null @@ -1,59 +0,0 @@ -#N canvas 10 40 620 460 10; -#X text 10 4 arguments; -#X obj 158 68 float; -#X text 11 25 Many objects can accept "arguments" to define their behavior. -Here is a plain [float] object:; -#X text 14 98 Here is a [float] object with an argument of "5.5":; -#X obj 156 129 float 5.5; -#X obj 166 229 float 5.5; -#X obj 166 211 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 --1; -#X floatatom 166 250 5 0 0 0 - - -; -#X text 13 160 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 floatatom 173 519 5 0 0 0 - - -; -#X symbolatom 221 518 10 0 0 0 - - -; -#X obj 126 539 bng 15 250 50 0 empty empty bang -6 23 1 12 -262144 --1 -1; -#X obj 126 495 route bang float symbol list; -#X obj 173 539 bng 15 250 50 0 empty empty float -4 23 1 12 -262144 --1 -1; -#X obj 221 539 bng 15 250 50 0 empty empty symbol -12 23 1 12 -262144 --1 -1; -#X obj 269 539 bng 15 250 50 0 empty empty list -2 23 1 12 -262144 --1 -1; -#X msg 64 463 bang; -#X msg 105 463 5; -#X msg 141 463 symbol word; -#X msg 232 463 list one two three; -#X text 12 411 Some objects can accept many arguments at the same time. -For example \, you need to tell [route] what kind of data you want -\, and it will sort it based on the data type:; -#X obj 152 352 select 5; -#X floatatom 204 373 5 0 0 1 everything_else - -; -#X obj 153 373 bng 15 250 50 0 empty empty matched -52 9 0 12 -262144 --1 -1; -#X msg 151 329 5; -#X msg 120 329 3; -#X msg 183 329 7; -#X text 12 276 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 connect 5 0 7 0; -#X connect 6 0 5 0; -#X connect 9 0 13 0; -#X connect 10 0 14 0; -#X connect 12 0 11 0; -#X connect 12 1 9 0; -#X connect 12 2 10 0; -#X connect 12 3 15 0; -#X connect 16 0 12 0; -#X connect 17 0 12 0; -#X connect 18 0 12 0; -#X connect 19 0 12 0; -#X connect 21 0 23 0; -#X connect 21 1 22 0; -#X connect 24 0 21 0; -#X connect 25 0 21 0; -#X connect 26 0 21 0; |