htgo tts
v1.6
https://hegedustibor.github.io/htgo-tts/
go get "github.com/hegedustibor/htgo-tts"
go get -u "github.com/hegedustibor/htgo-tts"
go clean -i "github.com/hegedustibor/htgo-tts"
import "github.com/hegedustibor/htgo-tts"
import "github.com/hegedustibor/htgo-tts/voices" speech := htgotts. Speech { Folder : "audio" , Language : voices . English }
speech . Speak ( "Your sentence." ) import (
htgotts "github.com/hegedustibor/htgo-tts"
handlers "github.com/hegedustibor/htgo-tts/handlers"
voices "github.com/hegedustibor/htgo-tts/voices"
)
speech := htgotts. Speech { Folder : "audio" , Language : voices . English , Handler : & handlers. MPlayer {}}
speech . Speak ( "Your sentence." )Nota: El controlador "nativo" funciona alrededor de la librería OTO, consulte la sección "Requisito previo" para trabajar con este controlador
import (
htgotts "github.com/hegedustibor/htgo-tts"
handlers "github.com/hegedustibor/htgo-tts/handlers"
voices "github.com/hegedustibor/htgo-tts/voices"
)
speech := htgotts. Speech { Folder : "audio" , Language : voices . English , Handler : & handlers. Native {}}
speech . Speak ( "Your sentence." ) import (
htgotts "github.com/hegedustibor/htgo-tts"
handlers "github.com/hegedustibor/htgo-tts/handlers"
voices "github.com/hegedustibor/htgo-tts/voices"
)
speech := htgotts. Speech { Folder : "audio" , Language : voices . English , Proxy : "https://..." }
speech . Speak ( "Your sentence." )Si encuentra problemas con HTGO-TTS o desea sugerir mejoras en el código fuente, puede crear un problema en la pestaña "Problemas". Si desea contribuir al código fuente HTGO-TTS, envíe una solicitud de extracción.
HTGO-TTS es un software gratuito y está disponible bajo la licencia MIT. Para obtener más información, consulte el archivo de licencia en el repositorio del código fuente.
¡Divertirse!