LinuxAlternative

Linux · Universal Access

Flite

Flite is a lightweight, real-time text-to-speech engine that provides basic audio output for assistive technologies on Linux.

Open sourceFree
Be the first to rate
License
MIT
Latest version
2.2

What is Flite?

Flite is a fast, low-quality text-to-speech engine designed for embedded systems and basic accessibility. It has been around for decades, making it a mature and stable component in many Linux distributions. While it lacks the natural prosody of modern neural engines, it is reliable and resource-efficient, serving as a foundational tool for screen readers and other assistive software that need simple audio feedback without heavy computational overhead.

This tool is primarily for users who need basic speech synthesis for screen readers, terminal output, or embedded projects. It is not intended for users seeking high-fidelity audiobook production or complex voice cloning. If you are using a screen reader like Orca, Flite often acts as the backend engine, converting text into audio so that visually impaired users can hear system messages, error alerts, and document content in real-time.

Compared to NVDA on Windows, which uses more advanced speech synthesis backends, Flite produces a more robotic and less natural-sounding voice. However, it is significantly lighter on system resources. For a developer or a user with older hardware, Flite offers a functional, if basic, alternative. It prioritizes speed and simplicity over vocal realism, making it a practical choice for utility-focused accessibility tasks rather than immersive listening experiences.

Best for: Users needing a lightweight, reliable TTS engine for screen readers or basic audio feedback on Linux.

Key features of Flite

  • Real-time text-to-speech synthesis
  • Multiple voice options with varying quality
  • Low CPU and memory footprint
  • Command-line interface for scripting
  • Integration with screen readers like Orca
  • Support for SSML (Speech Synthesis Markup Language)
  • Available in major Linux distributions
  • Open-source and free to use

Pros

  • Extremely lightweight and fast
  • Widely available in package managers
  • Stable and mature codebase
  • Easy to integrate via CLI

Cons

  • Robotic and unnatural voice quality
  • Limited voice selection compared to modern engines
  • Not suitable for high-fidelity audio production
  • Lacks advanced prosody controls

How to install Flite on Linux

Ubuntu / Mintsudo apt install flite
Debiansudo apt install flite
Fedorasudo dnf install flite
Arch / Manjarosudo pacman -S flite
openSUSEsudo zypper install flite

Tips for Windows users

Coming from NVDA, you will likely use Orca as your screen reader, which can use Flite as its TTS backend. You won't configure Flite directly for daily use but rather through Orca's settings. Note that the voice quality will be noticeably more robotic than Windows' SAPI voices. Ensure you have the correct audio drivers installed and check Orca's preferences to select the Flite voice that best suits your needs. There are no specific file format differences for TTS, but workflow changes involve using Orca's keybindings instead of NVDA's.

Flite: frequently asked questions

Is Flite better than espeak-ng?

Flite generally offers slightly better voice quality than espeak-ng, but both are basic. espeak-ng is more commonly used in modern screen readers due to its active development and broader language support.

Can I install Flite on Ubuntu?

Yes, Flite is available in the Ubuntu repositories. You can install it using 'sudo apt install flite'.

Does Flite support multiple languages?

Flite supports a limited number of languages, primarily English. For broader language support, consider espeak-ng or other TTS engines.

How do I change the voice in Flite?

You can specify the voice using the '-v' flag in the command line, such as 'flite -v slt -t "Hello"'. The available voices depend on the installed voice files.

Updated