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.

nextBuffer
void nextBuffer(const(T)* input, T* output, int frames)
Undocumented in source. Be warned that the author may not have intended to support it.
nextSample
T nextSample(T input)

Set the target value and return the next sample.

Meta