Skip to content

Instantly share code, notes, and snippets.

@lobrien
Created October 18, 2013 21:30
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save lobrien/7048562 to your computer and use it in GitHub Desktop.
Save lobrien/7048562 to your computer and use it in GitHub Desktop.
There are a lot of voices available for iOS 7...
var ss = new AVSpeechSynthesizer();
foreach(var voice in AVSpeechSynthesisVoice.GetSpeechVoices())
{
var su = new AVSpeechUtterance("Microphone check. One, two, one two.") {
Rate = AVSpeechUtterance.DefaultSpeechRate,
Voice = voice
};
ss.SpeakUtterance(su);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment