diff options
Diffstat (limited to 'doc/pddp/loadbang-help.pd')
-rw-r--r-- | doc/pddp/loadbang-help.pd | 228 |
1 files changed, 131 insertions, 97 deletions
diff --git a/doc/pddp/loadbang-help.pd b/doc/pddp/loadbang-help.pd index ec4ea27d..38bcc8d7 100644 --- a/doc/pddp/loadbang-help.pd +++ b/doc/pddp/loadbang-help.pd @@ -1,97 +1,131 @@ -#N canvas 2 1 603 598 12;
-#X text 108 18 - SEND "bang" AUTOMATICALLY WHEN PATCH LOADS.;
-#X obj 126 218 loadbang;
-#X obj 126 385 loadbang;
-#X obj 126 410 metro 1000;
-#X obj 126 434 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1
--1;
-#X obj 126 266 f 1;
-#X obj 169 266 f 4;
-#X obj 126 291 +;
-#X floatatom 126 315 5 0 0 0 - - -;
-#X obj 126 241 t b b;
-#X obj 104 540 pddp/pddplink http://puredata.info/dev/pddp -text pddp;
-#X obj 8 8 cnv 15 90 553 empty empty empty 20 12 0 14 -233017 -66577
-0;
-#X obj 21 18 loadbang;
-#X text 104 464 Pd Documentation Chapter 3.6 - doc/1.manual/x3.htm
-;
-#X text 104 53 The inlet is inactive and serves no purpose.;
-#X text 104 81 This object does not accept arguments of any type.;
-#X text 104 112 A "bang" message is sent automatically when the containing
-patch is loaded.;
-#X text 104 161 In this example \, [loadbang] was used to process a
-simple mathematic equation when this patch was loaded. In this case:
-1 + 4 = 5;
-#X text 104 344 In this example \, [loadbang] was used simply to start
-a process automatically when this patch was loaded.;
-#X text 152 541 - Dave Sabine \, November 12 \, 2002;
-#N canvas 85 2 579 656 More_Info 0;
-#X obj 25 152 print foo;
-#X obj 25 104 loadbang;
-#X text 14 188 As well \, the following [float]s were set with a group
-of numbers. Click the [bng] below to verify that the numbers were stored
-in the [float] objects.;
-#X obj 26 355 f;
-#X floatatom 26 380 2 0 0 0 - - -;
-#X obj 65 355 f;
-#X floatatom 65 380 2 0 0 0 - - -;
-#X obj 105 355 f;
-#X floatatom 104 380 2 0 0 0 - - -;
-#X obj 26 263 bng 15 250 50 0 empty empty Click_here_to_see_the_numbers_stored_in_the_float_objects.
-0 -6 0 8 -262144 -1 -1;
-#X obj 195 316 random 10;
-#X obj 104 317 random 10;
-#X text 14 415 IMPORTANT;
-#X text 44 600 c:/pd/pd.exe -noloadbang;
-#X text 14 10 The loadbang object will send a "bang" message when a
-canvas/patch loads and is used most often to 'initialize' or set default
-values in a patch. For example \, when you opened this patch \, the
-message below was immediately printed in the terminal window.;
-#X obj 104 283 loadbang;
-#X obj 288 317 random 10;
-#X text 14 438 Loadbangs are a useful tool to set initial values in
-a patch - however \, there are times when it might be necessary to
-debug a patch and "turn off" all the loadbang objects. This can be
-accomplished by opening Pd with the -noloadbang flag.;
-#X text 14 523 For example \, to suppress all loadbangs \, your command
-line might look something like this: (more info about Pd's command
-line can be found in Chapter 3.6 of the HTML documentation.;
-#X msg 25 127 you have opened the [loadbang] help document;
-#X connect 1 0 19 0;
-#X connect 3 0 4 0;
-#X connect 5 0 6 0;
-#X connect 7 0 8 0;
-#X connect 9 0 3 0;
-#X connect 9 0 5 0;
-#X connect 9 0 7 0;
-#X connect 10 0 5 1;
-#X connect 11 0 3 1;
-#X connect 15 0 11 0;
-#X connect 15 0 10 0;
-#X connect 15 0 16 0;
-#X connect 16 0 7 1;
-#X connect 19 0 0 0;
-#X restore 104 514 pd More_Info;
-#N canvas 85 2 389 238 Related_Objects 0;
-#X obj 44 49 bang;
-#X obj 102 51 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1
--1;
-#X obj 143 48 trigger;
-#X text 25 8 Native Pd Objects;
-#X text 25 92 Externals and other object libraries;
-#X text 36 126 [init];
-#X restore 104 488 pd Related_Objects;
-#X text 38 53 INLETS:;
-#X text 14 82 ARGUMENTS:;
-#X text 29 112 OUTLETS:;
-#X text 20 161 EXAMPLES:;
-#X text 21 463 SEE ALSO:;
-#X connect 1 0 9 0;
-#X connect 2 0 3 0;
-#X connect 3 0 4 0;
-#X connect 5 0 7 0;
-#X connect 6 0 7 1;
-#X connect 7 0 8 0;
-#X connect 9 0 5 0;
-#X connect 9 1 6 0;
+#N canvas 0 0 555 619 10; +#X obj 0 595 cnv 15 552 21 empty \$0-pddp.cnv.footer empty 20 12 0 +14 -228856 -66577 0; +#X obj 0 0 cnv 15 552 40 empty \$0-pddp.cnv.header loadbang 3 12 0 +18 -204280 -1 0; +#X obj 0 422 cnv 3 550 3 empty \$0-pddp.cnv.inlets inlets 8 12 0 13 +-228856 -1 0; +#N canvas 52 244 494 344 META 0; +#X text 12 105 PLATFORM windows macosx gnulinux; +#X text 12 145 LIBRARY internal; +#X text 12 185 WEBSITE http://crca.ucsd.edu/~msp/; +#X text 12 65 LICENSE SIBSD; +#X text 12 165 AUTHOR Miller Puckette; +#X text 12 245 HELP_PATCH_AUTHORS Dave Sabine \, November 12 \, 2002 +Jonathan Wilkes revised the patch to conform to the PDDP template for +Pd version 0.42.; +#X text 12 5 GENRE help; +#X text 12 85 DESCRIPTION send "bang" automatically when patch loads +; +#X text 12 25 NAME loadbang; +#X text 12 125 OUTLET_0 bang; +#X text 12 45 KEYWORDS control bang_op; +#X text 12 205 RELEASE_DATE 1997; +#X text 12 225 RELEASE_VERSION; +#X restore 500 597 pd META; +#X obj 0 450 cnv 3 550 3 empty \$0-pddp.cnv.outlets outlets 8 12 0 +13 -228856 -1 0; +#X obj 0 492 cnv 3 550 3 empty \$0-pddp.cnv.argument arguments 8 12 +0 13 -228856 -1 0; +#X obj 0 520 cnv 3 550 3 empty \$0-pddp.cnv.more_info more_info 8 12 +0 13 -228856 -1 0; +#X text 98 495 (none); +#N canvas 89 493 428 100 Related_objects 0; +#X obj 1 1 cnv 15 425 20 empty \$0-pddp.cnv.subheading empty 3 12 0 +14 -204280 -1 0; +#X obj 21 42 bang; +#X obj 61 42 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144 -1 +-1; +#X obj 92 42 trigger; +#X obj 160 42 initbang; +#X text 7 1 [loadbang] Related Objects; +#X restore 102 597 pd Related_objects; +#X obj 78 459 cnv 17 3 17 empty \$0-pddp.cnv.let.0 0 5 9 0 16 -228856 +-162280 0; +#X obj 466 3 loadbang; +#X obj 435 20 pddp/pddplink http://wiki.puredata.info/en/loadbang -text +pdpedia: loadbang; +#X obj 89 264 loadbang; +#X obj 89 312 f 1; +#X obj 132 312 f 4; +#X obj 89 337 +; +#X floatatom 89 361 5 0 0 0 - - -; +#X obj 89 287 t b b; +#X obj 87 122 loadbang; +#X obj 87 147 metro 1000; +#X obj 87 171 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 +-1; +#X text 86 216 In this example \, [loadbang] was used to process a +simple mathematic equation when this patch was loaded. In this case: +1 + 4 = 5; +#X text 86 86 In this example \, [loadbang] was used simply to start +a process automatically when this patch was loaded.; +#X text 98 426 (none); +#X text 98 458 bang; +#X text 99 572 Pd Documentation Chapter 3.6 - doc/1.manual/x3.htm; +#N canvas 96 135 428 388 More_Info 0; +#X obj 15 149 print foo; +#X obj 15 101 loadbang; +#X text 13 177 As well \, the following [float]s were set with a group +of numbers. Click the [bng] below to verify that the numbers were stored +in the [float] objects.; +#X obj 25 327 f; +#X floatatom 25 352 2 0 0 0 - - -; +#X obj 64 327 f; +#X floatatom 64 352 2 0 0 0 - - -; +#X obj 104 327 f; +#X floatatom 103 352 2 0 0 0 - - -; +#X obj 25 235 bng 15 250 50 0 empty empty Click_here_to_see_the_numbers_stored_in_the_float_objects. +0 -6 0 8 -262144 -1 -1; +#X obj 194 288 random 10; +#X obj 103 289 random 10; +#X text 14 30 The loadbang object will send a "bang" message when a +canvas/patch loads and is used most often to 'initialize' or set default +values in a patch. For example \, when you opened this patch \, the +message below was immediately printed in the terminal window.; +#X obj 103 255 loadbang; +#X obj 287 289 random 10; +#X msg 15 124 you have opened the [loadbang] help document; +#X obj 1 1 cnv 15 425 20 empty \$0-pddp.cnv.subheading empty 3 12 0 +14 -204280 -1 0; +#X text 7 1 [loadbang] More Info; +#X connect 1 0 15 0; +#X connect 3 0 4 0; +#X connect 5 0 6 0; +#X connect 7 0 8 0; +#X connect 9 0 3 0; +#X connect 9 0 5 0; +#X connect 9 0 7 0; +#X connect 10 0 5 1; +#X connect 11 0 3 1; +#X connect 13 0 11 0; +#X connect 13 0 10 0; +#X connect 13 0 14 0; +#X connect 14 0 7 1; +#X connect 15 0 0 0; +#X restore 102 529 pd More_Info; +#X text 11 23 send "bang" automatically when patch loads; +#X text 168 458 - a "bang" message is sent automatically when the containing +patch is loaded.; +#N canvas 100 356 428 191 Important_Note 0; +#X text 49 159 c:/pd/pd.exe -noloadbang; +#X text 19 37 Loadbangs are a useful tool to set initial values in +a patch - however \, there are times when it might be necessary to +debug a patch and "turn off" all the loadbang objects. This can be +accomplished by opening Pd with the -noloadbang flag.; +#X text 19 102 For example \, to suppress all loadbangs \, your command +line might look something like this: (more info about Pd's command +line can be found in Chapter 3.6 of the HTML documentation.; +#X obj 1 1 cnv 15 425 20 empty \$0-pddp.cnv.subheading empty 3 12 0 +14 -204280 -1 0; +#X text 7 1 [loadbang] Important Note; +#X restore 102 551 pd Important_Note; +#X obj 4 597 pddp/pddplink pddp/help.pd -text help; +#X connect 12 0 17 0; +#X connect 13 0 15 0; +#X connect 14 0 15 1; +#X connect 15 0 16 0; +#X connect 17 0 13 0; +#X connect 17 1 14 0; +#X connect 18 0 19 0; +#X connect 19 0 20 0; |