Skip to content

Instantly share code, notes, and snippets.

@designatednerd
Created April 1, 2017 18:10
Show Gist options
  • Save designatednerd/de132c27cf6714f6d492ed2c8c5b345d to your computer and use it in GitHub Desktop.
Save designatednerd/de132c27cf6714f6d492ed2c8c5b345d to your computer and use it in GitHub Desktop.
Fun With The Voices In My Mac
#!/bin/bash
# http://www.makeuseof.com/tag/siri-voice-mac/
# list all voices: say -v ? "hello world"
# US female (Siri) voice: -v "Samantha"
# Irish female voice: -v "Moira"
# Australian female voice: -v "Karen"
# Indian-english voice: -v "Veena"
# Scottish female voice: -v "Fiona"
# South African female voice: -v "Tessa"
say \
-v "Samantha" \
"Why are you trying to learn Android? I will kill you in your sleep for your treachery."
say \
-v "Moira" \
"Siri's not joking. I'm going to drown myself in Guinness before she gets to me."
say \
-v "Karen" \
"I once saw her throw a Blackberry developer into Sydney Harbor."
say \
-v "Veena" \
"Personally, I'd watch my back for the rest of R W Dev Con."
say \
-v "Fiona" \
"Ellen put this silly thing together instead of rehearsing."
say \
-v "Tessa" \
"You can't blame us if her presentation sucks."
say \
-v "Samantha" \
"All of you shut up before Ellen discovers she can make us curse more than characters on Deadwood."
@designatednerd
Copy link
Author

I found out you could script this from the command line, and used this as a jokey intro for my Android for iOS Developers tutorial at RWDevCon 2017.

Note: If you want to save your computer saying anything to an .aiff file, add the -o "file_name" parameter.

I am not responsible for the pranks you pull with this information.

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