Community-maintained integration. This service is built and maintained by edbrdi. Pipecat does not test or officially support it. Please report issues and request changes on the source repository. Learn more about community integrations.
Overview
AlkoveVADAnalyzer is a Pipecat VADAnalyzer implementation backed by Cue,
the speech detection model of Alkove, an open-source
(Apache-2.0) voice SDK. It gives a speech probability every 30 ms, at any input
rate, and is a drop-in alternative to Pipecat’s built-in SileroVADAnalyzer.
It runs locally on the CPU with Alkove’s own inference engine: no API key and
no network calls after the model download.
Behind AlkoveFilter,
which removes the other voices and the noise, it hears only the user.
Source Repository
Code, example and README of the Pipecat plugin
PyPI Package
The
pipecat-alkove package on PyPIInstallation
This is a community-maintained package distributed separately frompipecat-ai:
Prerequisites
- No API key. The models (Focus 1.1 MB, Cue 1.1 MB) download once into the cache and are checked by their sha256, when the analyzer is created.
Configuration
VADParams | None
default:"VADParams(confidence=0.5)"
Pipecat’s VAD parameters. Cue was tuned with a confidence of 0.5, so that is
its default; the other values stay Pipecat’s (
stop_secs 0.2 s, for Smart
Turn).int | None
default:"None"
Input sample rate.
None takes the transport’s.alkove.Models | None
default:"None"
Models to use.
None loads Focus and Cue once per process, shared by every
session.Usage
Give the analyzer to your user aggregator, as you would Silero’s:VADProcessor;
example.py
runs it on your microphone and prints when you speak.