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.
Initialize mean filter with given number of samples.
Initialize with with cutoff frequency and samplerate.
See Implementation
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.