Text to speech on iPhone [closed]

六眼飞鱼酱① 提交于 2019-11-26 01:57:30

问题


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


回答1:


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




回答2:


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




回答3:


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




回答4:


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

Hope it helps!




回答5:


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.




回答6:


http://github.com/KingOfBrian/VocalKit

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




回答7:


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.




回答8:


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




回答9:


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.



来源:https://stackoverflow.com/questions/416064/text-to-speech-on-iphone

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