Documentation
¶
Index ¶
- Constants
- type MurfTTSdeprecated
- type MurfTTSOptiondeprecated
- type TTS
- func (t *TTS) Capabilities() tts.TTSCapabilities
- func (t *TTS) Close() error
- func (t *TTS) Label() string
- func (t *TTS) Model() string
- func (t *TTS) NumChannels() int
- func (t *TTS) Provider() string
- func (t *TTS) SampleRate() int
- func (t *TTS) Stream(ctx context.Context) (tts.SynthesizeStream, error)
- func (t *TTS) Synthesize(ctx context.Context, text string) (tts.ChunkedStream, error)
- func (t *TTS) UpdateOptions(opts ...TTSOption)
- type TTSOption
- func WithMurfTTSBaseURL(baseURL string) TTSOption
- func WithMurfTTSEncoding(encoding string) TTSOption
- func WithMurfTTSLocale(locale string) TTSOption
- func WithMurfTTSModel(model string) TTSOption
- func WithMurfTTSPitch(pitch int) TTSOption
- func WithMurfTTSSampleRate(sampleRate int) TTSOption
- func WithMurfTTSSpeed(speed int) TTSOption
- func WithMurfTTSStyle(style string) TTSOption
- func WithMurfTTSVoice(voice string) TTSOption
Constants ¶
View Source
const ( PluginTitle = "rtp-agent.plugins.murf" PluginVersion = "v0.4.2" PluginPackage = "rtp-agent.plugins.murf" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MurfTTSOption
deprecated
type MurfTTSOption = TTSOption
Deprecated: use TTSOption.
type TTS ¶ added in v0.4.2
type TTS struct {
// contains filtered or unexported fields
}
func NewMurfTTS
deprecated
func (*TTS) Capabilities ¶ added in v0.4.2
func (t *TTS) Capabilities() tts.TTSCapabilities
func (*TTS) NumChannels ¶ added in v0.4.2
func (*TTS) SampleRate ¶ added in v0.4.2
func (*TTS) Synthesize ¶ added in v0.4.2
func (*TTS) UpdateOptions ¶ added in v0.4.2
type TTSOption ¶ added in v0.4.2
type TTSOption func(*TTS)
func WithMurfTTSBaseURL ¶
func WithMurfTTSEncoding ¶ added in v0.1.0
func WithMurfTTSLocale ¶
func WithMurfTTSModel ¶
func WithMurfTTSPitch ¶
func WithMurfTTSSampleRate ¶
func WithMurfTTSSpeed ¶
func WithMurfTTSStyle ¶
func WithMurfTTSVoice ¶
Click to show internal directories.
Click to hide internal directories.