The Latest AIs, every day
AIs with the most favorites on Toolify
AIs with the highest website traffic (monthly visits)
AI Tools by Apps
Discover the Discord of AI
AI Tools by browser extensions
GPTs from GPT Store
Discover The Best Model For AI
Top AI lists by month and monthly visits.
Top AI lists by category and monthly visits.
Top AI lists by region and monthly visits.
Top AI lists by source and monthly visits.
Top AI lists by revenue and real traffic.

A Low-Latency, Lightweight and High-Performance Streaming VAD
TEN VAD is a real-time voice activity detection system designed for enterprise use, providing accurate frame-level speech activity detection. It shows superior precision compared to both WebRTC VAD and Silero VAD, which are commonly used in the industry. Additionally, TEN VAD offers lower computational complexity and reduced memory usage compared to Silero VAD. Meanwhile, the architecture's temporal efficiency enables rapid voice activity detection, significantly reducing end-to-end response and turn detection latency in conversational AI systems.
The precision-recall curves comparing the performance of WebRTC VAD (pitch-based), Silero VAD, and TEN VAD are shown below. The evaluation is conducted on the precisely manually annotated testset. The audio files are from librispeech, gigaspeech, DNS Challenge etc. As demonstrated, TEN VAD achieves the best performance. Additionally, cross-validation experiments conducted on large internal real-world datasets demonstrate the reproducibility of these findings. The testset with annotated labels is released in directory "testset" of this repository.
Note that the default threshold of 0.5 is used to generate binary speech indicators (0 for non-speech signal, 1 for speech signal). This threshold needs to be tuned according to your domain-specific task. The precision-recall curve can be obtained by executing the following script on Linux x64. The output figure will be saved in the same directory as the script.
cd ./examples
python plot_pr_curves.py
As illustrated in the figure below, TEN VAD rapidly detects speech-to-non-speech transitions, whereas Silero VAD suffers from a delay of several hundred milliseconds, resulting in increased end-to-end latency in human-agent interaction systems. In addition, as demonstrated in the 6.5s-7.0s audio segment, Silero VAD fails to identify short silent durations between adjacent speech segments.
We evaluated the RTF (Real-Time Factor) across five distinct platforms, each equipped with varying CPUs. TEN VAD demonstrates much lower computational complexity and smaller library size than Silero VAD.
| Platform | CPU | RTF | Lib Size | ||
|---|---|---|---|---|---|
| TEN VAD | Silero VAD | TEN VAD | Silero VAD | ||
| Linux | AMD Ryzen 9 5900X 12-Core | 0.0150 | / | 306KB | 2.16MB(JIT) / 2.22MB(ONNX) |
| Intel(R) Xeon(R) Platinum 8253 | 0.0136 | ||||
| Intel(R) Xeon(R) Gold 6348 CPU @ 2.60GHz | 0.0086 | 0.0127 | |||
| Windows | Intel i7-10710U | 0.0150 | / | 464KB(x86) / 508KB(x64) | |
| macOS | M1 | 0.0160 | 731KB | ||
| Android | Galaxy J6+ (32bit, 425) | 0.0570 | 373KB(v7a) / 532KB(v8a) | ||
| Oppo A3s (450) | 0.0490 | ||||
| iOS | iPhone6 (A8) | 0.0210 | 320KB | ||
| iPhone8 (A11) | 0.0050 |
TEN VAD provides cross-platform C compatibility across five operating systems (Linux x64, Windows, macOS, Android, iOS), with Python bindings optimized for Linux x64.
TEN VAD operates on 16kHz audio input with configurable hop sizes (optimized frame configurations: 160/256 samples=10/16ms). Other sampling rates must be resampled to 16kHz.
git clone https://huggingface.co/TEN-framework/ten-vad
The project supports five major platforms with dynamic library linking.
| Platform | Dynamic Lib | Supported Arch | Interface Language | Header | Comment |
|---|---|---|---|---|---|
| Linux | libten_vad.so | x64 | Python, C |
ten_vad.h
ten_vad.py |
|
| Windows | ten_vad.dll | x64, x86 | C | ||
| macOS | ten_vad.framework | arm64, x86_64 | C | ||
| Android | libten_vad.so | arm64-v8a, armeabi-v7a | C | ||
| iOS | ten_vad.framework | arm64 | C |
1. not simulator
2. not iPad |
numpy (Version 1.17.4/1.26.4 verified)
scipy (Version 1.4.1/1.13.1 verified)
scikit-learn (Version 1.2.2/1.5.0 verified, for plotting PR curves)
matplotlib (Version 3.1.3/3.10.0 verified, for plotting PR curves)
torchaudio (Version 2.2.2 verified, for plotting PR curves)
Python version 3.8.19/3.10.14 verified
Note: You could use other versions of above packages, but we didn't test other versions.
The lib only depends on numpy, you have to install the dependency via requirements.txt:
pip install -r requirements.txt
For running demo or plotting PR curves , you have to install the dependencies:
pip install -r ./examples/requirements.txt
Note: For usage in python, you can either use it by git clone or pip .
git clone https://huggingface.co/TEN-framework/ten-vad
cd ./examples
python test.py s0724-s0730.wav out.txt
pip install -U --force-reinstall -v git+https://github.com/TEN-framework/ten-vad.git
from ten_vad import TenVad
Located in examples/ directory:
Runtime library path configuration:
The detailed usage methods of each platform are as follows
1) cd ./examples
2) ./build-and-deploy-linux.sh
1) cd ./examples
2) Configure "build-and-deploy-windows.bat" with your preferred:
- Architecture (default: x64)
- Visual Studio version (default: 2019)
3) ./build-and-deploy-windows.bat
1) cd ./examples
2) Configure "build-and-deploy-mac.sh" with your target architecture:
- Default: arm64 (Apple Silicon)
- Alternative: x86_64 (Intel)
3) ./build-and-deploy-mac.sh
1) cd ./examples
2) export ANDROID_NDK=/path/to/android-ndk # Replace it with your NDK installation path
3) Configure "build-and-deploy-android.sh" with your build settings:
- Architecture: arm64-v8a (default) or armeabi-v7a
- Toolchain: aarch64-linux-android-clang (default) or custom NDK toolchain
4) ./build-and-deploy-android.sh
Xcode (15.2, macOS verified) CMake (3.19.2, macOS verified)
cd ./examples
./build-and-deploy-ios.sh
Follow the steps below to build and test on iOS device:
3.1. Use Xcode to open .xcodeproj files: a) cd ./build-ios, b) open ./ten_vad_demo.xcodeproj
3.2. In Xcode IDE, select ten_vad_demo target (should check: Edit Scheme → Run → Release), then select your iOS Device (not simulator).
3.3. Drag ten_vad/lib/iOS/ten_vad.framework to "Frameworks, Libraries, and Embedded Content"
(in TARGETS → ten_vad_demo → ten_vad_demo → General, should set Embed to "Embed & Sign").
or add it directly in this way: "Frameworks, Libraries, and Embedded Content" → "+" → Add Other... → Add Files →...
Note: If this step is not completed, you may encounter the following runtime error: "dyld: Library not loaded: @rpath/ten_vad.framework/ten_vad".
3.4. Configure iOS device Signature
in TARGETS → ten_vad_demo → Signing & Capabilities → Signing
Modify Bundle Identifier: modify "com.yourcompany" to yours;
Specify Provisioning Profile
In TARGETS → ten_vad_demo → Build Settings → Signing → Code Signing Identity:
3.5. Build in Xcode and run demo on your device.
@misc{TEN VAD,
author = {TEN Team},
title = {TEN VAD: A Low-Latency, Lightweight and High-Performance Streaming Voice Activity Detector (VAD)},
year = {2025},
publisher = {GitHub},
journal = {GitHub repository},
howpublished = {https://github.com/TEN-framework/ten-vad.git},
commit = {insert_some_commit_here},
email = {[email protected]}
}
This project is Apache 2.0 licensed.
ten-vad huggingface.co is an AI model on huggingface.co that provides ten-vad's model effect (), which can be used instantly with this TEN-framework ten-vad model. huggingface.co supports a free trial of the ten-vad model, and also provides paid use of the ten-vad. Support call ten-vad model through api, including Node.js, Python, http.
ten-vad huggingface.co is an online trial and call api platform, which integrates ten-vad's modeling effects, including api services, and provides a free online trial of ten-vad, you can try ten-vad online for free by clicking the link below.
ten-vad is an open source model from GitHub that offers a free installation service, and any user can find ten-vad on GitHub to install. At the same time, huggingface.co provides the effect of ten-vad install, users can directly use ten-vad installed effect in huggingface.co for debugging and trial. It also supports api for free installation.
