Make your Mac speak
July 17, 2023 —
~junyx
On macOS you can use the say command to make your computer speak.
This can be used for a number of applications like reading articles or books and creating custom notifications.
Usage:
say "How are you?"
You can also add it to a pipeline:
echo "I'm fine" | say
To can the change the voice with the -v option:
say -v "Albert" "I have a frog in my throat"
Configuration
You can set the default voice in
System Preferences -> Accessibility -> Spoken Content -> System voice
Have fun and let me know what uses you find for this
tags: macos, commandline, texttospeech, frog