Merge branch 'refs/heads/main' into clean_beep

This commit is contained in:
2024-12-19 10:54:06 +08:00
30 changed files with 661 additions and 149 deletions

View File

@@ -70,6 +70,7 @@ func (tts *AliTTS) getToken() error {
func (tts *AliTTS) Get(text string) (io.Reader, error) {
param := nls.DefaultSpeechSynthesisParam()
param.Volume = 100
param.Voice = tts.Voice
err := tts.getToken()
if err != nil {