Cocoa main loop updating dating agency ireland style
It lets you easily implement local, offline speech recognition in English and five other languages, and English text-to-speech (synthesized speech).
Add the following to your implementation (the .m file): Before you want to use TTS speech in your app, instantiate an OEFlite Controller and a voice as follows (perhaps in your view controller's view Did Load method): There can only be one OEFlite Controller instance in your app at any given moment.
There are a few basic concepts to understand about voice recognition and Open Ears that will make it easiest to create an app.
OEPocketsphinx Controller recognizes speech using a language model that was dynamically created by OELanguage Model Generator.
If TTS speech is initiated during a live OEPocketsphinx Controller listening loop and the speaker is the audio output, listening will be suspended (so the TTS speech isn't recognized) and then resumed on TTS speech completion.
If you have already suspended listening manually, you will need to suspend it again when OEFlite Controller is done speaking.