murf

package
v0.4.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 30, 2026 License: MIT Imports: 19 Imported by: 0

Documentation

Index

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 MurfTTS deprecated

type MurfTTS = TTS

Deprecated: use TTS.

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 NewMurfTTS(apiKey string, voice string, opts ...TTSOption) *TTS

Deprecated: use NewTTS.

func NewTTS added in v0.4.2

func NewTTS(apiKey string, voice string, opts ...TTSOption) *TTS

func (*TTS) Capabilities added in v0.4.2

func (t *TTS) Capabilities() tts.TTSCapabilities

func (*TTS) Close added in v0.4.2

func (t *TTS) Close() error

func (*TTS) Label added in v0.4.2

func (t *TTS) Label() string

func (*TTS) Model added in v0.4.2

func (t *TTS) Model() string

func (*TTS) NumChannels added in v0.4.2

func (t *TTS) NumChannels() int

func (*TTS) Provider added in v0.4.2

func (t *TTS) Provider() string

func (*TTS) SampleRate added in v0.4.2

func (t *TTS) SampleRate() int

func (*TTS) Stream added in v0.4.2

func (t *TTS) Stream(ctx context.Context) (tts.SynthesizeStream, error)

func (*TTS) Synthesize added in v0.4.2

func (t *TTS) Synthesize(ctx context.Context, text string) (tts.ChunkedStream, error)

func (*TTS) UpdateOptions added in v0.4.2

func (t *TTS) UpdateOptions(opts ...TTSOption)

type TTSOption added in v0.4.2

type TTSOption func(*TTS)

func WithMurfTTSBaseURL

func WithMurfTTSBaseURL(baseURL string) TTSOption

func WithMurfTTSEncoding added in v0.1.0

func WithMurfTTSEncoding(encoding string) TTSOption

func WithMurfTTSLocale

func WithMurfTTSLocale(locale string) TTSOption

func WithMurfTTSModel

func WithMurfTTSModel(model string) TTSOption

func WithMurfTTSPitch

func WithMurfTTSPitch(pitch int) TTSOption

func WithMurfTTSSampleRate

func WithMurfTTSSampleRate(sampleRate int) TTSOption

func WithMurfTTSSpeed

func WithMurfTTSSpeed(speed int) TTSOption

func WithMurfTTSStyle

func WithMurfTTSStyle(style string) TTSOption

func WithMurfTTSVoice

func WithMurfTTSVoice(voice string) TTSOption

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL