LinuxCommandLibrary
GitHubF-DroidGoogle Play Store

aspeak

Azure neural text-to-speech from the command line

TLDR

Speak text with a voice
$ aspeak -t "[Hello world]" -v [en-US-JennyNeural]
copy
Read a file
$ aspeak -f [text.txt] -o [out.mp3]
copy
List voices
$ aspeak -l
copy

SYNOPSIS

aspeak [*options*]

DESCRIPTION

aspeak is a CLI client for Azure Cognitive Services Text-to-Speech (neural voices). Synthesize speech from text or files, select locales/voices, and write audio to files or play it. Install via pip install aspeak or Cargo builds documented upstream.

PARAMETERS

-t, --text *string*

Text to synthesize.
-f, --file *path*
Input text file.
-v, --voice *name*
Voice name.
-o, --output *file*
Output audio path.
-l, --list-voices
List available voices (requires auth).
Authentication uses Azure speech keys/region via env vars or config—see upstream docs.

INSTALL

yay -S aspeak
copy

CAVEATS

Requires Azure Speech credentials and network access; usage is billable. Voice availability varies by region.

SEE ALSO

espeak(1), festival(1), say(1)

RESOURCES

Copied to clipboard
Kai