Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Sythesizer ¶
type Sythesizer interface { // Say returns F32LE PCM audio for the given text. Say(string) ([]float32, error) }
Sythesizer provides text-to-speech.
func NewPiperSpeaker ¶
func NewPiperSpeaker(v Voice) (Sythesizer, error)
NewPiperSpeaker creates a Speaker powered by Piper (https://github.com/rhasspy/piper)
type Voice ¶
type Voice int
const ( // FeminineVoice is the "Jenny" en-GB voice. // Origin: https://github.com/dioco-group/jenny-tts-dataset FeminineVoice Voice = iota // MasculineVoice is the "Alan" en-GB voice. // Origin: https://popey.me MasculineVoice )
Click to show internal directories.
Click to hide internal directories.