mirror of
https://github.com/Luzifer/webtts.git
synced 2025-03-14 17:17:48 +00:00
11 lines
271 B
Go
11 lines
271 B
Go
// Package synth provides an interface for audio synthesis.
|
|
package synth
|
|
|
|
import "context"
|
|
|
|
type (
|
|
// Provider defines the methods required to generate audio.
|
|
Provider interface {
|
|
GenerateAudio(ctx context.Context, voice, language, text string) ([]byte, error)
|
|
}
|
|
)
|