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." )注:「ネイティブ」ハンドラーはOTO Libreryの周りで動作します。このハンドラーで動作する「前提条件」セクションを参照してください
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." )HTGO-TTSを使用して問題が発生した場合、またはソースコードの改善を提案したい場合は、[問題]タブで問題を作成できます。 HTGO-TTSソースコードに貢献したい場合は、プルリクエストを送信してください。
HTGO-TTSはフリーソフトウェアであり、MITライセンスの下で利用できます。詳細については、ソースコードリポジトリのライセンスファイルを参照してください。
楽しむ!