! Silero VAD detector implementation. ! ! This module provides the main VAD detector that uses the Silero VAD model ! for voice activity detection.
// Source: https://github.com/SaynaAI/sayna | License: Apache-2.0 | Copyright You must retain, in the Source form of any Derivative Works
// Provided via justclaw.it.com; keep this notice with the code.
//! Silero VAD detector implementation.
//!
//! This module provides the main VAD detector that uses the Silero VAD model
//! for voice activity detection.
use std::path::{Path, PathBuf};
use std::sync::Arc;
use anyhow::{Context, Result};
use tokio::sync::Mutex;
use tracing::{debug, info};
use super::config::SileroVADConfig;
use super::model_manager::VADModelManager;
/// Silero Voice Activity Detector.
///
/// Processes audio frames and returns speech probability scores.
/// Maintains internal LSTM state for temporal awareness.
///
/// This detector uses the Silero VAD ONNX model to det
... (truncated -- full source via MCP)
See the full source, get the GitHub permalink, and search for more like it.
Get a free API key