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 ดูส่วน "วิชาบังคับก่อน" เพื่อทำงานกับตัวจัดการนี้
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 สำหรับข้อมูลเพิ่มเติมโปรดดูไฟล์ใบอนุญาตในที่เก็บซอร์สโค้ด
มีความสุข!