Skip to main content

Module k_weighting

Module k_weighting 

Source
Expand description

ITU-R BS.1770 / EBU R128 K-weighting pre-filter, as two biquads.

K-weighting is a cascade of two second-order stages that run through the shared BiquadState engine:

  1. Stage 1 — high-frequency shelving (a ~+4 dB high shelf) modelling the acoustic effect of the head.
  2. Stage 2 — RLB high-pass (a 2nd-order high-pass, ~38 Hz corner) removing sub-audible / rumble energy.

The coefficients are derived analytically via [etalon_signal::filter].

Functions§

k_weighting_coeffs
Build the two BS.1770 K-weighting biquads for sample_rate Hz.