iPhone speech recognition API?

来源:互联网 发布:西门子plc编程手册下载 编辑:程序博客网 时间:2024/06/05 03:27

http://stackoverflow.com/questions/1121548/iphone-speech-recognition-api/1121595#1121595

up vote6 down vote favorite
14

The new iPhone 3GS has support for voice commands, stuff like "call Bill" or "play music by the strokes" and whatnot.

I was looking through the iPhone SDK, but I cannot find any references to this capability. All of the search keywords I choose seem to only find the new voice chat functionality.

Does anyone know whether Apple has added voice command APIs to the SDK, or whether it's yet another forbidden API? If it does exist, could someone point a particular class out to me?

share|edit

 
1 
What is the voice chat capability? Is there an API hook for TTS? I've been looking for that. – XcoderJul 13 '09 at 19:28
2 
Apparently there's not (other than the accessibility stuff). The voice chat stuff is new. It's specifically for allowing two iPhone users to speak with each other over a data stream. It's designed for use in games. – CaptainAwesomePantsJul 13 '09 at 20:58
feedback

3 Answers

activeoldestvotes
up vote5 down vote accepted

The SDK does not support either voice recognition or text to speech. Voice recognition is only available through the Voice control app, and text to speech is only available through the accessibility APIs when accessibility is turned on.

share|edit
 
Is this still current as of 2011? – FreshCodeMay 15 '11 at 20:37
feedback
up vote14 down vote

OpenEars is a really nice Objective-C API for CMU Sphinx. Worth checking out if you want to incorporate CMU Sphinx in your app.

share|edit
 
Thanks a lot for this :) – Richard J. Ross IIIJun 15 '11 at 19:31
feedback
up vote4 down vote

One could try to bundle poketsphinx speech recognition library from the CMU Sphinx project. It is a open sourcelarge vocabulary, speaker-independent continuous speech recognitionengine. Chech theREADME to see how to set up in XCode.

share|edit
 
7 
I wrote a wrapper for pocket sphinx that helps setup as well:github.com/KingOfBrian/VocalKit – Brian KingMay 14 '10 at 22:25
 
Hi brian do you have any example which uses VocalKit if so please share it with me.thanks in adv. – ravoorinandanJul 27 '11 at 6:14