Commit Graph

996 Commits

Author SHA1 Message Date
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
Fangjun Kuang
6d18430dbf Fix building without TTS (#1691) 2025-01-07 09:59:20 +08:00
Fangjun Kuang
930986b06c Release v1.10.38 (#1688) 2025-01-06 11:31:18 +08:00
Fangjun Kuang
d7c95d33a3 Add Dart API for MatchaTTS models (#1687) 2025-01-06 11:03:31 +08:00
Fangjun Kuang
c6fcd32552 Add Pascal API for MatchaTTS models. (#1686) 2025-01-06 10:04:35 +08:00
Fangjun Kuang
46330b25cc Add Go API for MatchaTTS models (#1685) 2025-01-06 08:03:03 +08:00
Fangjun Kuang
6f085babcc Add Swift API for MatchaTTS models. (#1684) 2025-01-06 07:23:45 +08:00
Fangjun Kuang
1fe5fe495f Add Android demo for MatchaTTS models. (#1683) 2025-01-06 06:44:09 +08:00
Fangjun Kuang
3eced3e7ee Add C# and JavaScript (wasm) API for MatchaTTS models (#1682) 2025-01-05 15:08:19 +08:00
Michael Lamothe
1ef9e5ee3a Update workflows to use .NET 8.0 also. (#1681) 2025-01-04 19:54:49 +08:00
Michael Lamothe
8a60985363 Upgraded to .NET 8 and made code style a little more internally consistent. (#1680) 2025-01-04 16:39:06 +08:00
Fangjun Kuang
bf3330c906 Add HarmonyOS examples for MatchaTTS. (#1678) 2025-01-03 17:09:29 +08:00
Fangjun Kuang
0e299f30f5 Add JavaScript API (node-addon-api) for MatchaTTS models. (#1677) 2025-01-03 15:14:28 +08:00
Fangjun Kuang
648903834b Add CXX API for MatchaTTS models (#1676) 2025-01-03 14:16:36 +08:00
Fangjun Kuang
9aa4897a9e Add C API for MatchaTTS models (#1675) 2025-01-03 12:17:26 +08:00
Fangjun Kuang
a4365dad82 Avoid adding tail padding for VAD in generate-subtitles.py (#1674) 2025-01-03 10:37:39 +08:00
Fangjun Kuang
a00d3b4821 Add Java API for Matcha-TTS models. (#1673) 2025-01-02 15:15:30 +08:00
Fangjun Kuang
f457baea42 Support Matcha-TTS models using espeak-ng (#1672) 2025-01-02 13:46:43 +08:00
Fangjun Kuang
3422b9388d Add Kotlin API for Matcha-TTS models. (#1668) 2024-12-31 19:20:52 +08:00
w-rui
0a43e9c879 Add constructor fromPtr() for all flutter class with factory ctor. (#1667)
Co-authored-by: wangrui <wangrui@oecore.com>
2024-12-31 18:07:52 +08:00
Fangjun Kuang
ebe92e523d Remove spaces after punctuations for TTS (#1666) 2024-12-31 16:06:27 +08:00
Fangjun Kuang
d3538531c4 Fix initialize TTS in Python. (#1664) 2024-12-31 15:14:56 +08:00
Fangjun Kuang
b2ad6f63f7 Release v1.10.37 (#1663) 2024-12-31 12:50:38 +08:00
Fangjun Kuang
2c2926af7d Add C++ runtime for Matcha-TTS (#1627) 2024-12-31 12:44:14 +08:00
yujinqiu
5c2cc48f50 Add swift online punctuation (#1661) 2024-12-31 11:26:32 +08:00
Fangjun Kuang
49154c957b Add Go API for Keyword spotting (#1662) 2024-12-31 11:25:32 +08:00
Fangjun Kuang
38d64a6d81 Fix building macOS libs (#1656) 2024-12-27 18:15:41 +08:00
Fangjun Kuang
268d562135 Add TeleSpeech CTC to non_streaming_server.py (#1649) 2024-12-26 11:11:03 +08:00
Fangjun Kuang
b6f0f5fc2e Support removing invalid utf-8 sequences. (#1648) 2024-12-25 19:32:13 +08:00
Fangjun Kuang
08d771337b Add a byte-level BPE Chinese+English non-streaming zipformer model (#1645) 2024-12-24 16:56:49 +08:00
Fangjun Kuang
fe3265aa25 Add new tts models for Latvia and Persian+English (#1644) 2024-12-24 15:16:02 +08:00