Commit Graph

286 Commits

Author SHA1 Message Date
Fangjun Kuang
a8fed2a9ce Fix splitting words containing ', e.g., I've (#389) 2023-10-26 13:07:30 +08:00
Peter Ross
fcde4c4944 include cstdint (debian, gcc-13.2) (#388) 2023-10-26 08:10:48 +08:00
Fangjun Kuang
29a5d06691 Fix utf8 spliting for English (#386) 2023-10-25 14:55:27 +08:00
Fangjun Kuang
6e5efa48c5 Fix splitting utf8 string into words (#385) 2023-10-25 11:49:27 +08:00
Fangjun Kuang
1249710e1d support specifying speed for tts Python APIs (#384) 2023-10-24 21:38:58 +08:00
Fangjun Kuang
789a8be73b Add Android TTS demo (#383) 2023-10-24 21:31:28 +08:00
Fangjun Kuang
e7432cd042 Fix jni test (#382) 2023-10-23 15:27:18 +08:00
Fangjun Kuang
0fdb2044e1 Add jni interface and kotlin API examples for TTS. (#381) 2023-10-23 12:31:54 +08:00
Fangjun Kuang
b582f6c115 support specifying output filename (#380) 2023-10-21 14:43:11 +08:00
Fangjun Kuang
1937717705 Add MFC TTS example on Windows (#378) 2023-10-21 00:13:07 +08:00
Fangjun Kuang
a69d0a950e Add Go API for TTS (#377) 2023-10-20 15:57:52 +08:00
Fangjun Kuang
3ba9a4932f Support printing input text and words after splitting (#376) 2023-10-20 12:06:30 +08:00
Fangjun Kuang
2a932aca86 Add ccache to CI (#375) 2023-10-20 11:17:37 +08:00
Fangjun Kuang
fe0c8bfc51 Test go inside sherpa-onnx (#374)
Previously, we only test the go api examples with pre-built packages. 
This PR tests go API examples against the latest source code of sherpa-onnx.
2023-10-20 10:43:30 +08:00
Fangjun Kuang
ea7c45b60c Add C API for offline TTS. (#373) 2023-10-19 17:38:23 +08:00
Fangjun Kuang
58ab7e77f2 Fix CI test for Go. (#372) 2023-10-19 12:11:12 +08:00
Fangjun Kuang
eead16e27f Fix CI for pip install (#371) 2023-10-19 10:43:14 +08:00
Fangjun Kuang
33ad3fa610 Release v1.8.3 (#370) 2023-10-18 16:50:47 +08:00
Fangjun Kuang
8545c3b7f0 Validate input sid (#369) 2023-10-18 14:02:01 +08:00
Fangjun Kuang
1ee79e3ff5 Support Chinese vits models (#368) 2023-10-18 10:19:10 +08:00
Fangjun Kuang
9efe69720d Support VITS VCTK models (#367)
* Support VITS VCTK models

* Release v1.8.1
2023-10-16 17:22:30 +08:00
yujinqiu
d01682d968 Add vad clear api for better performance (#366)
* Add vad clear api for better performance

* rename to make naming consistent and remove macro

* Fix linker error

* Fix Vad.kt
2023-10-16 14:40:47 +08:00
longshiming
55b6893885 add SherpaOnnxWebSocket (#362)
* add SherpaOnnxWebSocket

* add SherpaOnnxWebSocket

* update text show style

---------

Co-authored-by: longshiming <longshiming@greesoft.com>
2023-10-16 14:39:32 +08:00
Fangjun Kuang
0df0a735d7 Fix building wheels for windows (#365) 2023-10-14 23:14:45 +08:00
Fangjun Kuang
655e0fa836 add python API and examples for TTS (#364) 2023-10-14 14:21:53 +08:00
Fangjun Kuang
1ac2232e14 Support writing generated audio samples to wave files (#363) 2023-10-13 23:36:03 +08:00
Fangjun Kuang
536d5804ba Add TTS with VITS (#360) 2023-10-13 19:30:38 +08:00
Peng He
4771c9275c Add lm decode for the Python API. (#353)
* Add lm decode for the Python API.

* fix style.

* Fix LogAdd,

	Shouldn't double lm_log_prob when merge same prefix path

* sort the import alphabetically
2023-10-13 11:15:16 +08:00
Fangjun Kuang
323f532ad2 Fix symbol table for byte bpe (#361) 2023-10-13 10:51:59 +08:00
Fangjun Kuang
efd3cd3312 Fix pkg-config for linux (#358) 2023-10-12 16:21:06 +08:00
yujinqiu
64795144f3 Fix linker issue (#357)
* Expose VAD isDetected api to Swift

* Fix link issue
2023-10-12 16:16:02 +08:00
yujinqiu
f6566c8ace Expose VAD isDetected api to Swift (#356) 2023-10-12 15:11:58 +08:00
Fangjun Kuang
32da5ecf02 Add script to convert vits models (#355) 2023-10-12 11:59:19 +08:00
Fangjun Kuang
98b67ad850 Fix reading hotwords file for android (#354) 2023-10-11 12:20:50 +08:00
zr_jin
845505708e Update speech-recognition-from-microphone-with-endpoint-detection.py (#352) 2023-10-08 14:37:09 +08:00
Fangjun Kuang
be081017de Fix typos/bugs (#351) 2023-10-08 11:39:59 +08:00
Fangjun Kuang
407602445d Add CTC HLG decoding using OpenFst (#349) 2023-10-08 11:32:39 +08:00
Nickolay V. Shmyrev
c12286fe5e Proper convolution mode for fast GPU processing (#350) 2023-10-07 20:24:57 +08:00
Fangjun Kuang
36017d49c4 add a comment about how to download silero_vad.onnx (#346) 2023-09-26 17:58:53 +08:00
Fangjun Kuang
33a5765169 Print a more user-friendly error message when using --hotwords-file. (#344) 2023-09-26 11:04:20 +08:00
yujinqiu
9091917eab Generate SRT from audio (#341) 2023-09-25 16:36:16 +08:00
Fangjun Kuang
552a267c23 Set is_final and start_time for online websocket server. (#342)
* Set is_final and start_time for online websocket server.

* Convert timestamps to a json array
2023-09-25 15:12:07 +08:00
poor1017
c2518a5826 Supports cmake compilation compatible with v3.13. (#340)
Co-authored-by: chenyu <cheny65@chinatelecom.cn>
2023-09-25 11:48:55 +08:00
dym21
fef61080de Added #include <cstdint> to fix gcc 13.2 compilation error. (#339) 2023-09-25 10:38:26 +08:00
Fangjun Kuang
f91c49a7ba Provide pre-built wheels for 32-bit arm (e.g., 32-bit Raspberry Pi) (#338) 2023-09-25 09:33:43 +08:00
Fangjun Kuang
7649bd862c Fix building APKs (#337) 2023-09-24 14:16:14 +08:00
Fangjun Kuang
4ca60e2603 Add VAD + Non-streaming ASR model for Android (#336) 2023-09-23 22:48:38 +08:00
Fangjun Kuang
6e60a77d89 Add Android APK for Silero VAD (#335) 2023-09-23 20:39:13 +08:00
Fangjun Kuang
65ec4dc741 Update alternative URLs for onnxruntime 1.16.0 (#334) 2023-09-22 18:50:52 +08:00
Fangjun Kuang
43b2b7760d Fix tokens processing for byte-level BPE (#333) 2023-09-22 13:28:19 +08:00