6

Does anyone know if it is possible to implement TTS in iOS development like in Android? Is it in a library or something? I believe I heard something about utility and TTS in iOS but I have had difficulty finding any documentation on this matter. Any help would be appreciated.

Charles
  • 50,943
  • 13
  • 104
  • 142
Ribbons Almark
  • 234
  • 2
  • 3
  • 9
  • 1
    By TTS you mean text-to-speech? (Just clarifying.) – John Parker Jan 10 '11 at 20:59
  • HbashirNaij, i've been checking your project, very easy, clean and efective, the only thing i don't like is that you have to be connected to the internet to use it, i've another question, is legal to use the google's tts engine? can i release an app to the market place using this engine? kind regards. – pabloverd Jun 28 '12 at 13:25
  • In iOS7 there is a public API Check this answer: [Text to Speech Support][1] [1]: http://stackoverflow.com/questions/17462739/does-ios-provide-built-in-text-to-speech-support-or-any-class-like-nsspeechrecog/17465494#17465494 – LightMan Nov 15 '13 at 11:49

3 Answers3

5

flite TTS has been turned into an iOS library available here.

It is not too hard to implement. Be aware that the performance that you see in the simulator is way better than on a device and you will need to budget extra for device testing.

Jagat Dave
  • 1,643
  • 3
  • 23
  • 30
Joseph Nardone
  • 457
  • 2
  • 15
5

Check out my project, it's a really easy to use TTS that capitalizes on Google's TTS for translation services. To make it talk, just use an AVAudioPlayer to play the NSMutableData that the method passes. Check out the project here.

Jagat Dave
  • 1,643
  • 3
  • 23
  • 30
HbashirNaij
  • 51
  • 1
  • 2
1

If you mean text-to-speech, there are a variety of accessibility based technologies such as VoiceOver which are discussed with the Accessibility Programming Guide for iOS.

That said, I don't believe these are available for use outside of the realms of accessibility. (i.e.: You can't use these to perform text to speech on demand as far as I'm aware.)

Cœur
  • 37,241
  • 25
  • 195
  • 267
John Parker
  • 54,048
  • 11
  • 129
  • 129