blob: 55b803f957ddc274cc961a7069fb5cffd98f35d5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
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;
|