Skip to main content

frame_is_voiced

Function frame_is_voiced 

Source
pub fn frame_is_voiced(frame: &[f32], noise_floor: f32) -> bool
Expand description

Binary voiced/unvoiced proposal for one frame.

Convenience wrapper over frame_voicing_score: true iff the fused confidence reaches the decision threshold. noise_floor is the adaptive floor (e.g. from crate::features::vad::noise_floor_min_stat); a frame at or below it is always unvoiced.