Skip to content

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

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

Calculates coefficients for the high-pass FIR filter

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

Defined at dsp/fir_design.hpp:146