Documentation
¶
Index ¶
- Variables
- func CleanVoice()
- func Encode(orgData []byte, voiceInfo VoiceInfo) ([]byte, error)
- func GetVoice(content string, voice *config.Voice) ([]byte, error)
- func ReadVoice(session *discordgo.Session, orgMsg *discordgo.MessageCreate, encoded []byte) error
- func SplitToFrame(data []byte) ([][]byte, error)
- func VerifyVoice(source string, voice string) error
- type AquestalkProxyRequest
- type Speaker
- type Speakers
- type Style
- type VoiceInfo
- type VoiceSource
Constants ¶
This section is empty.
Variables ¶
View Source
var ( Skipped error SourceDisabled error NoSuchSource error VoiceConnClosed error )
View Source
var (
AquestalkProxy *aquestalkProxy
)
View Source
var (
Azure azure
)
View Source
var (
Coeiroink coeiroink
)
View Source
var (
Gcp gcp
)
View Source
var Gtts *gtts
View Source
var (
VoiceText voiceText
)
View Source
var (
Voicevox voicevox
)
View Source
var (
Watson *watson
)
Functions ¶
func CleanVoice ¶
func CleanVoice()
func SplitToFrame ¶
func VerifyVoice ¶
Types ¶
type AquestalkProxyRequest ¶
type VoiceSource ¶
type VoiceSource interface { Verify(voice string) error Synth(content string, voice string) ([]byte, error) GetInfo() VoiceInfo }
func SourceSwitcher ¶
func SourceSwitcher(source string) (VoiceSource, error)
Click to show internal directories.
Click to hide internal directories.