Documentation
¶
Index ¶
- Constants
- type UltravoxTTS
- func (t *UltravoxTTS) Capabilities() tts.TTSCapabilities
- func (t *UltravoxTTS) Label() string
- func (t *UltravoxTTS) NumChannels() int
- func (t *UltravoxTTS) SampleRate() int
- func (t *UltravoxTTS) Stream(ctx context.Context) (tts.SynthesizeStream, error)
- func (t *UltravoxTTS) Synthesize(ctx context.Context, text string) (tts.ChunkedStream, error)
Constants ¶
View Source
const ( PluginTitle = "rtp-agent.plugins.ultravox" PluginVersion = "1.5.15" PluginPackage = "rtp-agent.plugins.ultravox" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type UltravoxTTS ¶
type UltravoxTTS struct {
// contains filtered or unexported fields
}
func NewUltravoxTTS ¶
func NewUltravoxTTS(apiKey string, voice string) *UltravoxTTS
func (*UltravoxTTS) Capabilities ¶
func (t *UltravoxTTS) Capabilities() tts.TTSCapabilities
func (*UltravoxTTS) Label ¶
func (t *UltravoxTTS) Label() string
func (*UltravoxTTS) NumChannels ¶
func (t *UltravoxTTS) NumChannels() int
func (*UltravoxTTS) SampleRate ¶
func (t *UltravoxTTS) SampleRate() int
func (*UltravoxTTS) Stream ¶
func (t *UltravoxTTS) Stream(ctx context.Context) (tts.SynthesizeStream, error)
func (*UltravoxTTS) Synthesize ¶
func (t *UltravoxTTS) Synthesize(ctx context.Context, text string) (tts.ChunkedStream, error)
Click to show internal directories.
Click to hide internal directories.