pub struct EnergyVadConfig {
pub margin_db: f32,
pub min_speech_dbfs: f32,
pub playback_extra_db: f32,
}Expand description
Tuning for EnergyVad.
Fields§
§margin_db: f32How far above the noise floor a frame must be to count as speech.
min_speech_dbfs: f32A frame quieter than this is never speech, whatever the floor says — in a silent room the floor sinks and the margin alone would hear breathing.
playback_extra_db: f32Added to both while the reply plays.
Trait Implementations§
Source§impl Clone for EnergyVadConfig
impl Clone for EnergyVadConfig
impl Copy for EnergyVadConfig
Source§impl Debug for EnergyVadConfig
impl Debug for EnergyVadConfig
Auto Trait Implementations§
impl Freeze for EnergyVadConfig
impl RefUnwindSafe for EnergyVadConfig
impl Send for EnergyVadConfig
impl Sync for EnergyVadConfig
impl Unpin for EnergyVadConfig
impl UnsafeUnpin for EnergyVadConfig
impl UnwindSafe for EnergyVadConfig
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more