Add TTS example for Java API. (#1176)
It plays the generated audio as it is still generating.
This commit is contained in:
@@ -24,6 +24,7 @@ This directory contains examples for the JAVA API of sherpa-onnx.
|
||||
./run-non-streaming-decode-file-nemo.sh
|
||||
```
|
||||
|
||||
|
||||
## Non-Streaming text-to-speech
|
||||
|
||||
```bash
|
||||
@@ -32,6 +33,12 @@ This directory contains examples for the JAVA API of sherpa-onnx.
|
||||
./run-non-streaming-tts-vits-zh.sh
|
||||
```
|
||||
|
||||
## Non-Streaming text-to-speech (Play as it is generating)
|
||||
|
||||
```bash
|
||||
./run-non-streaming-tts-piper-en-with-callback.sh
|
||||
```
|
||||
|
||||
## Spoken language identification
|
||||
|
||||
```bash
|
||||
|
||||
Reference in New Issue
Block a user