Commit Graph

1226 Commits

Author SHA1 Message Date
Fangjun Kuang
0610679539 Add JavaScript API (WebAssembly) for Kokoro TTS 1.0 (#1809) 2025-02-07 16:46:03 +08:00
Fangjun Kuang
19513af0ae Add JavaScript API (node-addon) for Kokoro TTS 1.0 (#1808) 2025-02-07 16:26:41 +08:00
Fangjun Kuang
c254504921 Add Pascal API for Kokoro TTS 1.0 (#1807) 2025-02-07 16:06:11 +08:00
Fangjun Kuang
35f5ff3166 Add Dart API for Kokoro TTS 1.0 (#1806) 2025-02-07 15:53:13 +08:00
Fangjun Kuang
ae32dfaa56 Add C# API for Kokoro TTS 1.0 (#1805) 2025-02-07 15:39:03 +08:00
Fangjun Kuang
e1a88a799f Add Go API for Kokoro TTS 1.0 (#1804) 2025-02-07 15:18:02 +08:00
Fangjun Kuang
e2e0f25100 Add Swift API for Kokoro TTS 1.0 (#1803) 2025-02-07 15:06:34 +08:00
Fangjun Kuang
d815204774 Add CXX API for Kokoro TTS 1.0 (#1802) 2025-02-07 14:51:49 +08:00
Fangjun Kuang
7330f7519a Add C API for Kokoro TTS 1.0 (#1801) 2025-02-07 14:30:40 +08:00
Fangjun Kuang
a52b819fb5 Add Android demo for Kokoro TTS 1.0 (#1799) 2025-02-07 13:07:30 +08:00
Fangjun Kuang
4372a7a7b0 Add Java and Koltin API for Kokoro TTS 1.0 (#1798) 2025-02-07 09:59:27 +08:00
Fangjun Kuang
c84a833863 Add C++ and Python API for Kokoro 1.0 multilingual TTS model (#1795) 2025-02-06 22:57:13 +08:00
Fangjun Kuang
08cefe8488 Export Kokoro 1.0 to sherpa-onnx (#1788) 2025-02-05 08:24:43 +08:00
ahadjawaid
8677d83efc Fix: Prepend 0 to tokenization to prevent word skipping for Kokoro. (#1787)
Addressed issue Skipping words #1777
2025-02-03 13:49:42 +08:00
Ross-Fan
1d950a88e5 Initialize the audio session for iOS ASR example (#1786)
Fixes #1784
2025-02-02 22:49:13 +08:00
Fangjun Kuang
59ff854222 Add Flutter example for Kokoro TTS (#1776) 2025-01-29 22:43:17 +08:00
Fangjun Kuang
884715187e Add ArkTS API for Keyword spotting. (#1775) 2025-01-29 21:34:39 +08:00
Fangjun Kuang
f178e96bf0 Add keyword spotter C API for HarmonyOS (#1769) 2025-01-26 14:12:30 +08:00
Fangjun Kuang
73c3695287 Refactor node-addon C++ code. (#1768)
Use macros to delete pointers.
2025-01-25 22:23:12 +08:00
Fangjun Kuang
030aaa7bb9 Add Kokoro TTS to MFC examples (#1760) 2025-01-24 11:46:41 +08:00
Fangjun Kuang
e25952913c Update README to include https://github.com/xinhecuican/QSmartAssistant (#1755) 2025-01-23 10:48:47 +08:00
Fangjun Kuang
340ebca74f Fix publishing wheels (#1746) 2025-01-22 14:02:33 +08:00
Fangjun Kuang
66e02d8381 Release v1.10.41 (#1744) 2025-01-22 11:21:31 +08:00
Fangjun Kuang
bc3322e5a6 Support Kokoro TTS for HarmonyOS. (#1743) 2025-01-22 11:14:42 +08:00
張小凡
5bcd7e100a Reduce vad-moonshine-c-api example code. (#1742) 2025-01-21 15:14:32 +08:00
Fangjun Kuang
e764fa6157 Update readme to include https://github.com/hfyydd/sherpa-onnx-server (#1741) 2025-01-20 17:28:07 +08:00
Fangjun Kuang
8b989a851c Fix keyword spotting. (#1689)
Reset the stream right after detecting a keyword
2025-01-20 16:41:10 +08:00
Jacklyn
b943341fb1 Fix dither binding in Pybind11 to ensure independence from high_freq in FeatureExtractorConfig (#1739) 2025-01-20 16:29:36 +08:00
Fangjun Kuang
a2650b7ddd Add iOS example for Kokoro TTS (#1737) 2025-01-20 13:12:43 +08:00
Fangjun Kuang
e2f096bf3c Add iOS TTS example for MatchaTTS (#1736) 2025-01-20 11:41:59 +08:00
Fangjun Kuang
9d6c0e55b5 Fix UI for Android TTS Engine. (#1735)
Set max number of lines of the input text field so that
the buttons are still visible when the input text is long.
2025-01-20 10:08:34 +08:00
Fangjun Kuang
2df43b3788 Release v1.10.40 (#1731) 2025-01-17 18:09:19 +08:00
Fangjun Kuang
bad82f35cf Update README.md for KWS to not use git lfs. (#1729) 2025-01-17 17:48:42 +08:00
Fangjun Kuang
99cef4198b Add Koltin and Java API for Kokoro TTS models (#1728) 2025-01-17 17:36:13 +08:00
Fangjun Kuang
3a1de0bfc1 Add JavaScript (WebAssembly) API for Kokoro TTS models. (#1726) 2025-01-17 11:17:18 +08:00
Fangjun Kuang
e8d499d218 Add JavaScript API (node-addon) for Kokoro TTS models (#1725) 2025-01-16 18:33:47 +08:00
Fangjun Kuang
46f2e32e8a Add Pascal API for Kokoro TTS models (#1724) 2025-01-16 18:20:21 +08:00
Fangjun Kuang
4335e2accd Add Dart API for Kokoro TTS models (#1723) 2025-01-16 17:58:19 +08:00
Fangjun Kuang
2086f8c55b Add Go API for Kokoro TTS models (#1722) 2025-01-16 17:35:31 +08:00
Fangjun Kuang
ad61ad6ff5 Add Swift API for Kokoro TTS models (#1721) 2025-01-16 16:47:37 +08:00
Fangjun Kuang
cc812e6237 Add C# API for Kokoro TTS models (#1720) 2025-01-16 16:30:10 +08:00
Fangjun Kuang
2d0869c709 Fix style issues (#1718) 2025-01-16 15:43:51 +08:00
Fangjun Kuang
af671e2b63 Add C API for Kokoro TTS models (#1717) 2025-01-16 15:07:26 +08:00
Fangjun Kuang
ffc6b480a0 Add C++ and Python API for Kokoro TTS models. (#1715) 2025-01-16 14:24:51 +08:00
Fangjun Kuang
9efe26a646 Export kokoro to sherpa-onnx (#1713) 2025-01-15 16:49:10 +08:00
Fangjun Kuang
ce71b6327a Fix building wheels (#1703) 2025-01-13 12:00:45 +08:00
Fangjun Kuang
cbe07ac1b6 Release v1.10.39 (#1702) 2025-01-13 10:28:05 +08:00
Fangjun Kuang
0d20558b5e Fix passing strings from C# to C. (#1701)
See also
https://github.com/k2-fsa/sherpa-onnx/issues/1695#issuecomment-2585725190

We need to place a 0 at the end of the buffer.
2025-01-13 10:17:04 +08:00
徐络溟
ecc653871d Fix: export-onnx.py(expected all tensors to be on the same device) (#1699)
由于SenseVoiceSmall.from_pretrained()
    调用的funasr.auto.auto_model.AutoModel.build_model()默认device是cuda
    (在cuda available的环境中)
    ```py
    device = kwargs.get("device", "cuda")
    if not torch.cuda.is_available() or kwargs.get("ngpu", 1) == 0:
        device = "cpu"
        kwargs["batch_size"] = 1
    kwargs["device"] = device
    ```
    而export-onnx.py里的tensor默认都是cpu, 导致
    RuntimeError: Expected all tensors to be on the same device, but found at least two devices, cuda:0 and cpu
    所以直接在加载model的时候指定cpu
2025-01-10 19:26:36 +08:00
Fangjun Kuang
0cb2db385a Add README for android libs. (#1693) 2025-01-07 11:04:10 +08:00