Documentation
¶
Index ¶
- Constants
- type SpeechifyTTSdeprecated
- type SpeechifyTTSOptiondeprecated
- type SpeechifyTTSUpdateOption
- func WithSpeechifyTTSUpdateLanguage(language string) SpeechifyTTSUpdateOption
- func WithSpeechifyTTSUpdateLoudnessNormalization(enabled bool) SpeechifyTTSUpdateOption
- func WithSpeechifyTTSUpdateModel(model string) SpeechifyTTSUpdateOption
- func WithSpeechifyTTSUpdateTextNormalization(enabled bool) SpeechifyTTSUpdateOption
- func WithSpeechifyTTSUpdateVoice(voice string) SpeechifyTTSUpdateOption
- type TTS
- func (t *TTS) Capabilities() tts.TTSCapabilities
- func (t *TTS) Label() string
- func (t *TTS) Model() string
- func (t *TTS) NumChannels() int
- func (t *TTS) Provider() string
- func (t *TTS) SampleRate() int
- func (t *TTS) Stream(ctx context.Context) (tts.SynthesizeStream, error)
- func (t *TTS) Synthesize(ctx context.Context, text string) (tts.ChunkedStream, error)
- func (t *TTS) UpdateOptions(opts ...SpeechifyTTSUpdateOption)
- type TTSOption
- func WithSpeechifyTTSBaseURL(baseURL string) TTSOption
- func WithSpeechifyTTSEncoding(encoding string) TTSOption
- func WithSpeechifyTTSLanguage(language string) TTSOption
- func WithSpeechifyTTSLoudnessNormalization(enabled bool) TTSOption
- func WithSpeechifyTTSModel(model string) TTSOption
- func WithSpeechifyTTSTextNormalization(enabled bool) TTSOption
- func WithSpeechifyTTSVoice(voice string) TTSOption
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 (*TTS) Capabilities ¶ added in v0.4.2
func (t *TTS) Capabilities() tts.TTSCapabilities
func (*TTS) NumChannels ¶ added in v0.4.2
func (*TTS) SampleRate ¶ added in v0.4.2
func (*TTS) Synthesize ¶ added in v0.4.2
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 WithSpeechifyTTSEncoding ¶ added in v0.0.15
func WithSpeechifyTTSLanguage ¶ added in v0.0.15
func WithSpeechifyTTSLoudnessNormalization ¶ added in v0.0.15
func WithSpeechifyTTSModel ¶ added in v0.0.15
func WithSpeechifyTTSTextNormalization ¶ added in v0.0.15
func WithSpeechifyTTSVoice ¶ added in v0.0.15
Click to show internal directories.
Click to hide internal directories.