Repository navigation
Releases
v2.0.3
What's Changed
- wespeaker: remove the no-op Pad before AveragePool in CAM++ models (#4201) by @developper89 in #4241
- Cluster only embeddings with enough clean speech in speaker diarization by @Jamarlli in #4240
- Fix publishing nuget packages by @csukuangfj in #4243
- TTS engine: make the Pali engine work as the system TTS by @dhammagift in #4242
- Add CreateStream() and Process(stream) to OfflineSpeakerDiarization by @Jamarlli in #4244
- Expose Whisper lang and lang_probs on Rust OfflineRecognizerResult by @matiaslin in #4245
- Update PocketTTS model README license note (CC-BY-4.0, not non-commercial) by @linzch3 in #4250
- Export w2v-BERT 2.0 CTC models to ONNX by @graehl in #4248
- Update piper phonemize in examples to v1.6.1 by @csukuangfj in #4264
- Fix building node-addon package for linux x64. by @csukuangfj in #4275
- Release v2.0.3 by @csukuangfj in #4277
New Contributors
- @Jamarlli made their first contribution in #4240
- @linzch3 made their first contribution in #4250
- @graehl made their first contribution in #4248
Full Changelog: v2.0.2...v2.0.3
v2.0.2
What's Changed
- Fix modified_beam_search dropping speech for NeMo TDT models by @Hugo0 in #4084
- Support per-stream language candidates for Whisper by @Ngoroth in #4093
- Add an optional QNN HTP performance mode by @matiaslin in #4117
- Support VoxLock 1.2 models in the speech denoisers by @arbazsiddiqui in #4120
- Add Node.js source separation APIs for Spleeter and UVR by @nexmoe in #4122
- Add multi-channel wave IO to the Node.js and HarmonyOS APIs by @csukuangfj in #4124
- Pass sherpa-onnx-offline --length-reward to the stream unchanged by @Hugo0 in #4123
- Keep online result tokens in sync when dropping leading punctuation by @JulianPscheid in #4121
- Expose QnnConfig in Java/Kotlin bindings for all QNN-capable models by @matiaslin in #4126
- Refactor getting array element length for node-addon by @csukuangfj in #4129
- Fix issues reported by clang-tidy and clang-format by @csukuangfj in #4130
- Avoid removing spaces for Korean ASR results by @csukuangfj in #4132
- Refactor the parsing macro for node-addon. by @csukuangfj in #4134
- Fix Python tests for Windows by @csukuangfj in #4135
- Reduce CI test runtime for the xcframework. by @csukuangfj in #4137
- Refactor Python tests to cut down CI runtime by @csukuangfj in #4136
- Add C-API SetVoiceSample for VoxLock PCM enroll by @XDcobra in #4151
- Add a streaming T-one CTC example for the Rust API by @Anmol2059 in #4156
- Run the clang-tidy CI job on ubuntu-24.04 by @zachsplat in #4158
- Add streaming Paraformer example for the Rust API by @Anmol2059 in #4155
- Fix endpointing for streaming T-one by @Anmol2059 in #4157
- Fix VAD Flush dropping samples that wait for a full window by @ANDROIDHASSAN in #4147
- Fix crash on iOS due to symbol resolution. by @csukuangfj in #4162
- Add export scripts for Parakeet Ultra by @danielxxomg in #4163
- Add Outmake to 'Projects using sherpa-onnx' by @DaneBentley in #4033
- Add model cards for the Parakeet TDT packages by @danielxxomg in #4167
- Add export scripts for Parakeet Redux by @danielxxomg in #4168
- Include source-separation-models in checksum workflow by @XDcobra in #4180
- Fix Create checksum workflow: replace deleted thewh1teagle/checksum action by @XDcobra in #4181
- Fix exporting NeMo models. by @csukuangfj in #4188
- Add forced alignment by @csukuangfj in #4190
- Add AXERA AX650 export pipeline for the X-ASR zipformer transducer (offline + streaming) by @yuyun2000 in #4185
- Replace dead hf.qhduan.com mirror links with huggingface.co by @Hisernberg in #4183
- Keep depthwise and subsampling convs of Parakeet Ultra in float32 when quantizing to int8 by @ceoptrsltd in #4179
- Add BAXY to 'Projects using sherpa-onnx' by @REDSOULTM in #4169
- Expose Whisper language ID probability distribution on OfflineRecognitionResult by @matiaslin in #4143
- Fix for MedASR by @csukuangfj in #4192
- Add a MedASR CTC example for the Rust API by @losewayy in #4194
- Upload forced alignment models for English by @csukuangfj in #4195
- Add Python API for forced alignment by @csukuangfj in #4196
- Add a TeleSpeech CTC example for the Rust API by @losewayy in #4197
- Add 'language' as a per-stream override for Whisper OfflineRecognizer by @matiaslin in #4189
- Fix buffered streaming for NeMo Parakeet Unified by @JulianPscheid in #4133
- Add Java and Kotlin API for forced alignment by @csukuangfj in #4199
- Add C API and CXX API for forced alignment by @csukuangfj in #4207
- Make max tokens per second for whisper configurable by @csukuangfj in #4211
- Add JavaScript (WebAssembly) API for forced alignment by @csukuangfj in #4210
- Refactor C API by @csukuangfj in #4212
- Add Android demo for forced alignment by @csukuangfj in #4208
- Update README to include forced alignment by @csukuangfj in #4213
- Update README by @csukuangfj in #4216
- Add Tomoru to 'Projects using sherpa-onnx' by @ACAne0320 in #4217
- Refactor CI by @csukuangfj in #4218
- Add an Omnilingual ASR CTC example for the Rust API by @SayokoAkiike in #4215
- Add JavaScript (node-addon) API for forced alignment by @csukuangfj in #4214
- Add pull request template by @csukuangfj in #4220
- Resolve each lexicon entry against the model directory. by @csukuangfj in #4222
- Add Pali (pi) to the TTS APKs: hi_IN-pratham-medium with a lexicon (#4020) by @dhammagift in #4203
- Add Web demo for forced alignment with React by @csukuangfj in #4221
- Keep Whisper and FireRedASR CUDA caches when using provider config files by @Qing7364 in #4160
- Fix keyword acoustic-threshold check to use the matched tokens by @kyo-zzz in #3998
- Refactor Python API for forced alignment result by @csukuangfj in #4225
- Guard EncodeHotwords against a null bpe_encoder by @paoloantinori in #4224
- Add Rust API for forced alignment by @csukuangfj in #4226
- Add Swift API for forced alignment by @csukuangfj in #4227
- Add hyprvoice to Projects using sherpa-onnx by @mainliufeng in #4236
- Add C# API for forced alignment by @csukuangfj in #4229
- Add Pascal API for forced alignment by @csukuangfj in #4231
- Add Go API for forced alignment by @csukuangfj in #4228
- Add Dart API for forced alignment by @csukuangfj in #4232
- Accept hotwords given as tokens from tokens.txt by @Hugo0 in #4088
- 3dspeaker: export CAM++ segment pooling with count_include_pad=False (fixes #4201) by @developper89 in #4237
- Fix 3D-Speaker export by @csukuangfj in #4239
- Release v2.0.2 by @csukuangfj in #4238
New Contributors
- @Hugo0 made their first contribution in #4084
- @Ngoroth made their first contribution in #4093
- @nexmoe made their first contribution in #4122
- @Anmol2059 made their first contribution in #4156
- @zachsplat made their first contribution in #4158
- @danielxxomg made their first contribution in #4163
- @DaneBentley made their first contribution in #4033
- @yuyun2000 made their first contribution in #4185
- @Hisernberg made their first contribution in #4183
- @ceoptrsltd made their first contribution in #4179
- @REDSOULTM made their first contribution in #4169
- @ACAne0320 made their first contribution in #4217
- @SayokoAkiike made their first contribution in #4215
- @dhammagift made their first contribution in #4203
- @Qing7364 made their first contribution in https://github.com/k2-fs...
react-fa
Static web apps (WASM) for the sherpa-onnx forced-alignment web app.
One app per model — unzip and serve the directory with any static
HTTP server.
See https://github.com/k2-fsa/sherpa-onnx/blob/master/scripts/mfa/web.md
for a description of each file.
apk-fa
APKs for the sherpa-onnx forced-alignment Android app.
See https://github.com/k2-fsa/sherpa-onnx/blob/master/scripts/mfa/android.md
for a description of each APK.
Forced alignment (fa) models
Acoustic models and pronunciation dictionaries for forced alignment with
sherpa-onnx — English
(english_mfa v2.2.1 / v3.0.0 / v3.1.0) and Chinese
(aishell3_pinyin / biaobei_pinyin / large_pinyin).
Models, sources, package contents and usage are documented in
scripts/mfa/README.md.
Android
Want to run these models on an Android phone or tablet? Download the
pre-built APKs of the forced-alignment Android app (one APK per model and
ABI) from the
apk-fa release —
scripts/mfa/android.md
describes which APK to pick and what the app does.
v2.0.1
What's Changed
- Fix publishing flutter packages by @csukuangfj in #4091
- Fix decoder positions of generated tokens in Canary greedy search by @ANDROIDHASSAN in #4097
- Add VoxLock target-speaker voice isolation to the speech denoisers by @arbazsiddiqui in #4085
- Adds a CLAUDE.md with build, test, lint and high-level architecture guidance for Claude Code. by @manickavela29 in #4099
- Upload VoxLock models and test data by @csukuangfj in #4101
- Add Python API for VoxLock by @csukuangfj in #4102
- Use librosa-style fbank for streaming NeMo CTC models by @ANDROIDHASSAN in #4092
- Add OfflineRecognizer.createAsync() to the Dart API by @Cassian433 in #4070
- Keep the STFT convs of Kokoro in float32 when quantizing to int8 by @Trinorae in #4087
- Add C/CXX API for VoxLock by @csukuangfj in #4104
- Add JavaScript (node-addon) API for VoxLock by @csukuangfj in #4105
- Add JavaScript (WebAssembly) API for VoxLock by @csukuangfj in #4106
- Add Java and Kotlin API for VoxLock by @csukuangfj in #4107
- Add C# API for VoxLock by @csukuangfj in #4108
- Fix CI failures by @csukuangfj in #4113
- Add Swift API for VoxLock by @csukuangfj in #4109
- Add Go API for VoxLock by @csukuangfj in #4110
- Add Dart API for VoxLock by @csukuangfj in #4111
- Add Rust API for VoxLock by @csukuangfj in #4112
- Add Pascal API for VoxLock by @csukuangfj in #4114
- Release v2.0.1 by @csukuangfj in #4115
New Contributors
- @arbazsiddiqui made their first contribution in #4085
Full Changelog: v2.0.0...v2.0.1
v2.0.0
What's Changed
- Fix releasing dart packages by @csukuangfj in #3948
- Support NeMo transducers in offline Python examples by @Nathan-Roll1 in #3952
- Add OfflineDiacritization to kotlin-api by @XDcobra in #3949
- Support modified_beam_search with hotwords for streaming NeMo transducer models by @josephomills in #3895
- Add GetEmbedding to SpeakerEmbeddingManager by @XDcobra in #3950
- fix(supertonic): allow the "na" language tag by @utrumo in #3958
- Add conversion scripts for 7M Kokoro distills (Arabic + English) by @marwanelamami in #3954
- Add wasm demo for kokoro multi lang tts by @csukuangfj in #3966
- Fix character loss for byte-level-BPE tokens in whisper/cohere recognizers by @paoloantinori in #3965
- Ship arm64 libraries in the sherpa_onnx_windows Flutter package by @Ranjan-Bhagat in #3957
- Support HLG decoding for offline CTC models in the C, CXX, JNI/Kotlin/Java and WASM APIs by @baszczewski in #3951
- Fix dart for windows arm64 by @csukuangfj in #3967
- Canary: derive lang2id from the model vocab, warn instead of silently falling back to English by @paoloantinori in #3962
- Add subtitle generation Python API example for Qwen3 ASR by @csukuangfj in #3972
- Docs: reproducible F-Droid builds of the Android library (AAR) by @paoloantinori in #3963
- Fix moonshine v2: feed the decoder encoder_attention_mask at raw audio length by @paoloantinori in #3976
- add --input-sample-rate option in online-websocket-server by @codeachange in #3977
- Add Recly to 'Projects using sherpa-onnx' by @rokrokss in #4019
- Add subtitle generation Python API example for Doubao ASR. by @csukuangfj in #4027
- Update README to include China Unicom by @csukuangfj in #4028
- Update README to include China Life by @csukuangfj in #4029
- Update README to include deepseek-harness by @csukuangfj in #4030
- jni: convert C++ exceptions in recognizer/punctuation constructors to Java exceptions by @paoloantinori in #3988
- Fix Flutter VAD+ASR examples for Qwen3 ASR by @csukuangfj in #4045
- c-api: catch C++ exceptions in SherpaOnnxCreate* and return NULL by @Cassian433 in #4044
- Pad 1s of silence on endpoint for streaming paraformer in Python examples (mirror C++ behavior, #1373) by @Virtuoso461 in #4052
- Fix offline recognizer Swift wrapper build (missing ctc_fst_decoder_config) by @kyo-zzz in #4005
- Update zip build dependency to v9 (clears RUSTSEC-2026-0367/0368/0369) by @lfgranja in #4059
- Remove espeak-ng and piper-phonemize from sherpa-onnx by @csukuangfj in #4055
- Add Node.js addon for Windows arm64 (sherpa-onnx-win-arm64) by @eliandoran in #4054
- Fix ZipVoice heap overflow for short text at speed > 1 by @Cassian433 in #4051
- Raise ValueError when KeywordSpotter.create_stream() cannot encode keywords by @ANDROIDHASSAN in #4049
- Add tests for the windows arm64 npm package by @csukuangfj in #4069
- Add bot-reborn to 'Projects using sherpa-onnx' by @beasaltfish in #4040
- alsa: pass the mono sample count to the resampler by @dime-online in #3995
- Fix three sherpa-onnx-sys build.rs failures: custom Cargo profiles, iOS after Android, iOS device vs simulator by @jameswinegar in #3991
- README: fix decibri integration guide link by @pratikgx in #3992
- Fix malformed SRT timestamps in generate-subtitles.py by @MohammadHijjawi97 in #4009
- Add Suflyor to 'Projects using sherpa-onnx' by @olerast67 in #4001
- Fix SplitUtf8 reading past the end of a truncated UTF-8 sequence by @antonsoo in #4010
- Support per-stream FunASR Nano prompt options by @hulkbig in #4012
- Add SmartVoice to projects using sherpa-onnx by @dxhome in #4016
- Fix JSON escaping in online and offline recognition results by @hulkbig in #4017
- Fix offline CTC timestamps after filtering special tokens by @hulkbig in #4018
- Add akou to 'Projects using sherpa-onnx' by @GeiserX in #4039
- jni: Fix TTS for characters outside the BMP by @Trinorae in #4062
- Refactor building wheels for Linux armv7 by @csukuangfj in #4071
- Forward provider config keys to the CUDA execution provider (#3982) by @losewayy in #3985
- jni: Fix strings returned to Java for characters outside the BMP by @Trinorae in #4064
- docs: add VocaRead to projects using sherpa-onnx by @eborges78 in #4041
- Fix typos in the project. by @csukuangfj in #4073
- Feed the VAD one window at a time in vad-microphone.py and vad-alsa.py by @ANDROIDHASSAN in #4050
- Fix omnilingual ASR aborting on input shorter than 400 samples by @ANDROIDHASSAN in #4043
- Check the embedding size in the Python SpeakerEmbeddingManager methods by @ANDROIDHASSAN in #4048
- Use NeMo's additive log-zero guard for NeMo mel features by @kyo-zzz in #3999
- Validate speaker embedding dimensions before releasing the GIL by @ANDROIDHASSAN in #4077
- Fix word boundaries, OOV words and Unicode handling in lexicon TTS by @csukuangfj in #4075
- Fix building Flutter APPs for macOS by @csukuangfj in #4078
- Build wheels for Python 3.15 by @csukuangfj in #4080
- Widen VAD sample positions to int64_t to fix long-stream SIGSEGV. by @csukuangfj in #4079
- Add Voltip to 'Projects using sherpa-onnx' by @sunerpy in #4081
- docs: add Loud Caption to projects using sherpa-onnx by @DR1N0 in #4074
- Add tauri example for Doubao ASR by @csukuangfj in #4083
- Fix Ascend CI by @csukuangfj in #4089
- Release v2.0.0 by @csukuangfj in #4090
New Contributors
- @Nathan-Roll1 made their first contribution in #3952
- @XDcobra made their first contribution in #3949
- @utrumo made their first contribution in #3958
- @paoloantinori made their first contribution in #3965
- @Ranjan-Bhagat made their first contribution in #3957
- @baszczewski made their first contribution in #3951
- @codeachange made their first contribution in #3977
- @rokrokss made their first contribution in #4019
- @Cassian433 made their first contribution in #4044
- @Virtuoso461 made their first contribution in #4052
- @lfgranja made their first contribution in #4059
- @eliandoran made their first contribution in #4054
- @ANDROIDHASSAN made their first contribution in #4049
- @beasaltfish made their first contribution in #4040
- @dime-online made their first contribution in #3995
- @jameswinegar made their first contribution in #3991
- @pratikgx made their first contribution in #3992
- @MohammadHijjawi97 made their first contribution in #4009
- @olerast67 made their first contribution in #4001
- @antonsoo made their first contribution in https...
v1.13.8
What's Changed
- Fix releasing by @csukuangfj in #3911
- Fix data race on shared PRNG in FunASR-Nano and Qwen3-ASR offline recognizers by @fra-shipper in #3912
- Support building within a termux terminal on Android devices by @csukuangfj in #3916
- Support sherpa-onnx with Python in Termux on Android by @csukuangfj in #3922
- Fix Go API tests in CI for Windows by @csukuangfj in #3932
- Add Kokoro v1.0 em_santa voice by @kroryan in #3928
- Add Nabra-82M Arabic TTS conversion scripts for Kokoro runtime by @marwanelamami in #3898
- Fix Cohere Transcribe hallucinating sentences on silent audio by @kyo-zzz in #3924
- Fix Moonshine v2 hallucinating text on silent audio by @kyo-zzz in #3923
- Fix FunASR-Nano hallucinating text on silent audio by @kyo-zzz in #3921
- Fix Canary empty transcript when the first decoded token is eos by @kyo-zzz in #3920
- Add Intel NPU support through OpenVINO by @jacob-vincent-mink in #3910
- Add per-segment confidence computation for OfflineSpeakerDiarization by @matiaslin in #3881
- Upload the nabra 82M Arabic TTS int8 model by @csukuangfj in #3933
- Add Go API for Windows arm64 by @csukuangfj in #3934
- Add Go bindings for OfflineSpeakerDiarization confidence computation by @matiaslin in #3936
- fix(nemo/qnn/parakeet-ctc): wrapper.py raises NameError on undefined
feat_dimby @Anai-Guo in #3937 - Fix CI tests by @csukuangfj in #3940
- Update onnxruntime to v1.28.2 by @csukuangfj in #3935
- Add robust download retry logic to all test scripts by @csukuangfj in #3941
- Support running Rust API examples on termux within Android by @csukuangfj in #3942
- Add confidence computation support for speaker diarization to JNI. by @csukuangfj in #3943
- fix(python-tests): UnboundLocalError instead of the intended ValueError in test_fast_clustering by @Anai-Guo in #3944
- Test using uv to install sherpa-onnx by @csukuangfj in #3946
- Release v1.13.8 by @csukuangfj in #3945
New Contributors
- @kroryan made their first contribution in #3928
- @marwanelamami made their first contribution in #3898
- @kyo-zzz made their first contribution in #3924
- @jacob-vincent-mink made their first contribution in #3910
- @Anai-Guo made their first contribution in #3937
Full Changelog: v1.13.7...v1.13.8
v1.13.7
What's Changed
- Fix Flutter packages for iOS by @csukuangfj in #3887
- Support Windows arm64 for Rust by @csukuangfj in #3889
- Fix building APKs in CI by @csukuangfj in #3896
- Add iOS support for Rust and add hello world tauri example by @csukuangfj in #3901
- Expose num_trailing_blanks in the online recognizer result JSON by @josephomills in #3892
- Remove caret prefix from sherpa_onnx flutter dependencies by @csukuangfj in #3905
- Fix Qwen3-ASR hallucinating text on silent audio when hotwords/language are set by @fra-shipper in #3907
- Fix online punctuation model initialization when the vocabulary path contains non-ASCII characters on Windows. by @solavr in #3906
- Support batched decoding of multiple online streams in the JavaScript (node-addon) API by @josephomills in #3894
- Support per-stream runtime options (setOption/getOption/hasOption) in the JavaScript (node-addon) API for streaming ASR by @josephomills in #3891
- Align Qwen3-ASR whisper features to the centered-STFT convention (#3535) by @eolivelli in #3873
- Populate ys_probs in the online NeMo transducer greedy search decoders by @josephomills in #3893
- Release v1.13.7 by @csukuangfj in #3909
New Contributors
- @josephomills made their first contribution in #3892
- @fra-shipper made their first contribution in #3907
- @solavr made their first contribution in #3906
- @eolivelli made their first contribution in #3873
Full Changelog: v1.13.6...v1.13.7
tauri
Contents
Download links and usage instructions for every app:
tauri-examples/app.md
Doubao ASR from files — quick notes
Generate subtitles for audio or video files: local sherpa-onnx VAD +
Doubao recording-file recognition. Click a
transcript segment to play it; view/export/share the transcript as SRT,
timestamped TXT or plain TXT. Results are saved automatically to the
Downloads folder on Android, or next to the input file on desktop — and
existing results are loaded (not paid for twice).
- Get an API key: help on getting a Doubao API key
- New Volcengine accounts get 20 hours of free recognition. For more,
buy hours
and select the package 录音文件识别 (recording-file recognition) —
not 流式语音识别 (streaming speech recognition). - Privacy: speech is uploaded to Volcengine for recognition; it is not
processed entirely on your device.
Source code: tauri-examples