From 20390a34beb221388014c29e5aefe30a55be60a3 Mon Sep 17 00:00:00 2001 From: Hans-Christoph Steiner Date: Fri, 17 Aug 2007 18:34:24 +0000 Subject: wrote implied_selectors and reset window locations svn path=/trunk/; revision=8631 --- doc/tutorials/intro/06.connections.pd | 2 +- doc/tutorials/intro/07.messages.pd | 2 +- doc/tutorials/intro/11.metro.pd | 2 +- doc/tutorials/intro/12.hot_and_cold_inlets.pd | 4 +- doc/tutorials/intro/15.right_to_left_order.pd | 2 +- doc/tutorials/intro/16.ordering_messages.pd | 2 +- doc/tutorials/intro/20.creation_arguments.pd | 2 +- doc/tutorials/intro/22.selectors.pd | 2 +- doc/tutorials/intro/23.implied_selectors.pd | 70 ++++++++++++++++++++++++--- 9 files changed, 72 insertions(+), 16 deletions(-) diff --git a/doc/tutorials/intro/06.connections.pd b/doc/tutorials/intro/06.connections.pd index b3966347..d77fed94 100644 --- a/doc/tutorials/intro/06.connections.pd +++ b/doc/tutorials/intro/06.connections.pd @@ -1,4 +1,4 @@ -#N canvas 10 40 624 464 12; +#N canvas 10 40 620 460 12; #X text 12 132 Pd patches are always running and changes take effect immediately.; #X floatatom 25 277 5 0 0 0 - - -; diff --git a/doc/tutorials/intro/07.messages.pd b/doc/tutorials/intro/07.messages.pd index 9c0d1dd8..23a8eeb3 100644 --- a/doc/tutorials/intro/07.messages.pd +++ b/doc/tutorials/intro/07.messages.pd @@ -1,4 +1,4 @@ -#N canvas 10 40 632 472 12; +#N canvas 10 40 620 460 12; #X obj 10 10 cnv 15 400 40 empty empty messages 20 12 0 24 -228992 -66577 0; #X obj 112 249 + 1; diff --git a/doc/tutorials/intro/11.metro.pd b/doc/tutorials/intro/11.metro.pd index daf8770b..29caf7c9 100644 --- a/doc/tutorials/intro/11.metro.pd +++ b/doc/tutorials/intro/11.metro.pd @@ -1,4 +1,4 @@ -#N canvas 10 40 624 464 12; +#N canvas 10 40 620 460 12; #X obj 10 10 cnv 15 400 40 empty empty metro 20 12 0 24 -228992 -66577 0; #X obj 30 321 metro; diff --git a/doc/tutorials/intro/12.hot_and_cold_inlets.pd b/doc/tutorials/intro/12.hot_and_cold_inlets.pd index 05099c16..cd6c69fa 100644 --- a/doc/tutorials/intro/12.hot_and_cold_inlets.pd +++ b/doc/tutorials/intro/12.hot_and_cold_inlets.pd @@ -1,4 +1,4 @@ -#N canvas 10 40 624 464 12; +#N canvas 10 40 620 460 12; #X obj 99 238 +; #X floatatom 99 267 5 0 0 0 - - -; #X msg 99 184 1; @@ -13,7 +13,7 @@ data on the "hot" inlet.; #X text 15 291 Try a number of different combinations to see for yourself: ; #X text 215 343 <-- "cold" inlet; -#X text 29 343 "hot" inlet -->; +#X text 49 343 "hot" inlet -->; #X msg 124 315 2; #X msg 164 315 3; #X msg 234 315 4; diff --git a/doc/tutorials/intro/15.right_to_left_order.pd b/doc/tutorials/intro/15.right_to_left_order.pd index 9710705b..7af342db 100644 --- a/doc/tutorials/intro/15.right_to_left_order.pd +++ b/doc/tutorials/intro/15.right_to_left_order.pd @@ -1,4 +1,4 @@ -#N canvas 10 40 624 464 12; +#N canvas 10 40 620 460 12; #X obj 165 185 bng 25 250 50 0 empty empty empty -2 -8 1 10 -24198 -1 -1; #X obj 165 225 trigger bang bang bang; diff --git a/doc/tutorials/intro/16.ordering_messages.pd b/doc/tutorials/intro/16.ordering_messages.pd index 448f5604..4e1c1cb2 100644 --- a/doc/tutorials/intro/16.ordering_messages.pd +++ b/doc/tutorials/intro/16.ordering_messages.pd @@ -1,4 +1,4 @@ -#N canvas 10 40 624 464 12; +#N canvas 10 40 620 460 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 -->; diff --git a/doc/tutorials/intro/20.creation_arguments.pd b/doc/tutorials/intro/20.creation_arguments.pd index 3e908f7a..7af67360 100644 --- a/doc/tutorials/intro/20.creation_arguments.pd +++ b/doc/tutorials/intro/20.creation_arguments.pd @@ -1,4 +1,4 @@ -#N canvas 10 40 628 468 10; +#N canvas 10 40 620 460 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:; diff --git a/doc/tutorials/intro/22.selectors.pd b/doc/tutorials/intro/22.selectors.pd index 8c58ffca..5b322519 100644 --- a/doc/tutorials/intro/22.selectors.pd +++ b/doc/tutorials/intro/22.selectors.pd @@ -1,4 +1,4 @@ -#N canvas 10 40 628 468 12; +#N canvas 10 40 620 460 12; #X obj 311 314 cnv 15 300 60 empty empty not_selectors 5 12 0 14 -261234 -66577 0; #X obj 6 314 cnv 15 300 60 empty empty possible_selectors 5 12 0 14 diff --git a/doc/tutorials/intro/23.implied_selectors.pd b/doc/tutorials/intro/23.implied_selectors.pd index 95df3fd4..d7f22b15 100644 --- a/doc/tutorials/intro/23.implied_selectors.pd +++ b/doc/tutorials/intro/23.implied_selectors.pd @@ -1,8 +1,64 @@ -#N canvas 10 40 624 464 12; -#X obj 8 -33 cnv 15 400 40 empty empty implied_selectors 20 12 0 24 +#N canvas 10 40 620 460 12; +#X obj 8 -29 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":; +#X msg 246 123 534 2334; +#X msg 322 123 5 cats; +#X floatatom 260 194 5 0 0 0 - - -; +#X symbolatom 308 193 10 0 0 0 - - -; +#X obj 213 214 bng 15 250 50 0 empty empty bang -6 23 1 12 -262144 +-1 -1; +#X obj 213 170 route bang float symbol list; +#X obj 260 214 bng 15 250 50 0 empty empty float -4 23 1 12 -262144 +-1 -1; +#X obj 308 214 bng 15 250 50 0 empty empty symbol -12 23 1 12 -262144 +-1 -1; +#X obj 357 214 bng 15 250 50 0 empty empty list -2 23 1 12 -262144 +-1 -1; +#X obj 406 214 bng 15 250 50 0 empty empty undefined -18 23 1 12 -262144 +-1 -1; +#X msg 206 93 12; +#X obj 42 353 list; +#X obj 42 377 pddp/print; +#X msg 42 324 list 1 2 3; +#X obj 252 377 pddp/print; +#X msg 252 324 float 9876; +#X obj 252 353 float; +#X msg 136 93 0.0003; +#X msg 385 123 1 2 3 4 5 6 7 8 9; +#X text 14 29 In the case of messages whose first element is a numeric +atom \, the selector is implied (either a "float" or a "list"):; +#X msg 76 93 -999; +#X obj 142 377 pddp/print; +#X obj 142 353 route list; +#X msg 142 324 list 1 2 3 4; +#X obj 353 377 pddp/print; +#X floatatom 353 355 9 0 0 0 - - -; +#X msg 353 324 float -0.9876; +#X obj 472 377 pddp/print; +#X msg 472 324 float 782.32; +#X obj 472 353 trigger float; +#X text 12 259 Most objects output using the implied selector \, even +converting messages with an explicit "list" or "float" selector:; +#X connect 1 0 6 0; +#X connect 2 0 6 0; +#X connect 3 0 7 0; +#X connect 4 0 8 0; +#X connect 6 0 5 0; +#X connect 6 1 3 0; +#X connect 6 2 4 0; +#X connect 6 3 9 0; +#X connect 6 4 10 0; +#X connect 11 0 6 0; +#X connect 12 0 13 0; +#X connect 14 0 12 0; +#X connect 16 0 17 0; +#X connect 17 0 15 0; +#X connect 18 0 6 0; +#X connect 19 0 6 0; +#X connect 21 0 6 0; +#X connect 23 0 22 0; +#X connect 24 0 23 0; +#X connect 26 0 25 0; +#X connect 27 0 26 0; +#X connect 29 0 30 0; +#X connect 30 0 28 0; -- cgit v1.2.1