How to implement text to speech functionality in iPad?

后端 未结 2 1186
小鲜肉
小鲜肉 2021-01-23 12:29

Is there any 3rd party API which will provide text to speech facility??

相关标签:
2条回答
  • 2021-01-23 13:09

    Yes.

    The CMU Flite (Festival Lite) speech synthesis library has been ported to iOS and appears to be used in many iPhone and iPad apps in the App store.

    0 讨论(0)
  • 2021-01-23 13:17

    Yes. Follow this link for your reference. You can use this as you require. There is iPhone sample in there, but it is easy to convert it to iPad.

    And there is also other way with google api using following way.

    http://translate.google.com/translate_tts?tl=en&q=Yourtext. But it has certain limitation like 100 chars and also you have to look for commercial usage conditions.

    This you can load in UIWebView passing your text.

    Hope it helps.

    0 讨论(0)
提交回复
热议问题