Skip to content

Instantly share code, notes, and snippets.

@wesbos
Last active March 28, 2017 13:36
Show Gist options
  • Save wesbos/9698081c4c758f695f88 to your computer and use it in GitHub Desktop.
Save wesbos/9698081c4c758f695f88 to your computer and use it in GitHub Desktop.
Listen to all the voices inside your Mac computer
# paste this into your console and hit enter
for voice in Agnes Kathy Princess Vicki Victoria Alex Bruce Fred Junior Ralph Albert Bad News Bahh Bells Boing Bubbles Cellos Deranged Good News Hysterical Pipe Organ Trinoids Whisper Zarvox; do say "Hi `whoami` my name is ${voice}" -v ${voice}; done
@fredrivett
Copy link

Haha nice one Wes! Just an FYI, it looks like 'news' after 'bad' & 'good' isn't necessary, as is 'organ' after pipe. Love this otherwise though 👍

@romulomachado
Copy link

For iTerm.app, some voices need escaping the space:

for voice in Agnes Kathy Princess Vicki Victoria Alex Bruce Fred Junior Ralph Albert Bad\ News Bahh Bells Boing Bubbles Cellos Deranged Good\ News Hysterical Pipe\ Organ Trinoids Whisper Zarvox; do say "Hi `whoami` my name is ${voice}" -v ${voice}; done

@ahmadawais
Copy link

Hahha!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment