Add tts play example for .Net. (#676)

It plays the generated audio via a speaker as it is generating.
This commit is contained in:
Fangjun Kuang
2024-03-19 17:33:15 +08:00
committed by GitHub
parent ce60100f68
commit 6571fc9552
12 changed files with 371 additions and 14 deletions

View File

@@ -6,4 +6,14 @@ Please refer to the documentation
https://k2-fsa.github.io/sherpa/onnx/csharp-api/index.html
for details.
```bash
dotnet new console -n offline-tts-play
dotnet sln ./sherpa-onnx.sln add ./offline-tts-play
```
```bash
dotnet nuget locals all --list
dotnet nuget locals all --clear
```
[sherpa-onnx]: https://github.com/k2-fsa/sherpa-onnx