Skip to content

function biquad_peak(std::type_identity_t<T>, std::type_identity_t<T>, std::type_identity_t<T>) biquad

template <typename T = fbase>
KFR_FUNCTION biquad_section<T> biquad_peak(std::type_identity_t<T> frequency, std::type_identity_t<T> Q,
                                           std::type_identity_t<T> gain)

Calculates coefficients for the peak biquad filter

Parameters
frequency Normalized frequency (frequency_Hz / samplerate_Hz)
Q Q factor
gain Gain in dB
Returns
Biquad filter coefficients

Defined at dsp/biquad_design.hpp:145