env~
From Pdpedia
| {{{example_image}}} caption | |
| Description: | envelope follower |
|---|---|
| Abbreviation: | |
| Library: | vanilla |
| Author(s): | Miller S. Puckette and others |
| Developer(s): | |
| Release version: | |
| Release date: | 2007 |
| Status: | active |
| Dependencies: | |
| License: | BSD |
| Website: | http://crca.ucsd.edu/~msp/software.html |
| Programming Language: | |
| Platform(s): | GNU/Linux, Mac OS X, Windows |
| Language: | English |
| Data type(s): | signal |
| Distribution(s): | DesireData, PDa, Pd-extended, Pd-vanilla, puredata debian package, pure:dyne |
- envelope follower
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.
The analysis is "Hanning" (raised cosine) windowed.
updated for Pd version 0.40.
Contents |
[edit] Inlets
set peak-to-peak amplitude in dB.
[edit] Outlets
the output is RMS amplitude which (for a sinusoid) is about 3 dB below peak-to-peak amplitude.
[edit] Arguments
creation arguments:
1 window size in samples (1024 default)
2 period in samples per analysis (window/2 default)
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.

