Is it possible to use TTS in iOS

不羁的心 提交于 2019-11-30 07:34:44
Joseph Nardone

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.

HbashirNaij

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.

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.)

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!