C# Class Accord.Audio.Windows.WindowBase

Base abstract class for signal windows.
Inheritance: IWindow
显示文件 Open project: accord-net/framework

Public Methods

Method Description
Apply ( ComplexSignal complexSignal, int sampleIndex ) : ComplexSignal

Splits a signal using the window.

Apply ( Signal signal, int sampleIndex ) : Signal

Splits a signal using the window.

Apply ( double signal, int sampleIndex ) : double[]

Splits a signal using the window.

Apply ( double signal, int sampleIndex ) : double[][]

Splits a signal using the window.

this ( int index ) : float

Gets or sets values for the Window function.

Protected Methods

Method Description
WindowBase ( double duration, int sampleRate ) : AForge.Math

Constructs a new Window.

WindowBase ( int length ) : AForge.Math

Constructs a new Window.

WindowBase ( int length, int sampleRate ) : AForge.Math

Constructs a new Window.

Method Details

Apply() public method

Splits a signal using the window.
public Apply ( ComplexSignal complexSignal, int sampleIndex ) : ComplexSignal
complexSignal ComplexSignal
sampleIndex int
return ComplexSignal

Apply() public method

Splits a signal using the window.
public Apply ( Signal signal, int sampleIndex ) : Signal
signal Signal
sampleIndex int
return Signal

Apply() public method

Splits a signal using the window.
public Apply ( double signal, int sampleIndex ) : double[]
signal double
sampleIndex int
return double[]

Apply() public method

Splits a signal using the window.
public Apply ( double signal, int sampleIndex ) : double[][]
signal double
sampleIndex int
return double[][]

WindowBase() protected method

Constructs a new Window.
protected WindowBase ( double duration, int sampleRate ) : AForge.Math
duration double
sampleRate int
return AForge.Math

WindowBase() protected method

Constructs a new Window.
protected WindowBase ( int length ) : AForge.Math
length int
return AForge.Math

WindowBase() protected method

Constructs a new Window.
protected WindowBase ( int length, int sampleRate ) : AForge.Math
length int
sampleRate int
return AForge.Math

this() public method

Gets or sets values for the Window function.
public this ( int index ) : float
index int
return float