lmnt

package
v0.0.21 Latest Latest
Warning

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

Go to latest
Published: Jun 11, 2026 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const (
	PluginTitle   = "rtp-agent.plugins.lmnt"
	PluginVersion = "1.5.15"
	PluginPackage = "rtp-agent.plugins.lmnt"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type LMNTTTS

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

func NewLMNTTTS

func NewLMNTTTS(apiKey string, voice string, opts ...LMNTTTSOption) *LMNTTTS

func (*LMNTTTS) Capabilities

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

func (*LMNTTTS) Label

func (t *LMNTTTS) Label() string

func (*LMNTTTS) Model added in v0.0.18

func (t *LMNTTTS) Model() string

func (*LMNTTTS) NumChannels

func (t *LMNTTTS) NumChannels() int

func (*LMNTTTS) Provider added in v0.0.18

func (t *LMNTTTS) Provider() string

func (*LMNTTTS) SampleRate

func (t *LMNTTTS) SampleRate() int

func (*LMNTTTS) Stream

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

func (*LMNTTTS) Synthesize

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

type LMNTTTSOption added in v0.0.15

type LMNTTTSOption func(*LMNTTTS)

func WithLMNTTTSFormat added in v0.0.15

func WithLMNTTTSFormat(format string) LMNTTTSOption

func WithLMNTTTSLanguage added in v0.0.15

func WithLMNTTTSLanguage(language string) LMNTTTSOption

func WithLMNTTTSModel added in v0.0.15

func WithLMNTTTSModel(model string) LMNTTTSOption

func WithLMNTTTSSampleRate added in v0.0.15

func WithLMNTTTSSampleRate(sampleRate int) LMNTTTSOption

func WithLMNTTTSTemperature added in v0.0.15

func WithLMNTTTSTemperature(temperature float64) LMNTTTSOption

func WithLMNTTTSTopP added in v0.0.15

func WithLMNTTTSTopP(topP float64) LMNTTTSOption

func WithLMNTTTSVoice added in v0.0.15

func WithLMNTTTSVoice(voice string) LMNTTTSOption

Jump to

Keyboard shortcuts

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