Skip to content

function fir_bandpass(univector<T, Tag> &, std::type_identity_t<T>, std::type_identity_t<T>, const expression_handle<T> &, bool) fir

template <typename T, univector_tag Tag>
KFR_INTRINSIC void fir_bandpass(univector<T, Tag>& taps, std::type_identity_t<T> frequency1,
                                std::type_identity_t<T> frequency2, const expression_handle<T>& window,
                                bool normalize = true)

Calculates coefficients for the band-pass FIR filter

Parameters
taps array where computed coefficients are stored
frequency1 Normalized frequency (frequency_Hz / samplerate_Hz)
frequency2 Normalized frequency (frequency_Hz / samplerate_Hz)
window pointer to a window function
normalize true for normalized coefficients

Defined at dsp/fir_design.hpp:161