Overview
AICQuailVADAnalyzer is a standalone voice activity detection (VAD) analyzer powered by ai-coustics’ Quail VAD models (Quail VAD 2.0, VF VAD 2.0). Unlike the deprecated AICVADAnalyzer which relies on AICFilter’s internal VAD, this analyzer owns its own dedicated processor and can be placed anywhere in the pipeline, working independently of audio enhancement.
The analyzer reports the model’s continuous raw speech probability (range 0.0 to 1.0), which is then gated by Pipecat’s VADParams to determine speech start and stop events. This means speech detection thresholds and timing are controlled by your VADParams configuration (confidence, start_secs, stop_secs) rather than by the SDK’s internal post-processing.
To use AIC, you need a license key. Get started at ai-coustics.com.
Installation
The AIC Quail VAD analyzer requires additional dependencies:Constructor Parameters
str
required
ai-coustics SDK license key for authentication. Get your key at
developers.ai-coustics.io.
str | None
default:"\"quail-vad-2.0-xxs-16khz\""
Quail VAD model identifier. Defaults to the published standalone VAD model
"quail-vad-2.0-xxs-16khz". See
artifacts.ai-coustics.io for the
catalogue. Ignored if model_path is provided.Path | None
default:"None"
Optional path to a local
.aicmodel file. Overrides model_id when set.
Useful for offline deployments or custom models.Path | None
default:"None"
Directory for downloaded models. Defaults to
~/.cache/pipecat/aic-models.float | None
default:"None"
deprecated
Deprecated since 1.5.0. Will be removed in 2.0.0.This parameter is ignored. Speech timing is now governed by
VADParams (start_secs/stop_secs). Use those parameters instead.float | None
default:"None"
deprecated
Deprecated since 1.5.0. Will be removed in 2.0.0.This parameter is ignored. Speech timing is now governed by
VADParams (start_secs/stop_secs). Use those parameters instead.float | None
default:"None"
deprecated
Deprecated since 1.5.0. Will be removed in 2.0.0.This parameter is ignored. The speech-probability threshold is now governed by
VADParams.confidence. Use that parameter instead.int | None
default:"None"
Initial sample rate; the pipeline will set this via
set_sample_rate once the
transport rate is known.VADParams | None
default:"None"
Optional
VADParams for the base VAD state machine configuration.Usage Examples
Basic Usage
The recommended approach for AIC-powered voice detection:With Custom VAD Parameters
Fine-tune the VAD behavior usingVADParams:
VAD-Only (Without Enhancement)
Use Quail VAD without audio enhancement:Using a Local Model
For offline deployments or custom Quail VAD models:See the AIC Quail VAD
example
for a complete working example with detailed logging.
Comparison to Deprecated AICVADAnalyzer
The Quail VAD analyzer can work with or without the AIC enhancement filter, providing flexibility in your pipeline architecture.
Notes
- Requires ai-coustics license key (get one at developers.ai-coustics.io)
- Environment variable: Use
AIC_SDK_LICENSEfor authentication - Default model is
quail-vad-2.0-xxs-16khz, optimized for 16kHz audio - Model is downloaded and cached on first use
- Works independently of
AICFilter- can be used with or without audio enhancement - Provides noise-robust speech detection in challenging acoustic environments
- Handles PCM_16 audio format (int16 samples)
- Thread-safe for pipeline processing
- For available models, visit artifacts.ai-coustics.io