Documentation ¶
Overview ¶
Package flite implements bindings for Flite (festival-lite)
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func TextToSpeech ¶
TextToSpeech synthesizes the text with the given voice. outtype may be a filename where the generated wav is written to, or "play" and it will be sent to the audio device, or "none" and it will be discarded. The return value is the number of seconds of speech generated.
Types ¶
type Voice ¶
type Voice struct {
// contains filtered or unexported fields
}
Voice type
func VoiceSelect ¶
VoiceSelect returns a Voice for the voice name. The valid names are "awb", "kal16", "kal", "rms", "slt". It will return error if there is no match.
Click to show internal directories.
Click to hide internal directories.