C# Class SoundFingerprinting.Windows.HanningWindow

Hanning window function
Inheritance: IWindowFunction
Show file Open project: AddictedCS/soundfingerprinting Class Usage Examples

Public Methods

Method Description
GetWindow ( int length ) : float[]

Gets the corresponding window function

WindowInPlace ( float outerspace, int length ) : void

Window the outer space by Hanning window function

For additional explanation please consult http://en.wikipedia.org/wiki/Hann_function

Method Details

GetWindow() public method

Gets the corresponding window function
public GetWindow ( int length ) : float[]
length int Length of the window
return float[]

WindowInPlace() public method

Window the outer space by Hanning window function
For additional explanation please consult http://en.wikipedia.org/wiki/Hann_function
public WindowInPlace ( float outerspace, int length ) : void
outerspace float Array to be windowed
length int Window length
return void