-
-
Save lsferreira42/c9613a816d6e3e0f0e6c to your computer and use it in GitHub Desktop.
All Mac computer voices. Some are funny, some are disturbing!
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
COLOR_LIGHT_RED=$(tput sgr0 && tput bold && tput setaf 1) | |
COLOR_LIGHT_CYAN=$(tput sgr0 && tput bold && tput setaf 6) | |
COLOR_RESET=$(tput sgr0) | |
say -v ? | while read line; do | |
voice=`echo $line | awk '{ print $1 }'` | |
phrase=`echo $line | sed -E 's/^.+# //'` | |
echo "${COLOR_LIGHT_RED}say -v ${COLOR_LIGHT_CYAN}${voice}${COLOR_RESET} $phrase" | |
say -v $voice $phrase | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment