Skip to content

Function bweighting

function bweighting(const T1 &) dsp

template <numeric T1>
KFR_INTRINSIC T1 bweighting(const T1& x)

B-weighting filter response for a scalar frequency.

Template parameters
T1 Numeric scalar type.
Parameters
x Frequency in Hz.
Returns
B-weighting gain (linear) at x.

Fully qualified name: kfr::bweighting(const T1 &)

Declared at dsp/weighting.hpp:145

Function bweighting

function bweighting(E1 &&) dsp

template <expression_argument E1>
KFR_INTRINSIC expression_function<fn::bweighting, E1> bweighting(E1&& x)

B-weighting filter response as an expression.

Builds an expression that applies the B-weighting gain (linear magnitude, not decibels) element-wise to its input. Intended for use on spectrum magnitudes (gains); the input is interpreted as frequency in Hz.

Template parameters
E1 Input expression type.
Parameters
x Input expression of frequencies in Hz.
Returns
Expression producing B-weighting gains (linear) element-wise.

Fully qualified name: kfr::bweighting(E1 &&)

Declared at dsp/weighting.hpp:162

This file was generated by cxxdox, a C++ documentation generator based on MkDocs Material and libclang.