void simple_mean_smooth

In file ../include/sigpr/EST_filter.h:

## void simple_mean_smooth | ## (EST_Wave &c, int n)

> Filters the waveform by means of median smoothing.

## Documentation

> 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.

Parameters:
  sig - waveform to be filtered
  - n size of smoothing window

Alphabetic index HTML hierarchy of classes or Java

This page is part of the Edinburgh Speech Tools Library documentation
Copyright University of Edinburgh 1997
Contact: speech_tools@cstr.ed.ac.uk