createBPF0

Calculates biquad band pass filter (constant skirt gain, peak gain = Q) filter coefficients from the supplied values.

@nogc nothrow pure @safe
BiquadFilterValues
createBPF0
(
float fs
,
float f0
,
float q
)

Parameters

fs float

Sampling frequency.

f0 float

Corner frequency.

q float

Peak gain.

Return Value

Type: BiquadFilterValues

A struct with the coefficient values for the filter.

Meta