Skip to main content

NOISE_BIAS

Constant NOISE_BIAS 

Source
pub const NOISE_BIAS: f32 = 1.5;
Expand description

Bias compensation for the minimum-of-window estimator.

The trailing minimum lies below the mean noise energy; scaling it up by this factor (≈ +3.5 dB) approximates the level a voice-activity gate must exceed to avoid firing on the noise itself. Empirical minimum-statistics work uses window-length-dependent factors in roughly this range; a fixed conservative value keeps the estimator honest (it never claims the floor is below the observed quiet frames) and dependency-free.