aboutsummaryrefslogtreecommitdiff
path: root/pd/doc/5.reference/env~-help.pd
blob: 64a245aed4df9815b838e2a52c628a252ade0b0d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
#N canvas 40 55 711 401 12;
#X floatatom 103 303 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 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 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;