C# Class Accord.Audio.Filters.BaseFilter

Base signal processing filter
Inheritance: IFilter
Mostrar archivo Open project: accord-net/framework

Public Methods

Method Description
Apply ( Signal signal ) : Signal

Applies the filter to a signal.

Apply ( ) : Signal[]

Applies the filter to a windowed signal.

Protected Methods

Method Description
NewSignal ( int channels, int samples, int rate, SampleFormat dstSampleFormat ) : Signal

Creates a new signal from the given signal parameters. This method can be overridden on child classes to modify how output signals are created.

ProcessFilter ( Signal sourceData, Signal destinationData ) : void

Processes the filter.

Private Methods

Method Description
CheckSourceFormat ( SampleFormat sampleFormat ) : void

Method Details

Apply() public method

Applies the filter to a signal.
public Apply ( Signal signal ) : Signal
signal Signal
return Signal

Apply() public method

Applies the filter to a windowed signal.
public Apply ( ) : Signal[]
return Signal[]

NewSignal() protected method

Creates a new signal from the given signal parameters. This method can be overridden on child classes to modify how output signals are created.
protected NewSignal ( int channels, int samples, int rate, SampleFormat dstSampleFormat ) : Signal
channels int
samples int
rate int
dstSampleFormat SampleFormat
return Signal

ProcessFilter() protected abstract method

Processes the filter.
protected abstract ProcessFilter ( Signal sourceData, Signal destinationData ) : void
sourceData Signal
destinationData Signal
return void