piper

package module
v0.0.0-...-b170e42 Latest Latest
Warning

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

Go to latest
Published: Jan 30, 2024 License: MIT Imports: 17 Imported by: 4

README

piper

Embedded distribution of the rhasspy/piper TTS system for Go

Documentation

Index

Constants

View Source
const (
	DistArcName  = "dist.tzst"
	DistMetaName = "dist.json"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type TTS

type TTS struct {
	ModelCard string
	VoiceName string
	// contains filtered or unexported fields
}

func New

func New(dataDir string, voice asset.Asset) (*TTS, error)

func (*TTS) Synthesize

func (t *TTS) Synthesize(text string) (wav []byte, err error)

Jump to

Keyboard shortcuts

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