Tracks the relative amplitude of a signal, using an envelope follower algorithm. An envelope follower converges toward rising amplitude according to attackTime
, and toward falling amplitude according to releaseTime
. See the plot under Examples.
in |
Input signal |
attackTime |
20dB convergence time for following attacks. |
releaseTime |
20dB convergence time for following decays. |
mul | |
add |
The first example produces a plot, comparing a fast attack/release against slower settings. The green line (fast settings) approximates the amplitude more quickly, but also oscillates according to the wave shape. The blue line (slow settings) rises more slowly, but oscillates less (more stable measurement).