aboutsummaryrefslogtreecommitdiff
path: root/doc/tutorials/intro
diff options
context:
space:
mode:
Diffstat (limited to 'doc/tutorials/intro')
-rw-r--r--doc/tutorials/intro/16.ordering_messages.pd46
1 files changed, 46 insertions, 0 deletions
diff --git a/doc/tutorials/intro/16.ordering_messages.pd b/doc/tutorials/intro/16.ordering_messages.pd
new file mode 100644
index 00000000..8a2100db
--- /dev/null
+++ b/doc/tutorials/intro/16.ordering_messages.pd
@@ -0,0 +1,46 @@
+#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 -->;
+#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 obj 3 174 cnv 15 80 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
+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 obj 157 292 symbol;
+#X msg 159 151 bang;
+#X msg 19 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 msg 296 391;
+#X connect 6 0 11 0;
+#X connect 7 0 11 0;
+#X connect 8 0 11 0;
+#X connect 9 0 11 0;
+#X connect 10 0 11 0;
+#X connect 11 0 14 0;
+#X connect 12 0 16 0;
+#X connect 13 0 8 0;
+#X connect 13 0 10 0;
+#X connect 13 0 15 0;
+#X connect 13 0 9 0;
+#X connect 13 0 6 0;
+#X connect 13 0 7 0;
+#X connect 14 0 17 0;
+#X connect 15 0 17 0;
+#X connect 16 0 10 0;
+#X connect 16 1 9 0;
+#X connect 16 2 8 0;
+#X connect 16 3 7 0;
+#X connect 16 4 6 0;
+#X connect 16 5 15 0;