C# Class Accord.Audio.Filters.BaseInPlaceFilter

Base in-place signal processing filter
Inheritance: IInPlaceFilter, IFilter
ファイルを表示 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.

ApplyInPlace ( ) : void

Apply filter to a windowed audio signal.

The method alters the original signal to store the result of this signal processing filter.

ApplyInPlace ( Signal signal ) : void

Apply filter to an audio signal.

The method alters the original signal to store the result of this signal processing filter.

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[]

ApplyInPlace() public method

Apply filter to a windowed audio signal.
The method alters the original signal to store the result of this signal processing filter.
public ApplyInPlace ( ) : void
return void

ApplyInPlace() public method

Apply filter to an audio signal.
The method alters the original signal to store the result of this signal processing filter.
public ApplyInPlace ( Signal signal ) : void
signal Signal Source signal to apply filter to.
return void

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