blob: bb8a674cb265113b454828aa6e6c8caf2c2ca526 (
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
|
#N canvas 631 161 491 539 10;
#X text 123 18 "hot" and "cold" inlets;
#X obj 28 222 +;
#X floatatom 28 251 5 0 0 0 - - -;
#X msg 28 158 1;
#X msg 45 194 5;
#X text 23 50 For most objects in Pd \, the leftmost inlet is the "hot"
inlet. This means that it will output something whenever it receives
data on the "hot" inlet.;
#X text 24 99 All other inlets are generally "cold" inlets \, which
merely store the data they receive until input on the "hot" inlet causes
the object to do its thing.;
#X text 74 195 2) click this and there will be no new output;
#X text 74 157 1) click this first \, and [+ ] immediately ouptputs
a 1;
#X obj 190 396 +;
#X floatatom 190 425 5 0 0 0 - - -;
#X msg 113 331 1;
#X text 28 304 Try a number of different combinations to see for yourself:
;
#X text 223 390 <-- "cold" inlet;
#X text 72 390 "hot" inlet -->;
#X msg 143 331 2;
#X msg 173 331 3;
#X msg 253 331 4;
#X msg 283 331 5;
#X msg 313 331 6;
#X text 74 227 3) now click the [1( message box \, and you get a new
output;
#X text 31 458 Notice that the number is stored in the "cold" inlet
until you change it. For example \, if you click [4( \, then click
[1( \, [2( \, and [3( \, you will see that 1 \, 2 \, and 3 are all
added to 4;
#X connect 1 0 2 0;
#X connect 3 0 1 0;
#X connect 4 0 1 1;
#X connect 9 0 10 0;
#X connect 11 0 9 0;
#X connect 15 0 9 0;
#X connect 16 0 9 0;
#X connect 17 0 9 1;
#X connect 18 0 9 1;
#X connect 19 0 9 1;
|