aboutsummaryrefslogtreecommitdiff
path: root/doc/pddp/trigger-help.pd
diff options
context:
space:
mode:
authorHans-Christoph Steiner <eighthave@users.sourceforge.net>2008-06-02 09:51:46 +0000
committerHans-Christoph Steiner <eighthave@users.sourceforge.net>2008-06-02 09:51:46 +0000
commitaef441abad99496e95308022800b532093e91aba (patch)
treee18cce647f7ea4b937d410b5257ea930968757b8 /doc/pddp/trigger-help.pd
parenta63c156c9e5c5a0c48aa5cde02d6ec4b6e21942a (diff)
- Replaced my pddp_open hack with pddplink
- replaced [pddp] with a pddplink to the PDDP wiki page svn path=/trunk/; revision=9966
Diffstat (limited to 'doc/pddp/trigger-help.pd')
-rw-r--r--doc/pddp/trigger-help.pd178
1 files changed, 78 insertions, 100 deletions
diff --git a/doc/pddp/trigger-help.pd b/doc/pddp/trigger-help.pd
index 7de4c6f9..b3c3c189 100644
--- a/doc/pddp/trigger-help.pd
+++ b/doc/pddp/trigger-help.pd
@@ -1,52 +1,52 @@
-#N canvas 145 60 989 632 10;
-#X obj 26 16 trigger;
-#X text 24 230 As I see it \, the [trigger] object serves two great
+#N canvas 132 92 900 611 10;
+#X obj 8 8 trigger;
+#X text 19 222 As I see it \, the [trigger] object serves two great
purposes which aren't really related - but they might be on some level
that I don't fully understand yet.;
-#X text 22 278 1 Sequence a series of bangs - or triggers for symbols
+#X text 17 270 1 Sequence a series of bangs - or triggers for symbols
and/or other messages. In the example below \, you should see that
it is important that it is important that [metro] gets a tempo setting
before it is started - but let's assume for a moment that you wanted
to start the [metro] with only a single click.;
-#X obj 26 481 metro;
-#X msg 51 462 1000;
-#X obj 26 501 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1
+#X obj 21 473 metro;
+#X msg 46 454 1000;
+#X obj 21 493 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1
-1;
-#X obj 26 404 tgl 15 0 empty empty On/Off 0 -6 0 7 -262144 -1 -1 0
+#X obj 21 396 tgl 15 0 empty empty On/Off 0 -6 0 7 -262144 -1 -1 0
1;
-#X text 24 104 The [trigger] object can be abbreviated as "t" and the
+#X text 19 96 The [trigger] object can be abbreviated as "t" and the
creation arguments can be abbreviated as follows:;
-#X obj 114 150 trigger float bang symbol list pointer anything;
-#X text 215 169 is the same as;
-#X obj 218 189 t f b s l p a;
-#X obj 26 422 t f b;
-#X text 27 526 This example is simple \, and may not be very practicle
+#X obj 109 142 trigger float bang symbol list pointer anything;
+#X text 210 161 is the same as;
+#X obj 213 181 t f b s l p a;
+#X obj 21 414 t f b;
+#X text 22 518 This example is simple \, and may not be very practicle
in most situations \, but it clearly shows how [trigger] can be used
to create a simple sequence of events. It is important to note however
that the messages sent from [trigger]'s outlets occur in ZERO time
with no delay between the events...more at the top right of the page...
;
-#X obj 484 94 t b b;
-#X msg 484 75 bang;
-#X obj 484 124 timer;
-#X floatatom 484 144 5 0 0 0 - - -;
-#X obj 456 34 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1
+#X obj 459 86 t b b;
+#X msg 459 67 bang;
+#X obj 459 116 timer;
+#X floatatom 459 136 5 0 0 0 - - -;
+#X obj 431 26 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1
-1;
-#X obj 456 600 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1
+#X obj 431 592 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1
-1;
-#X text 518 75 Click here.;
-#X text 524 141 Watch here.;
-#X text 476 163 Now \, to prove that I'm not crazy...click here >;
-#X obj 822 203 timer;
-#X floatatom 822 222 5 0 0 0 - - -;
-#X obj 847 182 delay 2000;
-#X text 597 89 any delay between the first bang and the second bang
+#X text 493 67 Click here.;
+#X text 499 133 Watch here.;
+#X text 451 155 Now \, to prove that I'm not crazy...click here >;
+#X obj 763 204 timer;
+#X floatatom 763 225 5 0 0 0 - - -;
+#X obj 790 182 delay 2000;
+#X text 572 81 any delay between the first bang and the second bang
;
-#X text 598 105 from the trigger.;
-#X text 476 198 object to force a 2 second delay between the;
-#X text 599 75 In this case \, the [timer] object does not perceive
+#X text 573 97 from the trigger.;
+#X text 451 190 object to force a 2 second delay between the;
+#X text 574 67 In this case \, the [timer] object does not perceive
;
-#X text 471 290 2 Click this subpatch to read about [trigger]'s second
+#X text 444 283 2 Click this subpatch to read about [trigger]'s second
great purpose...;
#N canvas 148 22 927 612 trigger_can_convert_data_types 0;
#X msg 425 103 2.5;
@@ -155,24 +155,24 @@ to the terminal window.;
#X connect 49 1 42 0;
#X connect 49 2 43 0;
#X connect 50 0 4 0;
-#X restore 475 325 pd trigger_can_convert_data_types;
-#X obj 822 238 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1
+#X restore 450 317 pd trigger_can_convert_data_types;
+#X obj 763 244 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1
-1;
-#X floatatom 902 164 5 0 0 0 - - -;
-#X text 477 246 at the top-right to clearly see "logical time";
-#X text 477 259 as measured by [timer].;
-#X text 509 554 This document was updated for Pd version 0.35 test
+#X floatatom 847 162 5 0 0 0 - - -;
+#X text 452 238 at the top-right to clearly see "logical time";
+#X text 452 251 as measured by [timer].;
+#X text 484 546 This document was updated for Pd version 0.35 test
26 by Dave Sabine as part of a project called pddp proposed by Krzysztof
Czaja to build comprehensive documentation for Pd.;
-#X text 472 378 RELATED OBJECTS;
-#X obj 557 404 route;
-#X obj 477 404 unpack;
-#X obj 523 404 pack;
-#X obj 598 404 delay;
-#X obj 640 404 pipe;
-#X obj 675 404 float;
-#X obj 715 404 int;
-#X obj 744 404 symbol;
+#X text 447 370 RELATED OBJECTS;
+#X obj 532 396 route;
+#X obj 452 396 unpack;
+#X obj 498 396 pack;
+#X obj 573 396 delay;
+#X obj 615 396 pipe;
+#X obj 650 396 float;
+#X obj 690 396 int;
+#X obj 719 396 symbol;
#N canvas 0 22 456 306 related_objects_from_other_libraries 0;
#X obj 31 36 exciter 200 200 8 0.1 1 1;
#X text 26 77 These objects are offered in Pd only if you have downloaded
@@ -184,53 +184,52 @@ is:;
;
#X text 24 163 or;
#X text 24 178 iem.kug.ac.at/pdb/;
-#X restore 477 435 pd related_objects_from_other_libraries;
-#X obj 940 5 pddp;
-#X text 472 463 MORE INFO;
-#X obj 479 490 pddp_open all_about_data_types;
-#X obj 480 516 pddp_open all_about_lists_vs_anythings;
-#X obj 822 157 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1
+#X restore 452 427 pd related_objects_from_other_libraries;
+#X text 447 455 MORE INFO;
+#X obj 454 482 pddp/pddplink all_about_data_types.pd -text all_about_data_types;
+#X obj 455 508 pddp/pddplink all_about_lists_vs_anythings.pd -text all_about_lists_vs_anythings;
+#X obj 763 157 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1
-1;
-#X text 17 138 "float" = f;
-#X text 17 150 "bang" = b;
-#X text 16 162 "symbol" = s;
-#X text 17 176 "list" = l;
-#X text 17 204 "anything" = a;
-#X text 17 190 "pointer" = p;
-#X text 26 45 The [trigger] object outputs its input from right to
+#X text 12 130 "float" = f;
+#X text 12 142 "bang" = b;
+#X text 11 154 "symbol" = s;
+#X text 12 168 "list" = l;
+#X text 12 196 "anything" = a;
+#X text 12 182 "pointer" = p;
+#X text 21 37 The [trigger] object outputs its input from right to
left \, converting to the types indicated by its creation arguments.
There is also a "pointer" argument type (see the [pointer] object.)
;
-#X text 20 364 Click the toggle to set the tempo and start the [metro]
+#X text 15 356 Click the toggle to set the tempo and start the [metro]
simultaneously.;
-#X text 67 413 Triggers are sent from right to left...so our tempo
+#X text 62 405 Triggers are sent from right to left...so our tempo
messages gets sent to [metro] immediately before the numbers from the
toggle to start and stop the [metro].;
-#X text 482 40 Below is a simple structure which will measure the "logical
+#X text 457 32 Below is a simple structure which will measure the "logical
time" between "bangs" from the [trigger] object.;
-#X text 477 184 In this case \, I've simply patched a [delay];
-#X text 476 212 first and second "bangs" sent to the [timer].;
-#X text 477 232 You can reset the [delay] with the number box;
-#X text 86 15 - sequence messages in right-to-left order and convert
+#X text 452 176 In this case \, I've simply patched a [delay];
+#X text 451 204 first and second "bangs" sent to the [timer].;
+#X text 452 224 You can reset the [delay] with the number box;
+#X text 68 7 - sequence messages in right-to-left order and convert
data;
-#X text 503 15 types;
-#N canvas 127 144 682 490 trigger 0;
+#X text 485 7 types;
+#N canvas 69 298 440 489 trigger 0;
#X obj 14 298 trigger anything bang float list pointer symbol;
-#X obj 19 318 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1
+#X obj 14 318 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1
-1;
-#X obj 83 318 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1
+#X obj 69 318 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1
-1;
-#X obj 147 317 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1
+#X obj 133 317 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1
-1;
-#X obj 213 318 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1
+#X obj 199 318 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1
-1;
-#X obj 278 317 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1
+#X obj 264 317 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1
-1;
-#X obj 343 318 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1
+#X obj 329 318 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1
-1;
#X obj 200 386 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1
-1;
-#X obj 278 386 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1
+#X obj 258 386 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1
-1;
#X obj 103 365 route float;
#X obj 103 385 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1
@@ -243,7 +242,7 @@ data;
-1;
#X obj 17 385 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1
-1;
-#X obj 81 385 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1
+#X obj 74 385 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1
-1;
#X obj 17 365 route bang;
#X obj 312 367 route symbol;
@@ -259,17 +258,6 @@ data;
#X obj 81 443 print FLOAT;
#X msg 48 199 1 two 3;
#X msg 61 244 one 2 three;
-#X obj 397 152 trigger anything;
-#X obj 437 186 print;
-#X obj 396 207 prepend set;
-#X msg 397 231 0;
-#X msg 511 94 bang;
-#X obj 610 187 print;
-#X obj 569 208 prepend set;
-#X msg 570 232 0;
-#X obj 570 153 trigger list;
-#X msg 552 96 list;
-#X text 405 56 These two triggers convert bangs to 0;
#X text 18 16 "float" is interpreted;
#X text 19 36 "symbol" is not interpreted;
#X text 20 55 "list" is interpreted \, and outputted;
@@ -302,17 +290,7 @@ data;
#X connect 25 0 0 0;
#X connect 28 0 0 0;
#X connect 29 0 0 0;
-#X connect 30 0 31 0;
-#X connect 30 0 32 0;
-#X connect 32 0 33 0;
-#X connect 34 0 30 0;
-#X connect 34 0 38 0;
-#X connect 36 0 37 0;
-#X connect 38 0 35 0;
-#X connect 38 0 36 0;
-#X connect 39 0 30 0;
-#X connect 39 0 38 0;
-#X restore 475 350 pd trigger has a few odd conditions;
+#X restore 450 342 pd trigger has a few odd conditions;
#X connect 3 0 5 0;
#X connect 4 0 3 1;
#X connect 6 0 11 0;
@@ -327,5 +305,5 @@ data;
#X connect 23 0 31 0;
#X connect 24 0 22 1;
#X connect 32 0 24 1;
-#X connect 50 0 24 0;
-#X connect 50 0 22 0;
+#X connect 49 0 24 0;
+#X connect 49 0 22 0;