sherpa_onnx 2.0.0
sherpa_onnx: ^2.0.0 copied to clipboard
Speech recognition, speech synthesis, and speaker recognition using next-gen Kaldi with onnxruntime without Internet connection.
sherpa-onnx app example #
Contents #
- Pre-built Flutter apps
- VAD from file
- VAD from microphone
- VAD + ASR from file
- Zipformer CTC (Chinese)
- SenseVoice (Chinese/English/Japanese/Korean/Cantonese)
- Whisper tiny.en (English)
- NeMo Parakeet TDT v2 (English)
- NeMo Parakeet TDT v3 (25 European languages)
- Moonshine tiny (English)
- Qwen3 ASR 0.6B (multilingual)
- FunASR Nano (Chinese/English/Japanese)
- FireRed ASR CTC v2 (Chinese/English)
- VAD + ASR from microphone
- Zipformer CTC (Chinese)
- SenseVoice (Chinese/English/Japanese/Korean/Cantonese)
- Whisper tiny.en (English)
- NeMo Parakeet TDT v2 (English)
- NeMo Parakeet TDT v3 (25 European languages)
- Moonshine tiny (English)
- Qwen3 ASR 0.6B (multilingual)
- FunASR Nano (Chinese/English/Japanese)
- FireRed ASR CTC v2 (Chinese/English)
- Streaming speech recognition
- Streaming Zipformer Bilingual (Chinese/English)
- Streaming Zipformer (English)
- Streaming Zipformer WenetSpeech (Chinese)
- Streaming Zipformer (French)
- X-ASR 960ms (Chinese/English, with punctuation)
- Nemotron 3.5 ASR Streaming 560ms (multilingual)
- X-ASR 480ms (Chinese/English, with punctuation)
- Nemotron 3.5 ASR Streaming 1120ms (multilingual)
- Text to speech
- VITS Piper en_US-amy-low (English)
- VITS Piper zh_CN-xiao_ya-medium (Chinese)
- VITS Piper en_US-libritts_r-medium (English)
- VITS Inflect en-nano-v2 (English)
- Kokoro v0.19 (English)
- Kokoro v1.0 (Chinese/English)
- Matcha en_US-ljspeech (English)
- Matcha zh-en (Chinese/English)
- Kitten Nano v0.1 (English)
- PocketTTS (multilingual)
- Supertonic 3 (multilingual)
- Offline punctuation restoration
- Online punctuation restoration
- Web demos
- Flutter source code
- Pure dart-examples
Pre-built Flutter apps #
Download pre-built Flutter apps for different platforms at https://github.com/k2-fsa/sherpa-onnx/releases/tag/flutter
VAD from file #
VAD model: Silero VAD
| Platform | File |
|---|---|
| Android (arm64-v8a) | flutter-vad-from-file-arm64-v8a.apk |
| Android (armeabi-v7a) | flutter-vad-from-file-armeabi-v7a.apk |
| Android (x86_64) | flutter-vad-from-file-x86_64.apk |
| Linux (x64) | flutter-vad-from-file-linux-x64.zip |
| macOS | flutter-vad-from-file-macos.zip |
| Windows (x64) | flutter-vad-from-file-win-x64.zip |
| Web | flutter-vad-from-file-web.zip |
VAD from microphone #
VAD model: Silero VAD
| Platform | File |
|---|---|
| Android (arm64-v8a) | flutter-vad-from-microphone-arm64-v8a.apk |
| Android (armeabi-v7a) | flutter-vad-from-microphone-armeabi-v7a.apk |
| Android (x86_64) | flutter-vad-from-microphone-x86_64.apk |
| Linux (x64) | flutter-vad-from-microphone-linux-x64.zip |
| macOS | flutter-vad-from-microphone-macos.zip |
| Windows (x64) | flutter-vad-from-microphone-win-x64.zip |
| Web | flutter-vad-from-microphone-web.zip |
VAD + ASR from file #
VAD model: Silero VAD
Zipformer CTC (Chinese)
ASR model: sherpa-onnx-zipformer-ctc-zh-int8-2025-07-03 — download
SenseVoice (Chinese/English/Japanese/Korean/Cantonese)
ASR model: sherpa-onnx-sense-voice-zh-en-ja-ko-yue-2024-07-17 — download
| Platform | File |
|---|---|
| Android (arm64-v8a) | flutter-vad-non-streaming-asr-from-file-sense-voice-arm64-v8a.apk |
| Android (armeabi-v7a) | flutter-vad-non-streaming-asr-from-file-sense-voice-armeabi-v7a.apk |
| Android (x86_64) | flutter-vad-non-streaming-asr-from-file-sense-voice-x86_64.apk |
| Linux (x64) | flutter-vad-non-streaming-asr-from-file-sense-voice-linux-x64.zip |
| macOS | flutter-vad-non-streaming-asr-from-file-sense-voice-macos.zip |
| Windows (x64) | flutter-vad-non-streaming-asr-from-file-sense-voice-win-x64.zip |
| Web | flutter-vad-non-streaming-asr-from-file-sense-voice-web.zip |
Whisper tiny.en (English)
ASR model: sherpa-onnx-whisper-tiny.en — download
NeMo Parakeet TDT v2 (English)
ASR model: sherpa-onnx-nemo-parakeet-tdt-0.6b-v2-int8 — download
NeMo Parakeet TDT v3 (25 European languages)
ASR model: sherpa-onnx-nemo-parakeet-tdt-0.6b-v3-int8 — download
Moonshine tiny (English)
ASR model: sherpa-onnx-moonshine-tiny-en-quantized-2026-02-27 — download
| Platform | File |
|---|---|
| Android (arm64-v8a) | flutter-vad-non-streaming-asr-from-file-moonshine-en-arm64-v8a.apk |
| Android (armeabi-v7a) | flutter-vad-non-streaming-asr-from-file-moonshine-en-armeabi-v7a.apk |
| Android (x86_64) | flutter-vad-non-streaming-asr-from-file-moonshine-en-x86_64.apk |
| Linux (x64) | flutter-vad-non-streaming-asr-from-file-moonshine-en-linux-x64.zip |
| macOS | flutter-vad-non-streaming-asr-from-file-moonshine-en-macos.zip |
| Windows (x64) | flutter-vad-non-streaming-asr-from-file-moonshine-en-win-x64.zip |
| Web | flutter-vad-non-streaming-asr-from-file-moonshine-en-web.zip |
Qwen3 ASR 0.6B (multilingual)
ASR model: sherpa-onnx-qwen3-asr-0.6B-int8-2026-03-25 — download
FunASR Nano (Chinese/English/Japanese)
ASR model: sherpa-onnx-funasr-nano-int8-2025-12-30 — download
| Platform | File |
|---|---|
| Android (arm64-v8a) | flutter-vad-non-streaming-asr-from-file-funasr-nano-arm64-v8a.apk |
| Android (armeabi-v7a) | flutter-vad-non-streaming-asr-from-file-funasr-nano-armeabi-v7a.apk |
| Android (x86_64) | flutter-vad-non-streaming-asr-from-file-funasr-nano-x86_64.apk |
| Linux (x64) | flutter-vad-non-streaming-asr-from-file-funasr-nano-linux-x64.zip |
| macOS | flutter-vad-non-streaming-asr-from-file-funasr-nano-macos.zip |
| Windows (x64) | flutter-vad-non-streaming-asr-from-file-funasr-nano-win-x64.zip |
| Web | flutter-vad-non-streaming-asr-from-file-funasr-nano-web.zip |
FireRed ASR CTC v2 (Chinese/English)
ASR model: sherpa-onnx-fire-red-asr2-ctc-zh_en-int8-2026-02-25 — download
VAD + ASR from microphone #
VAD model: Silero VAD
Zipformer CTC (Chinese)
ASR model: sherpa-onnx-zipformer-ctc-zh-int8-2025-07-03 — download
SenseVoice (Chinese/English/Japanese/Korean/Cantonese)
ASR model: sherpa-onnx-sense-voice-zh-en-ja-ko-yue-2024-07-17 — download
Whisper tiny.en (English)
ASR model: sherpa-onnx-whisper-tiny.en — download
NeMo Parakeet TDT v2 (English)
ASR model: sherpa-onnx-nemo-parakeet-tdt-0.6b-v2-int8 — download
NeMo Parakeet TDT v3 (25 European languages)
ASR model: sherpa-onnx-nemo-parakeet-tdt-0.6b-v3-int8 — download
Moonshine tiny (English)
ASR model: sherpa-onnx-moonshine-tiny-en-quantized-2026-02-27 — download
Qwen3 ASR 0.6B (multilingual)
ASR model: sherpa-onnx-qwen3-asr-0.6B-int8-2026-03-25 — download
FunASR Nano (Chinese/English/Japanese)
ASR model: sherpa-onnx-funasr-nano-int8-2025-12-30 — download
FireRed ASR CTC v2 (Chinese/English)
ASR model: sherpa-onnx-fire-red-asr2-ctc-zh_en-int8-2026-02-25 — download
Streaming speech recognition #
Streaming Zipformer Bilingual (Chinese/English)
ASR model: sherpa-onnx-streaming-zipformer-bilingual-zh-en-2023-02-20 — download
Streaming Zipformer (English)
ASR model: sherpa-onnx-streaming-zipformer-en-2023-06-26 — download
Streaming Zipformer WenetSpeech (Chinese)
ASR model: icefall-asr-zipformer-streaming-wenetspeech-20230615 — download
Streaming Zipformer (French)
ASR model: sherpa-onnx-streaming-zipformer-fr-2023-04-14 — download
X-ASR 960ms (Chinese/English, with punctuation)
ASR model: sherpa-onnx-x-asr-960ms-streaming-zipformer-transducer-zh-en-punct-int8-2026-06-05 — download
Nemotron 3.5 ASR Streaming 560ms (multilingual)
ASR model: sherpa-onnx-nemotron-3.5-asr-streaming-0.6b-560ms-int8-2026-06-11 — download
X-ASR 480ms (Chinese/English, with punctuation)
ASR model: sherpa-onnx-x-asr-480ms-streaming-zipformer-transducer-zh-en-punct-int8-2026-06-05 — download
Nemotron 3.5 ASR Streaming 1120ms (multilingual)
ASR model: sherpa-onnx-nemotron-3.5-asr-streaming-0.6b-1120ms-int8-2026-06-11 — download
Text to speech #
VITS Piper en_US-amy-low (English)
TTS model: vits-piper-en_US-amy-low — download
| Platform | File |
|---|---|
| Android (arm64-v8a) | flutter-tts-vits-piper-en_US-amy-low-arm64-v8a.apk |
| Android (armeabi-v7a) | flutter-tts-vits-piper-en_US-amy-low-armeabi-v7a.apk |
| Android (x86_64) | flutter-tts-vits-piper-en_US-amy-low-x86_64.apk |
| Linux (x64) | flutter-tts-vits-piper-en_US-amy-low-linux-x64.zip |
| macOS | flutter-tts-vits-piper-en_US-amy-low-macos.zip |
| Windows (x64) | flutter-tts-vits-piper-en_US-amy-low-win-x64.zip |
| Web | flutter-tts-vits-piper-en_US-amy-low-web.zip |
VITS Piper zh_CN-xiao_ya-medium (Chinese)
TTS model: vits-piper-zh_CN-xiao_ya-medium — download
| Platform | File |
|---|---|
| Android (arm64-v8a) | flutter-tts-vits-piper-zh_CN-xiao_ya-medium-arm64-v8a.apk |
| Android (armeabi-v7a) | flutter-tts-vits-piper-zh_CN-xiao_ya-medium-armeabi-v7a.apk |
| Android (x86_64) | flutter-tts-vits-piper-zh_CN-xiao_ya-medium-x86_64.apk |
| Linux (x64) | flutter-tts-vits-piper-zh_CN-xiao_ya-medium-linux-x64.zip |
| macOS | flutter-tts-vits-piper-zh_CN-xiao_ya-medium-macos.zip |
| Windows (x64) | flutter-tts-vits-piper-zh_CN-xiao_ya-medium-win-x64.zip |
| Web | flutter-tts-vits-piper-zh_CN-xiao_ya-medium-web.zip |
VITS Piper en_US-libritts_r-medium (English)
TTS model: vits-piper-en_US-libritts_r-medium — download
| Platform | File |
|---|---|
| Android (arm64-v8a) | flutter-tts-vits-piper-en_US-libritts_r-medium-arm64-v8a.apk |
| Android (armeabi-v7a) | flutter-tts-vits-piper-en_US-libritts_r-medium-armeabi-v7a.apk |
| Android (x86_64) | flutter-tts-vits-piper-en_US-libritts_r-medium-x86_64.apk |
| Linux (x64) | flutter-tts-vits-piper-en_US-libritts_r-medium-linux-x64.zip |
| macOS | flutter-tts-vits-piper-en_US-libritts_r-medium-macos.zip |
| Windows (x64) | flutter-tts-vits-piper-en_US-libritts_r-medium-win-x64.zip |
| Web | flutter-tts-vits-piper-en_US-libritts_r-medium-web.zip |
VITS Inflect en-nano-v2 (English)
TTS model: vits-inflect-en-nano-v2 — download
| Platform | File |
|---|---|
| Android (arm64-v8a) | flutter-tts-vits-inflect-en-nano-v2-arm64-v8a.apk |
| Android (armeabi-v7a) | flutter-tts-vits-inflect-en-nano-v2-armeabi-v7a.apk |
| Android (x86_64) | flutter-tts-vits-inflect-en-nano-v2-x86_64.apk |
| Linux (x64) | flutter-tts-vits-inflect-en-nano-v2-linux-x64.zip |
| macOS | flutter-tts-vits-inflect-en-nano-v2-macos.zip |
| Windows (x64) | flutter-tts-vits-inflect-en-nano-v2-win-x64.zip |
| Web | flutter-tts-vits-inflect-en-nano-v2-web.zip |
Kokoro v0.19 (English)
TTS model: kokoro-int8-en-v0_19 — download
| Platform | File |
|---|---|
| Android (arm64-v8a) | flutter-tts-kokoro-int8-en-v0_19-arm64-v8a.apk |
| Android (armeabi-v7a) | flutter-tts-kokoro-int8-en-v0_19-armeabi-v7a.apk |
| Android (x86_64) | flutter-tts-kokoro-int8-en-v0_19-x86_64.apk |
| Linux (x64) | flutter-tts-kokoro-int8-en-v0_19-linux-x64.zip |
| macOS | flutter-tts-kokoro-int8-en-v0_19-macos.zip |
| Windows (x64) | flutter-tts-kokoro-int8-en-v0_19-win-x64.zip |
| Web | flutter-tts-kokoro-int8-en-v0_19-web.zip |
Kokoro v1.0 (Chinese/English)
TTS model: kokoro-multi-lang-v1_0 — download
| Platform | File |
|---|---|
| Android (arm64-v8a) | flutter-tts-kokoro-multi-lang-v1_0-arm64-v8a.apk |
| Android (armeabi-v7a) | flutter-tts-kokoro-multi-lang-v1_0-armeabi-v7a.apk |
| Android (x86_64) | flutter-tts-kokoro-multi-lang-v1_0-x86_64.apk |
| Linux (x64) | flutter-tts-kokoro-multi-lang-v1_0-linux-x64.zip |
| macOS | flutter-tts-kokoro-multi-lang-v1_0-macos.zip |
| Windows (x64) | flutter-tts-kokoro-multi-lang-v1_0-win-x64.zip |
| Web | flutter-tts-kokoro-multi-lang-v1_0-web.zip |
Matcha en_US-ljspeech (English)
TTS model: matcha-icefall-en_US-ljspeech — download
| Platform | File |
|---|---|
| Android (arm64-v8a) | flutter-tts-matcha-icefall-en_US-ljspeech-arm64-v8a.apk |
| Android (armeabi-v7a) | flutter-tts-matcha-icefall-en_US-ljspeech-armeabi-v7a.apk |
| Android (x86_64) | flutter-tts-matcha-icefall-en_US-ljspeech-x86_64.apk |
| Linux (x64) | flutter-tts-matcha-icefall-en_US-ljspeech-linux-x64.zip |
| macOS | flutter-tts-matcha-icefall-en_US-ljspeech-macos.zip |
| Windows (x64) | flutter-tts-matcha-icefall-en_US-ljspeech-win-x64.zip |
| Web | flutter-tts-matcha-icefall-en_US-ljspeech-web.zip |
Matcha zh-en (Chinese/English)
TTS model: matcha-icefall-zh-en — download
| Platform | File |
|---|---|
| Android (arm64-v8a) | flutter-tts-matcha-icefall-zh-en-arm64-v8a.apk |
| Android (armeabi-v7a) | flutter-tts-matcha-icefall-zh-en-armeabi-v7a.apk |
| Android (x86_64) | flutter-tts-matcha-icefall-zh-en-x86_64.apk |
| Linux (x64) | flutter-tts-matcha-icefall-zh-en-linux-x64.zip |
| macOS | flutter-tts-matcha-icefall-zh-en-macos.zip |
| Windows (x64) | flutter-tts-matcha-icefall-zh-en-win-x64.zip |
| Web | flutter-tts-matcha-icefall-zh-en-web.zip |
Kitten Nano v0.1 (English)
TTS model: kitten-nano-en-v0_1-fp16 — download
| Platform | File |
|---|---|
| Android (arm64-v8a) | flutter-tts-kitten-nano-en-v0_1-fp16-arm64-v8a.apk |
| Android (armeabi-v7a) | flutter-tts-kitten-nano-en-v0_1-fp16-armeabi-v7a.apk |
| Android (x86_64) | flutter-tts-kitten-nano-en-v0_1-fp16-x86_64.apk |
| Linux (x64) | flutter-tts-kitten-nano-en-v0_1-fp16-linux-x64.zip |
| macOS | flutter-tts-kitten-nano-en-v0_1-fp16-macos.zip |
| Windows (x64) | flutter-tts-kitten-nano-en-v0_1-fp16-win-x64.zip |
| Web | flutter-tts-kitten-nano-en-v0_1-fp16-web.zip |
PocketTTS (multilingual)
TTS model: sherpa-onnx-pocket-tts-int8-2026-01-26 — download
| Platform | File |
|---|---|
| Android (arm64-v8a) | flutter-tts-sherpa-onnx-pocket-tts-int8-2026-01-26-arm64-v8a.apk |
| Android (armeabi-v7a) | flutter-tts-sherpa-onnx-pocket-tts-int8-2026-01-26-armeabi-v7a.apk |
| Android (x86_64) | flutter-tts-sherpa-onnx-pocket-tts-int8-2026-01-26-x86_64.apk |
| Linux (x64) | flutter-tts-sherpa-onnx-pocket-tts-int8-2026-01-26-linux-x64.zip |
| macOS | flutter-tts-sherpa-onnx-pocket-tts-int8-2026-01-26-macos.zip |
| Windows (x64) | flutter-tts-sherpa-onnx-pocket-tts-int8-2026-01-26-win-x64.zip |
| Web | flutter-tts-sherpa-onnx-pocket-tts-int8-2026-01-26-web.zip |
Supertonic 3 (multilingual)
TTS model: sherpa-onnx-supertonic-3-tts-int8-2026-05-11 — download
Offline punctuation restoration #
| Platform | File |
|---|---|
| Android (arm64-v8a) | flutter-offline-punctuation-arm64-v8a.apk |
| Android (armeabi-v7a) | flutter-offline-punctuation-armeabi-v7a.apk |
| Android (x86_64) | flutter-offline-punctuation-x86_64.apk |
| Linux (x64) | flutter-offline-punctuation-linux-x64.zip |
| macOS | flutter-offline-punctuation-macos.zip |
| Windows (x64) | flutter-offline-punctuation-win-x64.zip |
| Web | flutter-offline-punctuation-web.zip |
Online punctuation restoration #
| Platform | File |
|---|---|
| Android (arm64-v8a) | flutter-online-punctuation-arm64-v8a.apk |
| Android (armeabi-v7a) | flutter-online-punctuation-armeabi-v7a.apk |
| Android (x86_64) | flutter-online-punctuation-x86_64.apk |
| Linux (x64) | flutter-online-punctuation-linux-x64.zip |
| macOS | flutter-online-punctuation-macos.zip |
| Windows (x64) | flutter-online-punctuation-win-x64.zip |
| Web | flutter-online-punctuation-web.zip |
Web demos #
Try the following demos directly in your browser:
| Demo | URL |
|---|---|
| VAD from file | https://modelscope.cn/studios/csukuangfj/wasm-vad-from-file |
| VAD from microphone | https://modelscope.cn/studios/csukuangfj/wasm-vad-from-microphone |
| Offline punctuation restoration | https://modelscope.cn/studios/csukuangfj/wasm-offline-punctuation |
| Online punctuation restoration | https://modelscope.cn/studios/csukuangfj/wasm-online-punctuation |
Flutter source code #
| Functions | URL | Supported Platforms |
|---|---|---|
| Hello world (version info) | Address | Android, iOS, Linux, macOS, Windows, Web |
| Streaming speech recognition | Address | Android, iOS, Linux, macOS, Windows |
| Non-streaming VAD + speech recognition | Address | Android, iOS, Linux, macOS, Windows |
| Text to speech | Address | Android, iOS, Linux, macOS, Windows, Web |
| VAD from file | Address | Android, iOS, Linux, macOS, Windows, Web |
| VAD + ASR from file | Address | Android, iOS, Linux, macOS, Windows, Web |
| VAD + ASR from microphone | Address | Android, iOS, Linux, macOS, Windows, Web |
| VAD from microphone | Address | Android, iOS, Linux, macOS, Windows, Web |
| Offline punctuation restoration | Address | Android, iOS, Linux, macOS, Windows, Web |
| Online punctuation restoration | Address | Android, iOS, Linux, macOS, Windows, Web |
Pure dart-examples #
Hint: All of the following functions can be used in Flutter, even if some of them are only provided in pure dart api examples.
| Functions | URL | Supported Platforms |
|---|---|---|
| Streaming speech recognition | Address | macOS, Windows, Linux |
| Non-Streaming speech recognition | Address | macOS, Windows, Linux |
| Text to speech | Address | macOS, Windows, Linux |
| Voice activity detection (VAD) | Address | macOS, Windows, Linux |
| VAD with non-streaming speech recognition | Address | macOS, Windows, Linux |
| Speaker identification and verification | Address | macOS, Windows, Linux |
| Speaker diarization | Address | macOS, Windows, Linux |
| Audio tagging | Address | macOS, Windows, Linux |
| Keyword spotter | Address | macOS, Windows, Linux |
| Spoken language identification | Address | macOS, Windows, Linux |
| Add punctuations | Address | macOS, Windows, Linux |
| Speech enhancement (GTCRN) | Address | macOS, Windows, Linux |
| Speech enhancement (DPDFNet) | Address | macOS, Windows, Linux |
| Streaming speech enhancement (GTCRN) | Address | macOS, Windows, Linux |
| Streaming speech enhancement (DPDFNet) | Address | macOS, Windows, Linux |