speechmatics

package
v0.0.13 Latest Latest
Warning

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

Go to latest
Published: May 28, 2026 License: MIT Imports: 13 Imported by: 0

Documentation

Index

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 (*SpeechmaticsTTS) Synthesize

func (t *SpeechmaticsTTS) Synthesize(ctx context.Context, text string) (tts.ChunkedStream, error)

Jump to

Keyboard shortcuts

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