From 54d61372a2c35f43df7ac398da1a5d7bd37da857 Mon Sep 17 00:00:00 2001 From: Hans-Christoph Steiner Date: Thu, 13 Apr 2006 05:04:52 +0000 Subject: got the start of a good intro tutorial, but its lacking some good, simple exercises svn path=/trunk/; revision=4897 --- doc/tutorials/intro/13.ordering_messages.pd | 42 +++++++++++++++++++++++++++++ 1 file changed, 42 insertions(+) create mode 100644 doc/tutorials/intro/13.ordering_messages.pd (limited to 'doc/tutorials/intro/13.ordering_messages.pd') diff --git a/doc/tutorials/intro/13.ordering_messages.pd b/doc/tutorials/intro/13.ordering_messages.pd new file mode 100644 index 00000000..cbc193d7 --- /dev/null +++ b/doc/tutorials/intro/13.ordering_messages.pd @@ -0,0 +1,42 @@ +#N canvas 542 117 623 439 12; +#X obj 10 10 cnv 15 400 40 empty empty ordering_messages 20 12 0 24 +-228992 -66577 0; +#X msg 395 249 now; +#X msg 316 250 this; +#X msg 237 250 makes; +#X msg 158 250 sense; +#X msg 80 250 !; +#X msg 276 391 sense now this; +#X obj 157 292 symbol; +#X msg 159 151 bang; +#X msg 10 177 bang; +#X msg 157 316 add2 \$1; +#X msg 478 248 set; +#X obj 160 178 trigger bang bang bang bang bang bang; +#X text 10 393 look here for the result -->; +#X text 10 62 Officially \, the execution order in Pd is undefined. +; +#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 connect 1 0 7 0; +#X connect 2 0 7 0; +#X connect 3 0 7 0; +#X connect 4 0 7 0; +#X connect 5 0 7 0; +#X connect 7 0 10 0; +#X connect 8 0 12 0; +#X connect 9 0 3 0; +#X connect 9 0 5 0; +#X connect 9 0 11 0; +#X connect 9 0 4 0; +#X connect 9 0 1 0; +#X connect 9 0 2 0; +#X connect 10 0 6 0; +#X connect 11 0 6 0; +#X connect 12 0 5 0; +#X connect 12 1 4 0; +#X connect 12 2 3 0; +#X connect 12 3 2 0; +#X connect 12 4 1 0; +#X connect 12 5 11 0; -- cgit v1.2.1