UnstableMeanFilter

Simple FIR to smooth things cheaply. Introduces (samples - 1) / 2 latency. This one doesn't convert to integers internally so it may loose precision over time. Meants for finite signals.

Members

Functions

initialize
void initialize(T initialValue, int samples)

Initialize mean filter with given number of samples.

initialize
void initialize(T initialValue, double cutoffHz, double samplerate)

Initialize with with cutoff frequency and samplerate.

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 x)
Undocumented in source. Be warned that the author may not have intended to support it.

Meta