From 59b6ed633cd63ec112f4367365ac14479a8e4120 Mon Sep 17 00:00:00 2001 From: Guenter Geiger Date: Wed, 13 Nov 2002 08:53:08 +0000 Subject: This commit was generated by cvs2svn to compensate for changes in r208, which included commits to RCS files with non-trunk default branches. svn path=/trunk/; revision=209 --- doc/additional/pd-msg/1.msg_and_patch/0.all_msg.pd | 82 ++++++++++++++++++++++ .../pd-msg/1.msg_and_patch/1.0.objects.pd | 28 ++++++++ .../pd-msg/1.msg_and_patch/1.1.add_objects.pd | 59 ++++++++++++++++ .../pd-msg/1.msg_and_patch/1.2.create_patch.pd | 29 ++++++++ .../pd-msg/1.msg_and_patch/1.3.show_hide.pd | 9 +++ doc/additional/pd-msg/1.msg_and_patch/2.menu.pd | 36 ++++++++++ .../pd-msg/1.msg_and_patch/3.0.events.pd | 32 +++++++++ .../pd-msg/1.msg_and_patch/3.1.motion.pd | 35 +++++++++ .../pd-msg/1.msg_and_patch/3.2.cut_paste.pd | 55 +++++++++++++++ doc/additional/pd-msg/1.msg_and_patch/4.fonts.pd | 24 +++++++ .../pd-msg/1.msg_and_patch/5.loadbang.pd | 16 +++++ 11 files changed, 405 insertions(+) create mode 100755 doc/additional/pd-msg/1.msg_and_patch/0.all_msg.pd create mode 100755 doc/additional/pd-msg/1.msg_and_patch/1.0.objects.pd create mode 100755 doc/additional/pd-msg/1.msg_and_patch/1.1.add_objects.pd create mode 100755 doc/additional/pd-msg/1.msg_and_patch/1.2.create_patch.pd create mode 100755 doc/additional/pd-msg/1.msg_and_patch/1.3.show_hide.pd create mode 100755 doc/additional/pd-msg/1.msg_and_patch/2.menu.pd create mode 100755 doc/additional/pd-msg/1.msg_and_patch/3.0.events.pd create mode 100755 doc/additional/pd-msg/1.msg_and_patch/3.1.motion.pd create mode 100755 doc/additional/pd-msg/1.msg_and_patch/3.2.cut_paste.pd create mode 100755 doc/additional/pd-msg/1.msg_and_patch/4.fonts.pd create mode 100755 doc/additional/pd-msg/1.msg_and_patch/5.loadbang.pd (limited to 'doc/additional/pd-msg/1.msg_and_patch') diff --git a/doc/additional/pd-msg/1.msg_and_patch/0.all_msg.pd b/doc/additional/pd-msg/1.msg_and_patch/0.all_msg.pd new file mode 100755 index 00000000..53427be0 --- /dev/null +++ b/doc/additional/pd-msg/1.msg_and_patch/0.all_msg.pd @@ -0,0 +1,82 @@ +#N canvas 708 185 541 701 10; +#X text 14 2 Here the list of all the messages :; +#X msg 40 207 array 500 190; +#X msg 40 233 scalar 500 220; +#X msg 40 318 restore; +#X msg 40 292 connect \$1 \$2 \$3 \$4; +#X text 16 28 objects; +#X text 17 267 methods for reading files; +#X text 20 345 events; +#X msg 40 376 click \$1 \$2 \$3 \$4; +#X msg 40 426 mouseup \$1 \$2 \$3; +#X text 375 6 GUI stuff; +#X msg 375 30 menusave; +#X msg 375 56 menusaveas; +#X msg 375 82 menuclose; +#X msg 375 108 saveto; +#X msg 375 194 cut; +#X msg 375 217 copy; +#X msg 375 266 duplicate; +#X msg 375 134 tidy; +#X msg 375 160 texteditor; +#X msg 375 464 editmode \$1; +#X msg 375 536 print; +#X msg 375 622 pop; +#X msg 375 500 loadbang; +#X msg 375 572 relocate; +#X msg 375 307 menufont; +#X msg 375 331 font 10 100 100; +#X msg 375 402 findagain; +#X msg 375 426 findparent; +#X msg 375 598 vis; +#X obj 40 631 s pd-0.all_msg.pd; +#X obj 375 652 s pd-0.all_msg.pd; +#X msg 40 51 obj 300 10 r test; +#X msg 40 77 msg 300 40 bang; +#X msg 40 129 symbolatom 300 100 symbol; +#X msg 40 155 text 300 130 comment; +#X msg 40 181 graph; +#X msg 40 499 key 1 \$1; +#X text 456 81 Warnnig !!!; +#X text 426 109 ?????; +#X text 149 234 ?????; +#X msg 375 242 paste; +#X msg 375 379 find test; +#X text 443 570 ?????; +#X msg 40 401 motion \$1 \$2 \$3; +#X msg 40 103 floatatom 300 70; +#X connect 1 0 30 0; +#X connect 2 0 30 0; +#X connect 3 0 30 0; +#X connect 4 0 30 0; +#X connect 8 0 30 0; +#X connect 9 0 30 0; +#X connect 11 0 31 0; +#X connect 12 0 31 0; +#X connect 13 0 31 0; +#X connect 14 0 31 0; +#X connect 15 0 31 0; +#X connect 16 0 31 0; +#X connect 17 0 31 0; +#X connect 18 0 31 0; +#X connect 19 0 31 0; +#X connect 20 0 31 0; +#X connect 21 0 31 0; +#X connect 22 0 31 0; +#X connect 23 0 31 0; +#X connect 24 0 31 0; +#X connect 25 0 31 0; +#X connect 26 0 31 0; +#X connect 27 0 31 0; +#X connect 28 0 31 0; +#X connect 29 0 31 0; +#X connect 32 0 30 0; +#X connect 33 0 30 0; +#X connect 34 0 30 0; +#X connect 35 0 30 0; +#X connect 36 0 30 0; +#X connect 37 0 30 0; +#X connect 41 0 31 0; +#X connect 42 0 31 0; +#X connect 44 0 30 0; +#X connect 45 0 30 0; diff --git a/doc/additional/pd-msg/1.msg_and_patch/1.0.objects.pd b/doc/additional/pd-msg/1.msg_and_patch/1.0.objects.pd new file mode 100755 index 00000000..cacf9eef --- /dev/null +++ b/doc/additional/pd-msg/1.msg_and_patch/1.0.objects.pd @@ -0,0 +1,28 @@ +#N canvas 656 148 543 410 10; +#X msg 39 237 array 500 190; +#X msg 39 263 scalar 500 220; +#X msg 39 348 restore; +#X msg 39 322 connect \$1 \$2 \$3 \$4; +#X text 15 58 objects; +#X text 16 297 methods for reading files; +#X msg 39 81 obj 300 10 r test; +#X msg 39 107 msg 300 40 bang; +#X msg 39 133 floatatom 300 70 symbol; +#X msg 39 159 symbolatom 300 100 symbol; +#X msg 39 185 text 300 130 comment; +#X msg 39 211 graph; +#X text 148 264 ?????; +#X obj 39 383 s pd-1.0.objects.pd; +#X text 110 348 ??????; +#X text 16 7 Here the list of all the messages; +#X text 17 24 that deals with objects.; +#X connect 0 0 13 0; +#X connect 1 0 13 0; +#X connect 2 0 13 0; +#X connect 3 0 13 0; +#X connect 6 0 13 0; +#X connect 7 0 13 0; +#X connect 8 0 13 0; +#X connect 9 0 13 0; +#X connect 10 0 13 0; +#X connect 11 0 13 0; diff --git a/doc/additional/pd-msg/1.msg_and_patch/1.1.add_objects.pd b/doc/additional/pd-msg/1.msg_and_patch/1.1.add_objects.pd new file mode 100755 index 00000000..f9ba0822 --- /dev/null +++ b/doc/additional/pd-msg/1.msg_and_patch/1.1.add_objects.pd @@ -0,0 +1,59 @@ +#N canvas 67 167 711 648 10; +#X text 42 13 To add an object into patch just send a message to the +patch itself :; +#X msg 42 49 msg 500 10 bang; +#X text 42 98 The selector should be "msg" \, "floatatom" \, "obj" +\, "text" \, "array" \, "symbolatom" \, "scalar" and "graph"; +#X text 224 53 <= Click here first; +#X text 42 279 For connecting objects use the selector "connect". it +take 4 arguments : the number of the first object \, the number of +the outlet \, the number of the second object \, and the number of +the inlet :; +#X text 207 232 <= and here; +#X text 236 204 <= Then click here (and have a look to the properties +of the object created); +#X text 193 348 <= click here <= and here; +#X text 42 437 And now the end of this exemple :; +#X text 42 143 The next 2 numbers are X & Y position in the canvas. +Then it's a symbol for the name of the obj \, the content of the msg +\, etc... and some additionals parameters.; +#X msg 42 205 floatatom 600 10 7 50 5000; +#X msg 42 230 obj 500 40 metro 500; +#X msg 42 482 obj 500 70 random 127; +#X msg 42 532 floatatom 500 100 5; +#X msg 42 582 text 500 130 That's it !; +#X text 16 53 1; +#X text 20 204 2; +#X text 20 226 3; +#X text 18 348 4; +#X text 18 370 5; +#X text 20 483 6; +#X text 20 509 7; +#X text 20 532 8; +#X text 19 556 9; +#X text 14 582 10; +#X text 276 530 !!! W A R N N I N G !!! It's very important to respect +the order the objects are created. If you don't the "connect" selector +won't work correctly. If you are not sure \, reload this patch and +try again.; +#X msg 43 349 connect 34 0 36 0; +#X msg 43 374 connect 35 0 36 1; +#X msg 42 507 connect 36 0 37 0; +#X msg 42 557 connect 37 0 38 0; +#X obj 42 74 s pd-1.add_objects.pd; +#X obj 42 255 s pd-1.add_objects.pd; +#X obj 43 399 s pd-1.add_objects.pd; +#X obj 42 612 s pd-1.add_objects.pd; +#X connect 1 0 30 0; +#X connect 10 0 31 0; +#X connect 11 0 31 0; +#X connect 12 0 33 0; +#X connect 13 0 33 0; +#X connect 14 0 33 0; +#X connect 26 0 32 0; +#X connect 27 0 32 0; +#X connect 27 0 32 0; +#X connect 27 0 32 0; +#X connect 27 0 32 0; +#X connect 28 0 33 0; +#X connect 29 0 33 0; diff --git a/doc/additional/pd-msg/1.msg_and_patch/1.2.create_patch.pd b/doc/additional/pd-msg/1.msg_and_patch/1.2.create_patch.pd new file mode 100755 index 00000000..2e422d5f --- /dev/null +++ b/doc/additional/pd-msg/1.msg_and_patch/1.2.create_patch.pd @@ -0,0 +1,29 @@ +#N canvas 181 410 915 475 10; +#X msg 38 150 msg 10 10 bang; +#X msg 38 198 obj 10 40 metro 500; +#X msg 38 174 floatatom 100 10 7 50 5000; +#X msg 38 270 obj 10 70 random 127; +#X msg 38 318 floatatom 10 100 5; +#X msg 38 366 text 10 130 That's it !; +#X msg 38 222 connect 0 0 2 0; +#X msg 38 246 connect 1 0 2 1; +#X msg 38 294 connect 2 0 3 0; +#X msg 38 342 connect 3 0 4 0; +#X text 205 37 click here first; +#X obj 38 404 s pd-new_patch; +#X text 33 13 This will create a sub patch in this windows and open +it :; +#X msg 33 37 obj 500 200 pd new_patch; +#X text 40 127 and then click here to fill it :; +#X obj 33 62 s pd-1.2.create_patch.pd; +#X connect 0 0 11 0; +#X connect 1 0 11 0; +#X connect 2 0 11 0; +#X connect 3 0 11 0; +#X connect 4 0 11 0; +#X connect 5 0 11 0; +#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 13 0 15 0; diff --git a/doc/additional/pd-msg/1.msg_and_patch/1.3.show_hide.pd b/doc/additional/pd-msg/1.msg_and_patch/1.3.show_hide.pd new file mode 100755 index 00000000..b0f866a0 --- /dev/null +++ b/doc/additional/pd-msg/1.msg_and_patch/1.3.show_hide.pd @@ -0,0 +1,9 @@ +#N canvas 198 107 383 241 10; +#N canvas 209 154 262 142 my-subpatch 0; +#X text 37 40 This is the sub patch; +#X restore 215 98 pd my-subpatch; +#X msg 33 62 \; pd-my-subpatch vis 1; +#X msg 37 127 \; pd-my-subpatch vis 0; +#X text 43 42 pop-up; +#X text 40 109 close; +#X text 13 17 pop-up and close a subpatch :; diff --git a/doc/additional/pd-msg/1.msg_and_patch/2.menu.pd b/doc/additional/pd-msg/1.msg_and_patch/2.menu.pd new file mode 100755 index 00000000..7256ffe4 --- /dev/null +++ b/doc/additional/pd-msg/1.msg_and_patch/2.menu.pd @@ -0,0 +1,36 @@ +#N canvas 22 196 222 608 10; +#X text 17 121 GUI stuff; +#X msg 17 145 menusave; +#X msg 17 171 menusaveas; +#X msg 17 197 menuclose; +#X msg 17 223 saveto; +#X msg 17 249 tidy; +#X msg 17 275 texteditor; +#X msg 17 434 editmode \$1; +#X msg 35 408 0; +#X msg 69 408 1; +#X msg 17 460 print; +#X msg 17 301 menufont; +#X msg 17 353 findagain; +#X msg 17 379 findparent; +#X text 68 222 ?????; +#X msg 17 327 find test; +#X obj 17 496 s pd-2.menu.pd; +#X text 98 196 Warnning !!!; +#X text 15 14 Thoes msg will do exactly; +#X text 17 33 what the corresponding; +#X text 19 52 menu do.; +#X connect 1 0 16 0; +#X connect 2 0 16 0; +#X connect 3 0 16 0; +#X connect 4 0 16 0; +#X connect 5 0 16 0; +#X connect 6 0 16 0; +#X connect 7 0 16 0; +#X connect 8 0 7 0; +#X connect 9 0 7 0; +#X connect 10 0 16 0; +#X connect 11 0 16 0; +#X connect 12 0 16 0; +#X connect 13 0 16 0; +#X connect 15 0 16 0; diff --git a/doc/additional/pd-msg/1.msg_and_patch/3.0.events.pd b/doc/additional/pd-msg/1.msg_and_patch/3.0.events.pd new file mode 100755 index 00000000..f864ad40 --- /dev/null +++ b/doc/additional/pd-msg/1.msg_and_patch/3.0.events.pd @@ -0,0 +1,32 @@ +#N canvas 204 161 381 325 10; +#X msg 36 86 click \$1 \$2 \$3 \$4; +#X obj 111 182 key; +#X floatatom 111 208 0 0 0; +#X floatatom 50 184 0 0 0; +#X msg 50 158 0; +#X msg 6 6 bang; +#X text 56 41 left; +#X text 124 41 rigth; +#X text 70 4 Msg-dealing with events :; +#X text 89 28 click; +#X text 218 47 \$1 x; +#X text 219 65 \$2 y; +#X text 218 117 \$4 mod (0:nomod \; 1 shift \; 2 crtl \; 3 alt \; 4 +right click); +#X obj 36 290 s pd-3.0.events.pd; +#X text 218 86 \$3 (unuse ???); +#X msg 36 129 mouseup \$1 \$2 \$4; +#X msg 113 60 15 15 0 8; +#X msg 36 60 15 15 0 1; +#X text 59 232 \$1 number of the key; +#X msg 36 209 key 1 \$1; +#X msg 36 257 motion \$1 \$2 \$4; +#X connect 0 0 13 0; +#X connect 1 0 2 0; +#X connect 3 0 19 0; +#X connect 4 0 3 0; +#X connect 15 0 13 0; +#X connect 16 0 0 0; +#X connect 17 0 0 0; +#X connect 19 0 13 0; +#X connect 20 0 13 0; diff --git a/doc/additional/pd-msg/1.msg_and_patch/3.1.motion.pd b/doc/additional/pd-msg/1.msg_and_patch/3.1.motion.pd new file mode 100755 index 00000000..f281242f --- /dev/null +++ b/doc/additional/pd-msg/1.msg_and_patch/3.1.motion.pd @@ -0,0 +1,35 @@ +#N canvas 184 269 411 486 10; +#N canvas 654 338 332 294 testing 0; +#X obj 95 11 loadbang; +#X msg 95 36 0; +#X obj 12 37 random 127; +#X floatatom 66 94 0 0 0; +#X msg 12 11 bang; +#X connect 0 0 1 0; +#X connect 1 0 3 0; +#X connect 2 0 3 0; +#X connect 4 0 2 0; +#X restore 119 439 pd testing; +#X obj 20 438 s pd-testing; +#X obj 89 247 pack f f; +#X text 8 54 Start here; +#X floatatom 120 185 0 0 0; +#X floatatom 89 186 0 0 0; +#X obj 100 219 t b f; +#X text 7 363 Stop here; +#X text 85 154 try this !!!; +#X text 9 9 This example will show you how to use the motion msg.; +#X msg 20 101 click 15 15 0 0; +#X msg 89 271 motion \$1 \$2 0; +#X msg 20 390 motion 15 15 0 \, editmode 0 \, vis 0; +#X msg 20 75 vis 1 \, editmode 1 \, click 5 5 0 0 \, mouseup 200 200 +0; +#X connect 2 0 11 0; +#X connect 4 0 6 0; +#X connect 5 0 2 0; +#X connect 6 0 2 0; +#X connect 6 1 2 1; +#X connect 10 0 1 0; +#X connect 11 0 1 0; +#X connect 12 0 1 0; +#X connect 13 0 1 0; diff --git a/doc/additional/pd-msg/1.msg_and_patch/3.2.cut_paste.pd b/doc/additional/pd-msg/1.msg_and_patch/3.2.cut_paste.pd new file mode 100755 index 00000000..48db2a4f --- /dev/null +++ b/doc/additional/pd-msg/1.msg_and_patch/3.2.cut_paste.pd @@ -0,0 +1,55 @@ +#N canvas 175 194 409 473 10; +#N canvas 591 210 328 290 testing 0; +#X obj 95 10 loadbang; +#X msg 95 35 0; +#X obj 12 37 random 127; +#X floatatom 66 93 0 0 0; +#X msg 12 11 bang; +#X obj 95 10 loadbang; +#X msg 95 35 0; +#X obj 12 37 random 127; +#X floatatom 66 93 0 0 0; +#X msg 12 11 bang; +#X connect 0 0 1 0; +#X connect 1 0 3 0; +#X connect 2 0 3 0; +#X connect 4 0 2 0; +#X connect 5 0 6 0; +#X connect 6 0 8 0; +#X connect 7 0 8 0; +#X connect 9 0 7 0; +#X restore 315 439 pd testing; +#X obj 20 438 s pd-testing; +#X obj 248 211 pack f f; +#X text 7 40 Start here; +#X floatatom 279 149 0 0 0; +#X floatatom 248 148 0 0 0; +#X obj 259 183 t b f; +#X text 7 374 Stop here; +#X text 17 11 This example will show you how to use the motion msg. +; +#X msg 194 322 cut; +#X msg 194 348 duplicate; +#X msg 20 60 vis 1 \, editmode 1 \, click 5 5 0 0 \, mouseup 200 200 +0; +#X msg 20 399 motion 15 15 \, editmode0 \, vis 0; +#X text 50 81 show and select what's in the patch; +#X text 151 419 close all; +#X text 232 324 you can try thoses too.; +#X text 66 125 and then here to copy and here to move; +#X msg 31 256 mouseup 200 200 0; +#X text 49 236 to acheive the pasting; +#X msg 37 146 copy \, paste \, click 15 15 0 0; +#X msg 248 235 motion \$1 \$2 0; +#X connect 2 0 20 0; +#X connect 4 0 6 0; +#X connect 5 0 2 0; +#X connect 6 0 2 0; +#X connect 6 1 2 1; +#X connect 9 0 1 0; +#X connect 10 0 1 0; +#X connect 11 0 1 0; +#X connect 12 0 1 0; +#X connect 17 0 1 0; +#X connect 19 0 1 0; +#X connect 20 0 1 0; diff --git a/doc/additional/pd-msg/1.msg_and_patch/4.fonts.pd b/doc/additional/pd-msg/1.msg_and_patch/4.fonts.pd new file mode 100755 index 00000000..c7ee019b --- /dev/null +++ b/doc/additional/pd-msg/1.msg_and_patch/4.fonts.pd @@ -0,0 +1,24 @@ +#N canvas 43 70 405 234 10; +#X msg 12 26 menufont; +#X msg 32 64 font 10 100 100; +#X msg 32 88 font 14 100 100; +#X msg 30 114 font 24 100 100; +#X msg 158 86 50; +#X msg 198 86 200; +#X msg 158 112 font 10 100 \$1; +#X msg 274 84 50; +#X msg 314 84 200; +#X msg 274 112 font 10 \$1 100; +#X text 14 3 Here the list of all the messages dealing with fonts : +; +#X obj 14 196 s pd-4.fonts.pd; +#X connect 0 0 11 0; +#X connect 1 0 11 0; +#X connect 2 0 11 0; +#X connect 3 0 11 0; +#X connect 4 0 6 0; +#X connect 5 0 6 0; +#X connect 6 0 11 0; +#X connect 7 0 9 0; +#X connect 8 0 9 0; +#X connect 9 0 11 0; diff --git a/doc/additional/pd-msg/1.msg_and_patch/5.loadbang.pd b/doc/additional/pd-msg/1.msg_and_patch/5.loadbang.pd new file mode 100755 index 00000000..68d79b6a --- /dev/null +++ b/doc/additional/pd-msg/1.msg_and_patch/5.loadbang.pd @@ -0,0 +1,16 @@ +#N canvas 619 324 275 289 10; +#X msg 39 236 loadbang; +#X obj 62 122 loadbang; +#X msg 62 148 1; +#X floatatom 62 174 0 0 0; +#X obj 29 93 random 127; +#X msg 29 68 bang; +#X text 26 13 The loadbang message; +#X text 81 68 <= click here first; +#X text 118 234 <= then click here; +#X obj 39 262 s pd-5.loadbang.pd; +#X connect 0 0 9 0; +#X connect 1 0 2 0; +#X connect 2 0 3 0; +#X connect 4 0 3 0; +#X connect 5 0 4 0; -- cgit v1.2.1