Hi all,
I was wondering if iPhone has any API that supports Text to Speech feature? I looked around but couldn't find any, so just want to confirm.
Thanking in anticipation.
Hi all,
I was wondering if iPhone has any API that supports Text to Speech feature? I looked around but couldn't find any, so just want to confirm.
Thanking in anticipation.
This is possible, but you will have to roll your own. I have seen an app do this.
The iPhone 3G S has the private VoiceServices framework which can do this. Steve Troughton-Smith describes how to use the private class VSSpeechSynthesizer here, but you have little chance of getting something using this into the App Store.
I did this before iPhone 2.0 came out by porting espeak to the platform. I used it as a command line utility but it should be possible to make it into a library.
You might also want to have a look at this: http://artofsystems.blogspot.com/2009/02/speech-synthesis-on-iphone-with-flite.html
It uses Flite. It doesn't contain specific instructions but it can give you ideas.
There's an Iphone app that does direct TTS, Search for "TTSMessenger" on Itunes
I ran into this problem at one point, and got Flite (festival lite) text to speech engine running on iPhone. I recently made an API class for it. I tried to make it easy (and free) to add to new and existing projects. It can be downloaded at http://bitbucket.org/sfoster/iphone-tts/
I believe cmang has done a great job. The class is helpful, thank you http://bitbucket.org/sfoster/iphone-tts/