RealtimeTTS

RealtimeTTS is a Python text-to-speech library for applications that need to
turn strings, generators, and LLM token streams into audio with low latency. It
can play speech locally, stream chunks to another process, write WAV files, and
fall back across multiple engines.
The project supports a broad engine matrix: local system voices, cloud APIs,
free service wrappers, local neural models, and voice-cloning stacks.
Install
For the fastest local smoke test, install the system engine:
pip install "realtimetts[system]"
On Linux, install PortAudio headers before installing PyAudio:
sudo apt-get update
sudo apt-get install python3-dev portaudio19-dev
On macOS: