Question

Is there any way we can convert text to speech in an iPhone app? Is it possible using the SDK?

Was it helpful?

Solution

I don't think iPhone SDK provides any TTS facility internally. You should use a third party TTS engine or write one yourself.

OTHER TIPS

The Flite speech synthesis engine can be run on an iPhone, ref http://artofsystems.blogspot.com/2009/02/speech-synthesis-on-iphone-with-flite.html

OpenEars also does text-to-speech on the iPhone (note: I'm the developer).

I'm probably bumping a dead thread but the Flite text-to-speech engine worked wonders for me!

Hope it helps!

Here's another text to speech:

https://bitbucket.org/sfoster/iphone-tts/

You need to download it and install as an API then you can use it like that :

[fliteEngine speakText:@"Hi there"];                    // Make it talk
[fliteEngine setPitch:90.0 variance:50.0 speed:0.9];    // Change the voice properties
[fliteEngine setVoice:@"cmu_us_awb"];                   // Switch to a different voice
[fliteEngine stopTalking];                              // stop talking

Pretty easy to use once you installed it as an API correctly.

http://github.com/KingOfBrian/VocalKit

I wrote a wrapper around pocket sphinx and flite, you should be able to check it out pretty quickly.

The Tomsoft engine is only slow with the custom voices. I'm not sure why. But if you remove the other voices and just the integrated basic KAL voice it will speak almost instanteously. Please send me an email using the contact form on my website if you need any help with this.

for text to sound files I just found these will researching above files

http://www.ivona.com/online/editor.php

http://www.acapela-box.com/

IVONA also has IPhone SDK

http://www.ivona.com/developer.php

Hoya VoiceText is the original provider of the TTS engine. Most of the commercial companies in US create a wrapper around VocieText and resell it.

This was developed by Pentax (LG's spinoff - Korean) which got bought by Hoya (a huge Japanese firm).

Visit here to send a request for the TTS engine: http://voicetext.jp/blog/122.html

Use google translate for English website.

Hoya is based in Japan, but they own NeoSpeech, which is their US provider of the VoiceText Engine. Check out their website for demos.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top