voice

package
v0.4.1 Latest Latest
Warning

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

Go to latest
Published: Mar 29, 2026 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type STTProvider

type STTProvider interface {
	Transcribe(ctx context.Context, audio []byte, format string) (string, error)
}

STTProvider transcribes audio to text.

type TTSProvider

type TTSProvider interface {
	Synthesize(ctx context.Context, text string, voice string) ([]byte, error)
}

TTSProvider synthesizes text to audio.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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