LinuxCommandLibrary

flite

lightweight text-to-speech synthesis

TLDR

Speak text

$ flite -t "[Hello world]"
copy
Speak from file
$ flite -f [text.txt]
copy
Save to audio file
$ flite -t "[Hello world]" -o [output.wav]
copy
Use specific voice
$ flite -voice [rms] -t "[Hello world]"
copy
List available voices
$ flite -lv
copy

SYNOPSIS

flite [options] [text]

DESCRIPTION

flite (Festival Lite) is a small, fast text-to-speech synthesis engine. It converts text to audio using concatenative synthesis, producing speech from recorded fragments.
The engine is designed for embedded systems with limited resources, providing reasonable quality without large runtime requirements. Multiple voices are available with different characteristics.
flite works offline without internet connectivity, making it suitable for accessibility applications and audio generation.

PARAMETERS

TEXT

Text to speak.
-t TEXT
Input text string.
-f FILE
Input from file.
-o FILE
Output audio file.
-voice NAME
Voice to use.
-lv
List available voices.
--help
Display help information.

CAVEATS

Limited voice naturalness compared to neural TTS. Few voice options. Output quality varies by text type.

HISTORY

flite was developed at Carnegie Mellon University as a lightweight version of the Festival speech synthesis system. It's used in accessibility applications, embedded systems, and offline TTS scenarios.

SEE ALSO

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

> TERMINAL_GEAR

Curated for the Linux community

Copied to clipboard

> TERMINAL_GEAR

Curated for the Linux community