Documentation
¶
Index ¶
- Constants
- type STT
- func (s *STT) Capabilities() stt.STTCapabilities
- func (s *STT) Label() string
- func (s *STT) Model() string
- func (s *STT) Provider() string
- func (s *STT) Recognize(ctx context.Context, frames []*model.AudioFrame, language string) (*stt.SpeechEvent, error)
- func (s *STT) Stream(ctx context.Context, language string) (stt.RecognizeStream, error)
- type SpitchSTTdeprecated
- type SpitchTTSdeprecated
- type SpitchTTSOptiondeprecated
- 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)
- type TTSOption
Constants ¶
View Source
const ( PluginTitle = "rtp-agent.plugins.spitch" PluginVersion = "v0.4.2" PluginPackage = "rtp-agent.plugins.spitch" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type STT ¶ added in v0.4.2
type STT struct {
// contains filtered or unexported fields
}
func NewSpitchSTT
deprecated
func (*STT) Capabilities ¶ added in v0.4.2
func (s *STT) Capabilities() stt.STTCapabilities
type SpitchTTSOption
deprecated
added in
v0.0.15
type SpitchTTSOption = TTSOption
Deprecated: use TTSOption.
type TTS ¶ added in v0.4.2
type TTS struct {
// contains filtered or unexported fields
}
func NewSpitchTTS
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
type TTSOption ¶ added in v0.4.2
type TTSOption func(*TTS)
func WithSpitchTTSBaseURL ¶ added in v0.0.15
func WithSpitchTTSLanguage ¶ added in v0.0.15
func WithSpitchTTSOutputFormat ¶ added in v0.0.15
func WithSpitchTTSSampleRate ¶ added in v0.0.15
func WithSpitchTTSVoice ¶ added in v0.0.15
Click to show internal directories.
Click to hide internal directories.