speech

package
v0.3.1 Latest Latest
Warning

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

Go to latest
Published: Mar 3, 2026 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Say

func Say(text string, volume int) error

Say synthesizes text to speech using espeak-ng or espeak on Linux.

func SayToFile added in v0.2.5

func SayToFile(text string, volume int, outPath string) error

SayToFile renders TTS to a WAV file at the given path. espeak-ng/espeak --stdout outputs WAV to stdout.

Types

This section is empty.

Jump to

Keyboard shortcuts

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