Some of these filters are non-linear and therefore don't fit the normal paradigm. More...
Functions | |
void | simple_mean_smooth (EST_Wave &c, int n) |
Some of these filters are non-linear and therefore don't fit the normal paradigm.
Filters the waveform by means of median smoothing.
This is a sort of low pass filter which aims to remove extreme values. Median smoothing works examining each sample in the wave, taking all the values in a window of size n
around that sample, sorting them and replacing that sample with the middle ranking sample in the sorted samples.
c | waveform to be filtered |
n | size of smoothing window |