|
HighPassFilterGetAlpha Method
|
Gets the alpha value that can be used to achieve a given
cut-off frequency under a given sampling rate.
Namespace:
Accord.Audio.Filters
Assembly:
Accord.Audio (in Accord.Audio.dll) Version: 3.8.0
Syntax public static float GetAlpha(
double frequency,
double sampleRate
)
Public Shared Function GetAlpha (
frequency As Double,
sampleRate As Double
) As Single
Request Example
View SourceParameters
- frequency
- Type: SystemDouble
The desired cut-off frequency. - sampleRate
- Type: SystemDouble
The signal sampling rate.
Return Value
Type:
SingleA value for
Alpha that creates a filter
that can filter out the given cut-off frequency.
See Also