DISTRHO Plugin Framework
|
An exponential smoother for control values. More...
#include <ValueSmoother.hpp>
An exponential smoother for control values.
This continually smooths a value towards a defined target, using a low-pass filter of the 1st order, which creates an exponential curve.
The length of the curve is defined by a T60 constant, which is the time it takes for a 1-to-0 smoothing to fall to -60dB.
Note that this smoother has asymptotical behavior, and it must not be assumed that the final target is ever reached.