Search code examples
iosiphonecocoa-touchtext-to-speech

Can we / how do we use the iOS speech engine?


I'd like to use the iOS speech engine in my app to speak some text. Is this available to developers and if it is how do we use it?


Solution

  • The CMU Flite libraries offer pretty good text to speech, with a few voices. You give it text and it outputs a .wav file, which you can play through AVAudioPlayer.