aboutsummaryrefslogtreecommitdiff
path: root/pd/doc/5.reference/env~-help.pd
diff options
context:
space:
mode:
Diffstat (limited to 'pd/doc/5.reference/env~-help.pd')
-rw-r--r--pd/doc/5.reference/env~-help.pd47
1 files changed, 25 insertions, 22 deletions
diff --git a/pd/doc/5.reference/env~-help.pd b/pd/doc/5.reference/env~-help.pd
index 64a245ae..212da310 100644
--- a/pd/doc/5.reference/env~-help.pd
+++ b/pd/doc/5.reference/env~-help.pd
@@ -1,28 +1,31 @@
-#N canvas 40 55 711 401 12;
-#X floatatom 103 303 0 0 0;
+#N canvas 134 127 625 411 12;
+#X floatatom 11 332 0 0 0 0 - - -;
#X obj 74 14 env~;
#X text 120 16 - envelope follower;
-#X obj 103 275 env~ 16384;
-#X obj 103 214 osc~ 400;
-#X obj 103 241 *~;
-#X floatatom 217 220 3 -99 300;
-#X obj 217 244 dbtorms;
+#X obj 11 209 osc~ 400;
+#X obj 11 236 *~;
+#X floatatom 103 211 3 -99 300 0 - - -;
+#X obj 103 235 dbtorms;
#X text 9 46 The env~ object takes a signal and outputs its RMS amplitude
in dB (with 1 normalized to 100 dB.) Output is bounded below by zero.
;
-#X text 8 105 The analysis is Hanning windowed.;
-#X text 9 131 The optional creation argument is the analysis window
-size in samples \, and should be a power of two. The analysis windows
-overlap by two \, so that the period of output is half the window size.
+#X text 141 209 <- set peak-to-peak amplitude here in dB.;
+#X text 57 333 <- the output is RMS amplitude which (for a sinusoid)
+is about 3 dB below peak-to-peak amplitude.;
+#X text 359 380 updated for Pd version 0.40.;
+#X obj 11 269 env~ 16384 8192;
+#X text 160 259 creation arguments:;
+#X text 158 277 1 window size in samples (1024 default);
+#X text 158 296 2 period in samples per analysis (window/2 default)
;
-#X text 206 274 <- creation argument sets window size;
-#X text 265 221 <- set peak-to-peak amplitude here in dB.;
-#X text 185 305 <- the output is RMS amplitude which is about 3 dB
-below peak-to-peak amplitude.;
-#X text 459 375 updated for Pd version 0.35;
-#X connect 3 0 0 0;
-#X connect 3 0 0 0;
-#X connect 4 0 5 0;
-#X connect 5 0 3 0;
-#X connect 6 0 7 0;
-#X connect 7 0 5 1;
+#X text 9 102 The analysis is "Hanning" (raised cosine) windowed.;
+#X text 9 125 The optional creation arguments are the analysis window
+size in samples \, and the period (the number of samples between analyses).
+The latter should normally be a multiple of the DSP block size \, although
+this isn't enforced.;
+#X connect 3 0 4 0;
+#X connect 4 0 11 0;
+#X connect 5 0 6 0;
+#X connect 6 0 4 1;
+#X connect 11 0 0 0;
+#X connect 11 0 0 0;