Documentation
¶
Index ¶
- type SpeechmaticsSTT
- func (s *SpeechmaticsSTT) Capabilities() stt.STTCapabilities
- func (s *SpeechmaticsSTT) Label() string
- func (s *SpeechmaticsSTT) Recognize(ctx context.Context, frames []*model.AudioFrame, language string) (*stt.SpeechEvent, error)
- func (s *SpeechmaticsSTT) Stream(ctx context.Context, language string) (stt.RecognizeStream, error)
- type SpeechmaticsTTS
- func (t *SpeechmaticsTTS) Capabilities() tts.TTSCapabilities
- func (t *SpeechmaticsTTS) Label() string
- func (t *SpeechmaticsTTS) NumChannels() int
- func (t *SpeechmaticsTTS) SampleRate() int
- func (t *SpeechmaticsTTS) Stream(ctx context.Context) (tts.SynthesizeStream, error)
- func (t *SpeechmaticsTTS) 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 SpeechmaticsSTT ¶
type SpeechmaticsSTT struct {
// contains filtered or unexported fields
}
func NewSpeechmaticsSTT ¶
func NewSpeechmaticsSTT(apiKey string) *SpeechmaticsSTT
func (*SpeechmaticsSTT) Capabilities ¶
func (s *SpeechmaticsSTT) Capabilities() stt.STTCapabilities
func (*SpeechmaticsSTT) Label ¶
func (s *SpeechmaticsSTT) Label() string
func (*SpeechmaticsSTT) Recognize ¶
func (s *SpeechmaticsSTT) Recognize(ctx context.Context, frames []*model.AudioFrame, language string) (*stt.SpeechEvent, error)
func (*SpeechmaticsSTT) Stream ¶
func (s *SpeechmaticsSTT) Stream(ctx context.Context, language string) (stt.RecognizeStream, error)
type SpeechmaticsTTS ¶
type SpeechmaticsTTS struct {
// contains filtered or unexported fields
}
func NewSpeechmaticsTTS ¶
func NewSpeechmaticsTTS(apiKey string) *SpeechmaticsTTS
func (*SpeechmaticsTTS) Capabilities ¶
func (t *SpeechmaticsTTS) Capabilities() tts.TTSCapabilities
func (*SpeechmaticsTTS) Label ¶
func (t *SpeechmaticsTTS) Label() string
func (*SpeechmaticsTTS) NumChannels ¶
func (t *SpeechmaticsTTS) NumChannels() int
func (*SpeechmaticsTTS) SampleRate ¶
func (t *SpeechmaticsTTS) SampleRate() int
func (*SpeechmaticsTTS) Stream ¶
func (t *SpeechmaticsTTS) Stream(ctx context.Context) (tts.SynthesizeStream, error)
func (*SpeechmaticsTTS) Synthesize ¶
func (t *SpeechmaticsTTS) Synthesize(ctx context.Context, text string) (tts.ChunkedStream, error)
Click to show internal directories.
Click to hide internal directories.