espeak

Text-to-speech software synthesizer that converts text to spoken audio

brewmacoslinux
Try with needOr install directly
Source

About

Text to speech, software speech synthesizer

Commands

espeakespeak-ng

Examples

Speak a simple text string$ espeak 'Hello, this is a test'
Speak text from a file with slower speed$ espeak -f input.txt -s 120
Generate speech in a different language and save to audio file$ espeak -v fr 'Bonjour' -w output.wav