iPhone speech recognition API?

22,143

Solution 1

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.

Solution 2

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

Solution 3

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

Share:
22,143
ShanEllis
Author by

ShanEllis

I'm a Software Engineer who works primarily on Google Cloud Storage.

Updated on May 29, 2020

Comments

  • ShanEllis
    ShanEllis almost 4 years

    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?

  • Brian King
    Brian King almost 14 years
    I wrote a wrapper for pocket sphinx that helps setup as well: github.com/KingOfBrian/VocalKit
  • Petrus Theron
    Petrus Theron almost 13 years
    Is this still current as of 2011?
  • Richard J. Ross III
    Richard J. Ross III almost 13 years
    Thanks a lot for this :)
  • ravoorinandan
    ravoorinandan over 12 years
    Hi brian do you have any example which uses VocalKit if so please share it with me.thanks in adv.