say

command
v0.0.0-...-07f8463 Latest Latest
Warning

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

Go to latest
Published: Nov 16, 2026 License: MIT Imports: 16 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Command say speaks a line of text through the default audio device, with no WAV file in between, and types the text out in the terminal as it is spoken.

say [-voice soft|file.voice.json] [-lang file.lang.json] [-volume 1] "Hello there, traveler!"

It takes the same -voice and -lang flags as voiceplay (in the core module). It lives in the ebiten module because playing sound needs an audio backend, and the core module has no dependencies. It talks to oto, the audio library under Ebiten's audio package, directly: Ebiten's audio context opens the device only from a running game loop, which a command line program does not have. Ctrl+C stops the line.

As in voiceplay, the line may give words to other voices with markup ("He said {gruff}stay back{/}."): a tag names a starter voice or a voice file, {name~} is an impression, and -plain speaks the text as written.

Jump to

Keyboard shortcuts

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