aboutsummaryrefslogtreecommitdiff
path: root/pd/doc/5.reference/pd-help.pd
blob: f7db8f6659b65233668cf790f19bc4257df19654 (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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
#N canvas 32 130 677 385 12;
#N canvas 0 0 600 400 /SUBPATCH/ 0;
#X restore 59 10 pd;
#X text 88 12 - subpatch;
#X obj 218 10 inlet;
#X text 263 10 - control inlet;
#X obj 442 11 inlet~;
#X text 494 12 - audio inlet;
#X obj 215 39 outlet;
#X text 265 39 - control outlet;
#X obj 435 40 outlet~;
#X text 494 40 - audio outlet;
#X text 37 74 Type "pd" into an object box to make a subpatch. When
in run mode you can click on the object to open the subpatch. You can
name the subpatch with an argument:;
#N canvas 0 0 600 396 my-subpatch 0;
#X restore 133 131 pd my-subpatch;
#N canvas 0 0 600 392 my-subpatch-with-inlets-and-outlets 0;
#X obj 68 126 inlet;
#X text 20 96 control inlet for receiving messages;
#X floatatom 68 154 0 0 0;
#X floatatom 71 255 0 0 0;
#X obj 71 287 outlet;
#X text 35 225 control outlet for sending message;
#X obj 403 121 inlet~;
#X obj 403 172 print~;
#X msg 418 146 bang;
#X obj 402 314 outlet~;
#X obj 402 288 sig~ 34;
#X connect 0 0 2 0;
#X connect 3 0 4 0;
#X connect 6 0 7 0;
#X connect 8 0 7 0;
#X connect 10 0 9 0;
#X restore 86 272 pd my-subpatch-with-inlets-and-outlets;
#X text 55 174 and you can put inlets and outlets by making "inlet"
objects \, etc \, in the subpatch (open the patch below to see them.)
;
#X obj 423 322 print~;
#X msg 362 294 bang;
#X obj 422 243 sig~ 12;
#X floatatom 86 246 0 0 0;
#X floatatom 86 298 0 0 0;
#X text 441 272 (check that audio is on);
#X text 52 221 messages in and out;
#X text 392 220 audio in and out;
#X text 391 351 updated for Pd version 0.26;
#X connect 12 0 18 0;
#X connect 12 1 14 0;
#X connect 15 0 14 0;
#X connect 16 0 12 1;
#X connect 17 0 12 0;