aboutsummaryrefslogtreecommitdiff
path: root/pd/doc/5.reference/snapshot~.pd
diff options
context:
space:
mode:
Diffstat (limited to 'pd/doc/5.reference/snapshot~.pd')
-rw-r--r--pd/doc/5.reference/snapshot~.pd28
1 files changed, 28 insertions, 0 deletions
diff --git a/pd/doc/5.reference/snapshot~.pd b/pd/doc/5.reference/snapshot~.pd
new file mode 100644
index 00000000..244a2a7c
--- /dev/null
+++ b/pd/doc/5.reference/snapshot~.pd
@@ -0,0 +1,28 @@
+#N canvas 40 55 704 399 12;
+#X obj 205 266 snapshot~;
+#X floatatom 205 292 0 0 0;
+#X obj 105 274 snapshot~;
+#X floatatom 105 318 0 0 0;
+#X obj 74 14 snapshot~;
+#X msg 205 236 bang;
+#X text 201 313 This output updates each time bang is clicked above.;
+#X text 154 14 - convert a signal to a number on demand;
+#X text 9 46 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 text 459 375 updated for Pd version 0.33;
+#X msg 19 212 \; pd dsp 1;
+#X obj 12 187 loadbang;
+#X obj 12 251 metro 200;
+#X text 104 334 This output updates every 200 milliseconds.;
+#X obj 105 214 osc~ 0.1;
+#X text 110 196 0.1 Hz cosine;
+#X text 7 111 In the example below \, the first snapshot~ object prints out the values of a low frequency cosine wave every 200 milliseconds. The second snapshot~ object prints the output value when the bang button above it is clicked.;
+#X connect 0 0 1 0;
+#X connect 0 0 1 0;
+#X connect 2 0 3 0;
+#X connect 2 0 3 0;
+#X connect 5 0 0 0;
+#X connect 11 0 10 0;
+#X connect 11 0 12 0;
+#X connect 12 0 2 0;
+#X connect 14 0 2 0;
+#X connect 14 0 0 0;