murf

package
v0.1.4 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const (
	PluginTitle   = "rtp-agent.plugins.murf"
	PluginVersion = "v0.1.4"
	PluginPackage = "rtp-agent.plugins.murf"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type MurfTTS

type MurfTTS struct {
	// contains filtered or unexported fields
}

func NewMurfTTS

func NewMurfTTS(apiKey string, voice string, opts ...MurfTTSOption) *MurfTTS

func (*MurfTTS) Capabilities

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

func (*MurfTTS) Close added in v0.1.0

func (t *MurfTTS) Close() error

func (*MurfTTS) Label

func (t *MurfTTS) Label() string

func (*MurfTTS) Model added in v0.0.18

func (t *MurfTTS) Model() string

func (*MurfTTS) NumChannels

func (t *MurfTTS) NumChannels() int

func (*MurfTTS) Provider added in v0.0.18

func (t *MurfTTS) Provider() string

func (*MurfTTS) SampleRate

func (t *MurfTTS) SampleRate() int

func (*MurfTTS) Stream

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

func (*MurfTTS) Synthesize

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

func (*MurfTTS) UpdateOptions added in v0.1.0

func (t *MurfTTS) UpdateOptions(opts ...MurfTTSOption)

type MurfTTSOption

type MurfTTSOption func(*MurfTTS)

func WithMurfTTSBaseURL

func WithMurfTTSBaseURL(baseURL string) MurfTTSOption

func WithMurfTTSEncoding added in v0.1.0

func WithMurfTTSEncoding(encoding string) MurfTTSOption

func WithMurfTTSLocale

func WithMurfTTSLocale(locale string) MurfTTSOption

func WithMurfTTSModel

func WithMurfTTSModel(model string) MurfTTSOption

func WithMurfTTSPitch

func WithMurfTTSPitch(pitch int) MurfTTSOption

func WithMurfTTSSampleRate

func WithMurfTTSSampleRate(sampleRate int) MurfTTSOption

func WithMurfTTSSpeed

func WithMurfTTSSpeed(speed int) MurfTTSOption

func WithMurfTTSStyle

func WithMurfTTSStyle(style string) MurfTTSOption

func WithMurfTTSVoice

func WithMurfTTSVoice(voice string) MurfTTSOption

Jump to

Keyboard shortcuts

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