espeak-ng
A multi-lingual software speech synthesizer. tldr-pages
On several platforms
Several platforms
Speak a phrase aloud
espeak-ng "text"IdentifySpeak text from stdin
echo "text" | espeak-ngIdentifySpeak the contents of a file
espeak-ng -f path/to/fileIdentifySpeak using a specific voice
espeak-ng -v voice "text"IdentifySpeak at a specific speed (default is 175) and pitch (default is 50)
espeak-ng -s speed -p pitch "text"IdentifyOutput the audio to a wAV file instead of speaking it directly
espeak-ng -w path/to/output.wav "text"IdentifyList all available voices
espeak-ng --voicesIdentify