From 2ad1ad00d8164add624718c6c576680ec4b61aa6 Mon Sep 17 00:00:00 2001 From: Jonathan Wilkes Date: Sat, 24 Mar 2012 05:25:17 +0000 Subject: added META subpatch svn path=/trunk/; revision=16094 --- doc/additional/pd-msg/2.msg_and_pd/1.pd_basic.pd | 38 ++++++---- doc/additional/pd-msg/2.msg_and_pd/2.open_close.pd | 85 ++++++++++++---------- doc/additional/pd-msg/2.msg_and_pd/abstraction.pd | 2 +- 3 files changed, 71 insertions(+), 54 deletions(-) (limited to 'doc/additional/pd-msg/2.msg_and_pd') diff --git a/doc/additional/pd-msg/2.msg_and_pd/1.pd_basic.pd b/doc/additional/pd-msg/2.msg_and_pd/1.pd_basic.pd index 9d92d4e7..57214583 100644 --- a/doc/additional/pd-msg/2.msg_and_pd/1.pd_basic.pd +++ b/doc/additional/pd-msg/2.msg_and_pd/1.pd_basic.pd @@ -1,15 +1,23 @@ -#N canvas 562 159 378 475 10; -#X text 20 51 turn DSP calculation off & on; -#X msg 98 94 \; pd dsp 0 \;; -#X msg 172 94 \; pd dsp 1 \;; -#X msg 24 301 \; pd quit \;; -#X floatatom 26 73 1 0 1 0 - - -; -#X obj 26 123 s pd; -#X msg 26 97 dsp \$1; -#X msg 25 218 \; pd audiostatus \;; -#X text 22 194 same as "DIO errors"; -#X text 21 356 There are many more that i don't know :-(; -#X text 25 12 Here are some messages we can send to pd.; -#X text 21 275 Quit pd (WARNING); -#X connect 4 0 6 0; -#X connect 6 0 5 0; +#N canvas 0 18 378 475 10; +#X text 20 51 turn DSP calculation off & on; +#X msg 98 94 \; pd dsp 0 \;; +#X msg 172 94 \; pd dsp 1 \;; +#X msg 24 301 \; pd quit \;; +#X floatatom 26 73 1 0 1 0 - - -; +#X obj 26 123 s pd; +#X msg 26 97 dsp \$1; +#X msg 25 218 \; pd audiostatus \;; +#X text 22 194 same as "DIO errors"; +#X text 21 356 There are many more that i don't know :-(; +#X text 25 12 Here are some messages we can send to pd.; +#X text 21 275 Quit pd (WARNING); +#N canvas 437 191 494 396 META 0; +#X text 12 5 GENRE tutorial; +#X text 12 95 HELP_PATCH_AUTHORS Damien Henry. "pd meta" information +added by Jonathan Wilkes for Pd version 0.42.; +#X text 12 65 DESCRIPTION sending messages to a pd instance; +#X text 12 25 KEYWORDS control pd_op nonlocal; +#X text 12 45 LICENSE public domain; +#X restore 317 443 pd META; +#X connect 4 0 6 0; +#X connect 6 0 5 0; diff --git a/doc/additional/pd-msg/2.msg_and_pd/2.open_close.pd b/doc/additional/pd-msg/2.msg_and_pd/2.open_close.pd index 8ba3626e..9744eca4 100644 --- a/doc/additional/pd-msg/2.msg_and_pd/2.open_close.pd +++ b/doc/additional/pd-msg/2.msg_and_pd/2.open_close.pd @@ -1,38 +1,47 @@ -#N canvas 368 98 525 543 10; -#X text 10 4 open and close an abstraction; -#X msg 25 205 \; pd-abstraction.pd menuclose \;; -#X text 25 141 Sometimes you can get relative paths (./ \, ../ \, etc.) -to work \, but usually not. I don't know why...; -#X msg 176 434 \; pd open \$1 \$2; -#X obj 221 369 getdir; -#X msg 25 63 \; pd open abstraction.pd /usr/local/lib/pd/doc/7.stuff/additional/pd-msg/2.msg_and_pd -; -#X text 25 41 OPEN; -#X text 24 184 CLOSE; -#X obj 51 418 makefilename pd-%s; -#X msg 51 441 \; \$1 menuclose \;; -#X obj 51 396 symbol; -#X msg 51 310 abstraction.pd; -#X obj 51 335 trigger bang anything bang; -#X obj 127 369 symbol; -#X obj 51 369 del 2000; -#X obj 176 411 pack s s; -#X obj 176 369 symbol; -#X text 27 288 OPEN \, THEN CLOSE AFTER 2 SECONDS; -#X text 25 109 You have to put the name of the patch to open and its -complete path; -#X text 22 241 (you have to put the correct name & a valid path); -#X text 47 481 you have to put the name of the patch to open (\$1) -and the complete path to it (\$2); -#X connect 4 0 15 1; -#X connect 8 0 9 0; -#X connect 10 0 8 0; -#X connect 11 0 12 0; -#X connect 12 0 14 0; -#X connect 12 1 13 0; -#X connect 12 1 16 0; -#X connect 12 2 4 0; -#X connect 13 0 10 1; -#X connect 14 0 10 0; -#X connect 15 0 3 0; -#X connect 16 0 15 0; +#N canvas 0 18 525 543 10; +#X text 10 4 open and close an abstraction; +#X msg 25 205 \; pd-abstraction.pd menuclose \;; +#X text 25 141 Sometimes you can get relative paths (./ \, ../ \, etc.) +to work \, but usually not. I don't know why...; +#X msg 176 434 \; pd open \$1 \$2; +#X obj 221 369 getdir; +#X msg 25 63 \; pd open abstraction.pd /usr/local/lib/pd/doc/7.stuff/additional/pd-msg/2.msg_and_pd +; +#X text 25 41 OPEN; +#X text 24 184 CLOSE; +#X obj 51 418 makefilename pd-%s; +#X msg 51 441 \; \$1 menuclose \;; +#X obj 51 396 symbol; +#X msg 51 310 abstraction.pd; +#X obj 51 335 trigger bang anything bang; +#X obj 127 369 symbol; +#X obj 51 369 del 2000; +#X obj 176 411 pack s s; +#X obj 176 369 symbol; +#X text 27 288 OPEN \, THEN CLOSE AFTER 2 SECONDS; +#X text 25 109 You have to put the name of the patch to open and its +complete path; +#X text 22 241 (you have to put the correct name & a valid path); +#X text 47 481 you have to put the name of the patch to open (\$1) +and the complete path to it (\$2); +#N canvas 437 191 494 396 META 0; +#X text 12 5 GENRE tutorial; +#X text 12 95 HELP_PATCH_AUTHORS Damien Henry. "pd meta" information +added by Jonathan Wilkes for Pd version 0.42.; +#X text 12 25 KEYWORDS control pd_op nonlocal; +#X text 12 65 DESCRIPTION opening and closing a patch by sending messages +to Pd; +#X text 12 45 LICENSE public domain; +#X restore 445 516 pd META; +#X connect 4 0 15 1; +#X connect 8 0 9 0; +#X connect 10 0 8 0; +#X connect 11 0 12 0; +#X connect 12 0 14 0; +#X connect 12 1 13 0; +#X connect 12 1 16 0; +#X connect 12 2 4 0; +#X connect 13 0 10 1; +#X connect 14 0 10 0; +#X connect 15 0 3 0; +#X connect 16 0 15 0; diff --git a/doc/additional/pd-msg/2.msg_and_pd/abstraction.pd b/doc/additional/pd-msg/2.msg_and_pd/abstraction.pd index 607872fd..e09e8fef 100644 --- a/doc/additional/pd-msg/2.msg_and_pd/abstraction.pd +++ b/doc/additional/pd-msg/2.msg_and_pd/abstraction.pd @@ -1,2 +1,2 @@ -#N canvas 603 381 454 304 10; +#N canvas 445 86 454 304 10; #X text 68 98 This is your abstraction which you just opened.; -- cgit v1.2.1