diff options
Diffstat (limited to 'doc/additional/pd-msg/2.msg_and_pd')
-rwxr-xr-x | doc/additional/pd-msg/2.msg_and_pd/2.open_close.pd | 32 |
1 files changed, 17 insertions, 15 deletions
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 a6e10d05..55b803f9 100755 --- 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,4 +1,4 @@ -#N canvas 368 98 521 539 10; +#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 \;; @@ -7,8 +7,7 @@ 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 226 374 pack s s; -#X obj 276 354 pwd; +#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; @@ -22,15 +21,18 @@ path to it; #X obj 99 334 trigger bang anything bang; #X obj 114 368 symbol; #X obj 51 359 del 2000; -#X text 27 278 OPEN THEN CLOSE; -#X connect 6 0 4 0; -#X connect 7 0 6 1; -#X connect 12 0 13 0; -#X connect 14 0 12 0; -#X connect 15 0 16 0; -#X connect 16 0 18 0; -#X connect 16 1 6 0; -#X connect 16 1 17 1; -#X connect 16 2 7 0; -#X connect 17 0 14 1; -#X connect 18 0 14 0; +#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; |