speechify

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

Documentation

Index

Constants

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

Variables

This section is empty.

Functions

This section is empty.

Types

type SpeechifyTTS deprecated

type SpeechifyTTS = TTS

Deprecated: use TTS.

type SpeechifyTTSOption deprecated added in v0.0.15

type SpeechifyTTSOption = TTSOption

Deprecated: use TTSOption.

type SpeechifyTTSUpdateOption added in v0.1.6

type SpeechifyTTSUpdateOption func(*TTS)

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

type TTS added in v0.4.2

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

func NewSpeechifyTTS deprecated

func NewSpeechifyTTS(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) 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 ...SpeechifyTTSUpdateOption)

type TTSOption added in v0.4.2

type TTSOption func(*TTS)

func WithSpeechifyTTSBaseURL added in v0.0.15

func WithSpeechifyTTSBaseURL(baseURL string) TTSOption

func WithSpeechifyTTSEncoding added in v0.0.15

func WithSpeechifyTTSEncoding(encoding string) TTSOption

func WithSpeechifyTTSLanguage added in v0.0.15

func WithSpeechifyTTSLanguage(language string) TTSOption

func WithSpeechifyTTSLoudnessNormalization added in v0.0.15

func WithSpeechifyTTSLoudnessNormalization(enabled bool) TTSOption

func WithSpeechifyTTSModel added in v0.0.15

func WithSpeechifyTTSModel(model string) TTSOption

func WithSpeechifyTTSTextNormalization added in v0.0.15

func WithSpeechifyTTSTextNormalization(enabled bool) TTSOption

func WithSpeechifyTTSVoice added in v0.0.15

func WithSpeechifyTTSVoice(voice string) TTSOption

Jump to

Keyboard shortcuts

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