Click or drag to resize
Accord.NET (logo)

LowPassFilter Class

Low band pass filter.
Inheritance Hierarchy
SystemObject
  Accord.Audio.FiltersBaseFilter
    Accord.Audio.FiltersLowPassFilter

Namespace:  Accord.Audio.Filters
Assembly:  Accord.Audio (in Accord.Audio.dll) Version: 3.8.0
Syntax
public class LowPassFilter : BaseFilter
Request Example View Source

The LowPassFilter type exposes the following members.

Constructors
  NameDescription
Public methodLowPassFilter(Single)
Constructs a new Low-Pass Filter using the given alpha.
Public methodLowPassFilter(Double, Double)
Constructs a new Low-Pass Filter using the given cut-off frequency and sample rate.
Top
Properties
  NameDescription
Public propertyAlpha
Gets or sets the low-pass alpha value.
Public propertyFormatTranslations
Format translations dictionary.
(Inherited from BaseFilter.)
Top
Methods
  NameDescription
Public methodApply(Signal)
Applies the filter to a signal.
(Inherited from BaseFilter.)
Public methodApply(Signal)
Applies the filter to a windowed signal.
(Inherited from BaseFilter.)
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodStatic memberGetAlpha
Gets the alpha value that can be used to achieve a given cut-off frequency under a given sampling rate.
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Protected methodNewSignal
Creates a new signal from the given signal parameters. This method can be overridden on child classes to modify how output signals are created.
(Inherited from BaseFilter.)
Protected methodProcessFilter
Processes the filter.
(Overrides BaseFilterProcessFilter(Signal, Signal).)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Extension Methods
  NameDescription
Public Extension MethodHasMethod
Checks whether an object implements a method with the given name.
(Defined by ExtensionMethods.)
Public Extension MethodIsEqual
Compares two objects for equality, performing an elementwise comparison if the elements are vectors or matrices.
(Defined by Matrix.)
Public Extension MethodTo(Type)Overloaded.
Converts an object into another type, irrespective of whether the conversion can be done at compile time or not. This can be used to convert generic types to numeric types during runtime.
(Defined by ExtensionMethods.)
Public Extension MethodToTOverloaded.
Converts an object into another type, irrespective of whether the conversion can be done at compile time or not. This can be used to convert generic types to numeric types during runtime.
(Defined by ExtensionMethods.)
Top
Remarks
The low-pass filter is computed using
for (int t = 0; i < length; t++)
    y = y[t-1] + Alpha * (x[t] - y[t-1]);
See Also