respeecher

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: 16 Imported by: 0

Documentation

Index

Constants

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

Variables

This section is empty.

Functions

This section is empty.

Types

type RespeecherTTS

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

func NewRespeecherTTS

func NewRespeecherTTS(apiKey string, voiceID string, opts ...RespeecherTTSOption) *RespeecherTTS

func (*RespeecherTTS) Capabilities

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

func (*RespeecherTTS) Label

func (t *RespeecherTTS) Label() string

func (*RespeecherTTS) Model added in v0.0.18

func (t *RespeecherTTS) Model() string

func (*RespeecherTTS) NumChannels

func (t *RespeecherTTS) NumChannels() int

func (*RespeecherTTS) Provider added in v0.0.18

func (t *RespeecherTTS) Provider() string

func (*RespeecherTTS) SampleRate

func (t *RespeecherTTS) SampleRate() int

func (*RespeecherTTS) Stream

func (*RespeecherTTS) Synthesize

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

type RespeecherTTSOption

type RespeecherTTSOption func(*RespeecherTTS)

func WithRespeecherTTSBaseURL

func WithRespeecherTTSBaseURL(baseURL string) RespeecherTTSOption

func WithRespeecherTTSModel

func WithRespeecherTTSModel(model string) RespeecherTTSOption

func WithRespeecherTTSSampleRate

func WithRespeecherTTSSampleRate(sampleRate int) RespeecherTTSOption

func WithRespeecherTTSSamplingParams

func WithRespeecherTTSSamplingParams(params map[string]any) RespeecherTTSOption

func WithRespeecherTTSVoice

func WithRespeecherTTSVoice(voiceID string) RespeecherTTSOption

Jump to

Keyboard shortcuts

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