This library runs voice activity detection in the browser so you can request mic access, segment speech audio, and trigger callbacks in a few lines of code.
Overview
The package delivers browser-based voice activity detection with a small API surface. It is meant for prompting users for microphone permission, recording audio, sending speech segments to a server, or showing UI when the user is talking.
Implementation runs Silero VAD through ONNX Runtime Web (and ONNX Runtime Node.js for Node contexts). Documentation covers use via script tags, bundlers, Node, and React on the project docs site.
A landing page hosts a live demo. The same project supports integrating speech-segment callbacks into web, Node, or React applications as described in the published guides.
Sponsorship is requested for ongoing maintenance, but the core goal remains an accurate, approachable VAD usable directly in client-side JavaScript.
Key features
- Browser microphone speech segmentation
- Callback-driven speech segments
- Silero VAD via ONNX Runtime
- Script tag and bundler usage
- Node and React integration docs
- Live demo on project site
Use cases
- Streaming speech chunks to a server
- Speech UI indicators in web apps
- Browser speech-to-text preprocessing
- Hands-free voice interaction prototypes