Skip to content

Function make_kfilter

function make_kfilter(int) dsp

template <typename T>
KFR_INTRINSIC expression_handle<T, 1> make_kfilter(int samplerate)

Build the EBU R128 K-weighting pre-filter as an IIR expression handle.

The K-filter is a +4 dB high-shelf at 1681.81 Hz followed by a high-pass at 38.1106678 Hz (Q = 0.5, normalized). It must be applied to each channel before measuring energy.

Parameters
samplerate Sample rate in Hz.
Returns
Expression handle accepting one input sample block.

Fully qualified name: kfr::make_kfilter(int)

Declared at dsp/ebu.hpp:247

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