Creates the alpha value for a HP20 filter. Filter formula: y[n] = (y[n-1] + x[n] - x[n-1]) * alpha Where alpha is: 1 / (1 + 2 * pi * timeConstantInSeconds * samplerate)
Sampling frequency.
Cutoff frequency.
The alpha value.
See Implementation
Creates the alpha value for a HP20 filter. Filter formula: y[n] = (y[n-1] + x[n] - x[n-1]) * alpha Where alpha is: 1 / (1 + 2 * pi * timeConstantInSeconds * samplerate)