Text to speech on iPhone

IphoneCore Audio

Iphone Problem Overview


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

Iphone Solutions


Solution 1 - Iphone

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

Solution 2 - Iphone

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

Solution 3 - Iphone

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

Solution 4 - Iphone

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

Hope it helps!

Solution 5 - Iphone

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.

Solution 6 - Iphone

http://github.com/KingOfBrian/VocalKit

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

Solution 7 - Iphone

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.

Solution 8 - Iphone

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

Solution 9 - Iphone

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.

Attributions

All content for this solution is sourced from the original question on Stackoverflow.

The content on this page is licensed under the Attribution-ShareAlike 4.0 International (CC BY-SA 4.0) license.

Content TypeOriginal AuthorOriginal Content on Stackoverflow
QuestionlostInTransitView Question on Stackoverflow
Solution 1 - IphoneChristopher St JohnView Answer on Stackoverflow
Solution 2 - IphonemmxView Answer on Stackoverflow
Solution 3 - IphoneHalleView Answer on Stackoverflow
Solution 4 - IphonewilliumView Answer on Stackoverflow
Solution 5 - IphoneFariniView Answer on Stackoverflow
Solution 6 - IphoneBrian KingView Answer on Stackoverflow
Solution 7 - IphoneTomsoftView Answer on Stackoverflow
Solution 8 - Iphonebrian.clearView Answer on Stackoverflow
Solution 9 - IphoneGamma-PointView Answer on Stackoverflow