#N canvas 366 92 586 450 12;
#X obj 55 331 snapshot~;
#X floatatom 55 354 0 0 0 0 - - -;
#X obj 65 19 snapshot~;
#X msg 66 279 bang;
#X text 148 357 This output updates each time bang is clicked above.
;
#X text 145 19 - convert a signal to a number on demand;
#X text 24 51 The snapshot~ object takes a signal and converts it to
a control value whenever it receives a bang in its left outlet. This
object is particularly useful for monitoring outputs.;
#X msg 476 84 \; pd dsp 1;
#X obj 476 61 loadbang;
#X obj 55 254 osc~ 0.1;
#X text 60 236 0.1 Hz cosine;
#X text 347 401 updated for Pd version 0.37;
#X msg 71 303 set 5;
#X text 138 254 signal in to take snapshots of;
#X text 109 278 bang -- take one snapshot;
#X text 125 303 set -- set value (which is reset next DSP block.);
#X msg 476 126 \; pd dsp 0;
#X text 26 114 In the example below \, a snapshot~ object prints out
the values of a low frequency cosine wave every time it is sent a bang
message.;
#X text 27 166 A 'set' message is provided for the (rare) situations
where you might make a known change to the signal input \, and then
read snapshot's value before any ensuing signal computation.;
#X connect 0 0 1 0;
#X connect 0 0 1 0;
#X connect 3 0 0 0;
#X connect 8 0 7 0;
#X connect 9 0 0 0;
#X connect 12 0 0 0;
