speechify

package
v0.1.6 Latest Latest
Warning

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

Go to latest
Published: Jul 8, 2026 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

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

Variables

This section is empty.

Functions

This section is empty.

Types

type SpeechifyTTS

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

func NewSpeechifyTTS

func NewSpeechifyTTS(apiKey string, voice string, opts ...SpeechifyTTSOption) *SpeechifyTTS

func (*SpeechifyTTS) Capabilities

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

func (*SpeechifyTTS) Label

func (t *SpeechifyTTS) Label() string

func (*SpeechifyTTS) Model added in v0.0.18

func (t *SpeechifyTTS) Model() string

func (*SpeechifyTTS) NumChannels

func (t *SpeechifyTTS) NumChannels() int

func (*SpeechifyTTS) Provider added in v0.0.18

func (t *SpeechifyTTS) Provider() string

func (*SpeechifyTTS) SampleRate

func (t *SpeechifyTTS) SampleRate() int

func (*SpeechifyTTS) Stream

func (*SpeechifyTTS) Synthesize

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

func (*SpeechifyTTS) UpdateOptions added in v0.1.6

func (t *SpeechifyTTS) UpdateOptions(opts ...SpeechifyTTSUpdateOption)

type SpeechifyTTSOption added in v0.0.15

type SpeechifyTTSOption func(*SpeechifyTTS)

func WithSpeechifyTTSBaseURL added in v0.0.15

func WithSpeechifyTTSBaseURL(baseURL string) SpeechifyTTSOption

func WithSpeechifyTTSEncoding added in v0.0.15

func WithSpeechifyTTSEncoding(encoding string) SpeechifyTTSOption

func WithSpeechifyTTSLanguage added in v0.0.15

func WithSpeechifyTTSLanguage(language string) SpeechifyTTSOption

func WithSpeechifyTTSLoudnessNormalization added in v0.0.15

func WithSpeechifyTTSLoudnessNormalization(enabled bool) SpeechifyTTSOption

func WithSpeechifyTTSModel added in v0.0.15

func WithSpeechifyTTSModel(model string) SpeechifyTTSOption

func WithSpeechifyTTSTextNormalization added in v0.0.15

func WithSpeechifyTTSTextNormalization(enabled bool) SpeechifyTTSOption

func WithSpeechifyTTSVoice added in v0.0.15

func WithSpeechifyTTSVoice(voice string) SpeechifyTTSOption

type SpeechifyTTSUpdateOption added in v0.1.6

type SpeechifyTTSUpdateOption func(*SpeechifyTTS)

func WithSpeechifyTTSUpdateLanguage added in v0.1.6

func WithSpeechifyTTSUpdateLanguage(language string) SpeechifyTTSUpdateOption

func WithSpeechifyTTSUpdateLoudnessNormalization added in v0.1.6

func WithSpeechifyTTSUpdateLoudnessNormalization(enabled bool) SpeechifyTTSUpdateOption

func WithSpeechifyTTSUpdateModel added in v0.1.6

func WithSpeechifyTTSUpdateModel(model string) SpeechifyTTSUpdateOption

func WithSpeechifyTTSUpdateTextNormalization added in v0.1.6

func WithSpeechifyTTSUpdateTextNormalization(enabled bool) SpeechifyTTSUpdateOption

func WithSpeechifyTTSUpdateVoice added in v0.1.6

func WithSpeechifyTTSUpdateVoice(voice string) SpeechifyTTSUpdateOption

Jump to

Keyboard shortcuts

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