-
-
Save machty/aab78711247617a0cb06541583d55aa8 to your computer and use it in GitHub Desktop.
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
#!/usr/bin/env sh | |
# use/uncomment this instead to weed out the annoying singing voices | |
#voices=`say -v ? | grep en_US | grep -v Cellos | grep -v Good | grep -v Hysterical | grep -v Bad | grep -v Pipe | grep -v Bells | cut -f1 -d ' '` | |
voices=`say -v ? | grep en_US | cut -f1 -d ' '` | |
num=`echo $voices | wc -w` | |
echo $voices | xargs -n 1 -P $num say $* -v |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment