Skip to content

Pika TTS is a small, local text to speech voice synthesizer package based on the SVox Pico library included in Android AOSP

License

Notifications You must be signed in to change notification settings

amitybell/pikatts

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

About

Pika TTS is a small, local text to speech voice synthesizer package based on the SVox Pico library included in Android AOSP

Sample

A sample is available in testdata/sample.wav

Usage

import (
	"github.com/amitybell/pikatts"
	"log"
)

func main() {
	eng, err := pikatts.New(pikatts.British)
	if err != nil {
		log.Fatalln("Failed to create TTS engine:", err)
	}
	defer eng.Close()

	wav, err := eng.Synthesize("hello world")
	if err != nil {
		log.Fatalln("Failed synthesize text:", err)
	}

	// Do something with `wav`
	_ = wav
}

See Also

This package deals solely with text-to-speech synthesizing. Other packages can be used to further process or play the generated audio.

About

Pika TTS is a small, local text to speech voice synthesizer package based on the SVox Pico library included in Android AOSP

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published