aboutsummaryrefslogtreecommitdiff
path: root/doc/tutorials/intro/23.inlets_and_outlets.pd
blob: c503c35691e961c21689ebdd9a47901fd01bb8f6 (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
53
54
55
56
57
58
59
60
61
62
63
64
#N canvas 10 40 624 464 12;
#X obj 10 10 cnv 15 400 40 empty empty inlets_and_outlets 20 12 0 24
-228992 -66577 0;
#X text 14 72 When making your own objects and subpatchs \, you can
create inlets and outlets using [inlet] and [outlet].;
#N canvas 10 40 624 464 look 0;
#X obj 24 34 inlet;
#X obj 238 47 inlet;
#X obj 469 41 inlet;
#X obj 251 304 outlet;
#X msg 469 175 I am the third inlet;
#X msg 242 145 I am the second inlet;
#X msg 24 94 I am the first inlet;
#X connect 0 0 6 0;
#X connect 1 0 5 0;
#X connect 2 0 4 0;
#X connect 4 0 3 0;
#X connect 5 0 3 0;
#X connect 6 0 3 0;
#X restore 32 162 pd look inside me;
#X obj 31 202 pddp/print_long;
#X obj 32 129 bng 20 250 50 0 empty empty empty 0 -6 0 8 -24198 -1
-1;
#X obj 114 129 bng 20 250 50 0 empty empty empty 0 -6 0 8 -24198 -1
-1;
#X obj 197 129 bng 20 250 50 0 empty empty empty 0 -6 0 8 -24198 -1
-1;
#N canvas 10 40 640 480 look 0;
#X obj 20 34 inlet;
#X obj 334 33 inlet;
#X obj 528 35 inlet;
#X obj 20 120 trigger bang anything;
#X obj 224 404 outlet;
#X obj 224 266 mapping/tolist;
#X connect 0 0 3 0;
#X connect 1 0 5 0;
#X connect 2 0 5 0;
#X connect 3 0 5 1;
#X connect 3 1 5 0;
#X connect 5 0 4 0;
#X restore 199 376 pd look inside me;
#X obj 198 416 pddp/print_long;
#X msg 200 327 smokin!;
#X msg 281 327 are;
#X msg 363 327 you;
#X text 17 259 The first inlet should be the hot inlet \, even in your
own patches. There are times when you need to make other inlets hot
\, but in general \, its a good rule to stick with.;
#X obj 332 126 cnv 15 220 120 empty empty empty 20 12 0 14 -233017
-66577 0;
#X obj 347 132 inlet;
#X obj 348 218 outlet;
#X text 402 132 take in data;
#X text 361 173 do some stuff here;
#X text 418 217 output data;
#X connect 2 0 3 0;
#X connect 4 0 2 0;
#X connect 5 0 2 1;
#X connect 6 0 2 2;
#X connect 7 0 8 0;
#X connect 9 0 7 0;
#X connect 10 0 7 1;
#X connect 11 0 7 2;
#X connect 14 0 15 0;