LinearSmoother

Smooth values over time with a linear slope. This can be useful for some smoothing needs. Intermediate between fast phase and actual smoothing.

Members

Functions

initialize
void initialize(T initialValue, float periodSecs, float sampleRate)

Initialize the LinearSmoother.

nextSample
T nextSample(T input)

Set the target value and return the next sample.

Meta