aboutsummaryrefslogtreecommitdiff
path: root/pd/doc/5.reference/samphold~.pd
blob: 1a58bd021a96b2c26a4b518e3b4de4f7bc564606 (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
#N canvas 121 54 554 287 10;
#X obj 32 238 snapshot~;
#X floatatom 32 257;
#X obj 41 219 metro 100;
#X obj 41 197 r start;
#X msg 387 21 \; pd dsp 1 \; start bang;
#X text 392 270 updated for version 0.29;
#X text 454 30 Click to start;
#X text 447 78 Click to stop;
#X msg 388 65 \; pd dsp 0 \; start 0;
#X obj 19 7 samphold~;
#X text 96 6 - sample and hold unit;
#X obj 32 170 samphold~;
#X text 10 26 The samphold~ object samples its left input whenever its right input decreases in value (as a phasor~ does each period \, for example.) Both inputs are audio signals.;
#X obj 67 129 sig~;
#X obj 101 148 sig~;
#X floatatom 67 109;
#X floatatom 101 127;
#X msg 32 66 set 34;
#X msg 38 87 reset;
#X text 81 65 set output to a number;
#X text 81 86 force the next sample;
#X text 97 109 sample signal;
#X text 135 127 control signal;
#X connect 0 0 1 0;
#X connect 2 0 0 0;
#X connect 3 0 2 0;
#X connect 11 0 0 0;
#X connect 13 0 11 0;
#X connect 14 0 11 1;
#X connect 15 0 13 0;
#X connect 16 0 14 0;
#X connect 17 0 11 0;
#X connect 18 0 11 0;