Documentation
¶
Index ¶
- type SpitchSTT
- func (s *SpitchSTT) Capabilities() stt.STTCapabilities
- func (s *SpitchSTT) Label() string
- func (s *SpitchSTT) Recognize(ctx context.Context, frames []*model.AudioFrame, language string) (*stt.SpeechEvent, error)
- func (s *SpitchSTT) Stream(ctx context.Context, language string) (stt.RecognizeStream, error)
- type SpitchTTS
- func (t *SpitchTTS) Capabilities() tts.TTSCapabilities
- func (t *SpitchTTS) Label() string
- func (t *SpitchTTS) NumChannels() int
- func (t *SpitchTTS) SampleRate() int
- func (t *SpitchTTS) Stream(ctx context.Context) (tts.SynthesizeStream, error)
- func (t *SpitchTTS) Synthesize(ctx context.Context, text string) (tts.ChunkedStream, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SpitchSTT ¶
type SpitchSTT struct {
// contains filtered or unexported fields
}
func NewSpitchSTT ¶
func (*SpitchSTT) Capabilities ¶
func (s *SpitchSTT) Capabilities() stt.STTCapabilities
type SpitchTTS ¶
type SpitchTTS struct {
// contains filtered or unexported fields
}
func NewSpitchTTS ¶
func (*SpitchTTS) Capabilities ¶
func (t *SpitchTTS) Capabilities() tts.TTSCapabilities
func (*SpitchTTS) NumChannels ¶
func (*SpitchTTS) SampleRate ¶
func (*SpitchTTS) Synthesize ¶
Click to show internal directories.
Click to hide internal directories.