RepositoryC++
K2

k2-fsa/sherpa-ncnn

Real-time speech recognition and voice activity detection (VAD) using next-gen Kaldi with ncnn without Internet connection. Support iOS, Android, Linux, macOS, Windows, Raspberry Pi, VisionFive2, LicheePi4A etc.

1.8kstars
223forks
60issues
10views

Featured achievements

The project's latest awards

2
TINIX TRENDING·Topic: vad

#2 Repository of the week

9
TINIX TRENDING·Topic: voice-activity-detection

#9 Repository of the week

2
TINIX TRENDING·Topic: vad

#2 Repository of the week

Supported functions

Real-time Speech recognitionSpeech synthesisVoice activity detection
✔️✔️✔️

Supported platforms

ArchitectureAndroidiOSWindowsmacOSlinux
x64✔️✔️✔️✔️
x86✔️✔️
arm64✔️✔️✔️✔️✔️
arm32✔️✔️
riscv64✔️

Supported programming languages

1. C++2. C3. Python4. JavaScript
✔️✔️✔️✔️
5. Go6. C#7. Kotlin8. Swift
✔️✔️✔️✔️

It also supports WebAssembly.

Introduction

This repository supports running the following functions locally

  • Streaming speech-to-text (i.e., real-time speech recognition)
  • Text to speech (e.g., vits models from piper)
  • VAD (e.g., silero-vad)

on the following platforms and operating systems:

with the following APIs

  • C++, C, Python, Go, C#
  • Kotlin
  • JavaScript
  • Swift

We support all platforms that ncnn supports.

Everything can be compiled from source with static link. The generated executable depends only on system libraries.

HINT: It does not depend on PyTorch or any other inference frameworks other than ncnn.

Please see the documentation https://k2-fsa.github.io/sherpa/ncnn/index.html for installation and usages, e.g.,

  • How to build an Android app
  • How to download and use pre-trained models

We provide a few YouTube videos for demonstration about real-time speech recognition with sherpa-ncnn using a microphone:

DescriptionURL
Streaming speech recognitionAddress

https://github.com/k2-fsa/sherpa-ncnn/releases/tag/models

How to reach us

Please see https://k2-fsa.github.io/sherpa/social-groups.html for 新一代 Kaldi 微信交流群 and QQ 交流群.

See also

Similar Projects

Discover other similar projects and AI models.

RepositoryPython
modelscope/FunASR

Open-source speech recognition toolkit for training, inference, streaming ASR, VAD, punctuation, speaker diarization pipelines, and OpenAI-compatible/MCP serving.

21.2k
Nov 27, 2026
Modelvoice-activity-detection
inworld/sava

SAVA Semantic acoustic voice activity: streaming speech and end-of-turn detection in one model with an open license. --- TL;DR SAVA returns two probabilities for a live audio stream: speech → whether a frame holds speech turn → whether the speaker's...

♥0
2.5k
Nov 14, 2026
Modelvoice-activity-detection
FireRedTeam/FireRedVAD

FireRedVAD: A SOTA Industrial-Grade Voice Activity Detection & Audio Event Detection Paper(https://huggingface.co/papers/2603.10420) Code(https://github.com/FireRedTeam/FireRedVAD) HuggingFace(https://huggingface.co/FireRedTeam/FireRedVAD) ModelScop...

♥0
2.0k
Mar 13, 2026
RepositoryPython
practical-tutorials/project-based-learning

Curated list of project-based tutorials

290.9k
Nov 30, 2026
RepositoryJavaScript
CyC2018/CS-Notes

:books: 技术面试必备基础知识、Leetcode、计算机操作系统、计算机网络、系统设计

186.6k
Nov 27, 2026
RepositoryPython
huggingface/transformers

🤗 Transformers: the model-definition framework for state-of-the-art machine learning models in text, vision, audio, and multimodal models, for both inference and training.

169.5k
Dec 1, 2026
RepositoryPython
Significant-Gravitas/AutoGPT

AutoGPT is the vision of accessible AI for everyone, to use and to build on. Our mission is to provide the tools, so that you can focus on what matters.

188.2k
Nov 29, 2026
RepositoryPython
harry0703/MoneyPrinterTurbo

利用 AI 大模型和自动化工作流,根据主题或关键词一键生成高清短视频。Generate HD short videos from a topic or keyword with an automated AI workflow.

147.3k
Dec 1, 2026
RepositoryC++
huihut/interview

📚 C/C++ 技术面试基础知识总结,包括语言、程序库、数据结构、算法、系统、网络、链接装载库等知识及面试经验、招聘、内推等信息。This repository is a summary of the basic knowledge of recruiting job seekers and beginners in the direction of C/C++ technology, including language, program library, data structure, algorithm, system, network, link loading library, interview experience, recruitment, recommendation, etc.

38.3k
Sep 17, 2026