#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;