From 244e754145ae6b201cca6668c295ac026c23aa12 Mon Sep 17 00:00:00 2001 From: Hans-Christoph Steiner Date: Thu, 14 May 2009 18:21:47 +0000 Subject: - checked in Jonathan Wilkes' revised pd-msg patches directly from the "pd-msg update.rar" included in the patch #2790373. Its a big improvement, I especially like the "hi there" surprise! svn path=/trunk/; revision=11363 --- doc/additional/pd-msg/2.msg_and_pd/1.pd_basic.pd | 8 +-- doc/additional/pd-msg/2.msg_and_pd/2.open_close.pd | 76 +++++++++++----------- 2 files changed, 42 insertions(+), 42 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 48ec9f24..9d92d4e7 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,15 @@ -#N canvas 312 164 378 475 10; +#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; +#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 25 12 Here some message we can send to pd.; -#X text 21 275 Quit pd (WARNNING); #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; 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 55b803f9..8ba3626e 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,38 @@ -#N canvas 368 98 525 543 10; -#X text 10 4 open and close an abstraction; -#X text 22 231 (you have to put a corect name & valid path); -#X msg 25 195 \; pd-abstraction.pd menuclose \;; -#X text 25 131 Sometimes you can get relative paths (./ \, ../ \, etc.) -to work \, but usually not. I don't know why...; -#X msg 226 435 \; pd open \$1 \$2; -#X text 57 480 you have to put the name of the patch to open ($1) and -complete path to it ($2); -#X obj 276 367 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 174 CLOSE; -#X text 25 99 You have to put the name of the patch to open and complete -path to it; -#X obj 77 407 makefilename pd-%s; -#X msg 77 434 \; \$1 menuclose \;; -#X obj 77 386 symbol; -#X msg 100 300 abstraction.pd; -#X obj 99 334 trigger bang anything bang; -#X obj 114 368 symbol; -#X obj 51 359 del 2000; -#X obj 226 387 pack s s; -#X obj 226 368 symbol; -#X text 27 278 OPEN \, THEN CLOSE AFTER 2 SECONDS; -#X connect 6 0 18 1; -#X connect 11 0 12 0; -#X connect 13 0 11 0; -#X connect 14 0 15 0; -#X connect 15 0 17 0; -#X connect 15 1 16 0; -#X connect 15 1 19 0; -#X connect 15 2 6 0; -#X connect 16 0 13 1; -#X connect 17 0 13 0; -#X connect 18 0 4 0; -#X connect 19 0 18 0; +#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; -- cgit v1.2.1