Add Go implementation of the TTS generation callback (#2213)

This commit is contained in:
愚者自愚
2025-05-14 16:09:31 +08:00
committed by GitHub
parent 0dfafed7d0
commit 116977b5d4
22 changed files with 364 additions and 1 deletions

View File

@@ -0,0 +1,5 @@
*.wav
vits-ljs
vits-vctk
vits-zh-aishell3
offline-tts-play

View File

@@ -0,0 +1,10 @@
module offline-tts-play
go 1.17
replace github.com/k2-fsa/sherpa-onnx-go/sherpa_onnx => ../
require (
github.com/k2-fsa/sherpa-onnx-go/sherpa_onnx v0.0.0-00010101000000-000000000000
github.com/spf13/pflag v1.0.6
)

View File

@@ -0,0 +1 @@
../../../../go-api-examples/non-streaming-tts/main.go

View File

@@ -0,0 +1 @@
../../../../go-api-examples/non-streaming-tts/run-kokoro-en.sh

View File

@@ -0,0 +1 @@
../../../../go-api-examples/non-streaming-tts/run-kokoro-zh-en.sh

View File

@@ -0,0 +1 @@
../../../../go-api-examples/non-streaming-tts/run-matcha-en.sh

View File

@@ -0,0 +1 @@
../../../../go-api-examples/non-streaming-tts/run-matcha-zh.sh

View File

@@ -0,0 +1 @@
../../../../go-api-examples/non-streaming-tts/run-vits-ljs.sh

View File

@@ -0,0 +1 @@
../../../../go-api-examples/non-streaming-tts/run-vits-piper-en_US-lessac-medium.sh

View File

@@ -0,0 +1 @@
../../../../go-api-examples/non-streaming-tts/run-vits-vctk.sh

View File

@@ -0,0 +1 @@
../../../../go-api-examples/non-streaming-tts/run-vits-zh-aishell3.sh