Documentation
¶
Index ¶
- type SpeechifyTTS
- func (t *SpeechifyTTS) Capabilities() tts.TTSCapabilities
- func (t *SpeechifyTTS) Label() string
- func (t *SpeechifyTTS) NumChannels() int
- func (t *SpeechifyTTS) SampleRate() int
- func (t *SpeechifyTTS) Stream(ctx context.Context) (tts.SynthesizeStream, error)
- func (t *SpeechifyTTS) Synthesize(ctx context.Context, text string) (tts.ChunkedStream, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SpeechifyTTS ¶
type SpeechifyTTS struct {
// contains filtered or unexported fields
}
func NewSpeechifyTTS ¶
func NewSpeechifyTTS(apiKey string, voice string) *SpeechifyTTS
func (*SpeechifyTTS) Capabilities ¶
func (t *SpeechifyTTS) Capabilities() tts.TTSCapabilities
func (*SpeechifyTTS) Label ¶
func (t *SpeechifyTTS) Label() string
func (*SpeechifyTTS) NumChannels ¶
func (t *SpeechifyTTS) NumChannels() int
func (*SpeechifyTTS) SampleRate ¶
func (t *SpeechifyTTS) SampleRate() int
func (*SpeechifyTTS) Stream ¶
func (t *SpeechifyTTS) Stream(ctx context.Context) (tts.SynthesizeStream, error)
func (*SpeechifyTTS) Synthesize ¶
func (t *SpeechifyTTS) Synthesize(ctx context.Context, text string) (tts.ChunkedStream, error)
Click to show internal directories.
Click to hide internal directories.