speechify

package
v0.0.53 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const (
	PluginTitle   = "rtp-agent.plugins.speechify"
	PluginVersion = "1.5.15"
	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)

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

Jump to

Keyboard shortcuts

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