Skip to main content

MAX_FRAME_SNR_DB

Constant MAX_FRAME_SNR_DB 

Source
pub const MAX_FRAME_SNR_DB: f32 = 35.0;
Expand description

Per-frame SNR is clamped to [MIN_FRAME_SNR_DB, MAX_FRAME_SNR_DB] before averaging. These match the conventional seg-SNR range used in speech-quality literature and keep silent/identical frames from dominating the mean with +inf.