6

Possible Duplicate:
Text to speech on iPhone

How do I get started with text-to-speech conversion in iPhone?

I want to read the text typed by the user. Are there any available libraries or demos? I have gone through some of them, but I didn't understand where to start it from.

Community
  • 1
  • 1
Seshu Vinay
  • 13,560
  • 9
  • 60
  • 109

1 Answers1

19

For online,you can use my Google-TTS-Library-For-iOS to achieve your goal.

Offline iPhone TTS implementation is easy to do. You can see the details here.

There are many paid and free iOS TTS libraries are available .

They are ,

Free (Offline/Online)

Paid (Online)

Community
  • 1
  • 1
Shamsudheen TK
  • 30,739
  • 9
  • 69
  • 102
  • 1
    Google TTS works only for short sentences. Do you have a clue why? – Idan Apr 17 '13 at 10:35
  • 1
    Yup.. Its maximum supported text length is 100 characters. So split-up ur long sentence in to parts(each contains 100 characters) , store in to an array and pass one by one to the TTS method. – Shamsudheen TK Apr 17 '13 at 11:27
  • 2
    @Idan: I have edited my answer.. or look at my answer here http://stackoverflow.com/questions/16057961/using-google-text-to-speech-tts-api-on-ios/16095785#16095785 – Shamsudheen TK Apr 19 '13 at 17:41
  • neo speech does not seem to be free – AlexWien Jun 28 '13 at 00:48
  • thanks for this post ramshad. do you know if any TTS engines, including AVSpeechSynthesizer, allow you to use custom voices? – Crashalot Mar 06 '16 at 06:20
  • according to this post apple now offers TTS out of the box with AVSpeechSynthesizer: http://stackoverflow.com/questions/416064/text-to-speech-on-iphone – Crashalot Mar 06 '16 at 06:20