time: the time constant of the smoother. threshold: absolute difference below which we consider current value and target equal
Advance smoothing and return the next smoothed sample with respect to tau time and samplerate.
Changes attack and release time (given in seconds).
Smooth values exponentially with a 1-pole lowpass. This is usually sufficient for most parameter smoothing.