Skip to content

Instantly share code, notes, and snippets.

@myrickchow32
Last active February 13, 2019 02:54
Show Gist options
  • Save myrickchow32/c83dfea6f5a840587a971ccf9cb2c2f8 to your computer and use it in GitHub Desktop.
Save myrickchow32/c83dfea6f5a840587a971ccf9cb2c2f8 to your computer and use it in GitHub Desktop.
/*
Three possible outcomes:
1. The user selected accent in "en-AU" category
2. iOS default accent in "en-AU" category
2.1 Compact
2.2 Enhanced (if user has downloaded)
*/
let voice = AVSpeechSynthesisVoice(language: "en-AU")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment