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