Jim McKeeth from Embarcadero has upgraded his Android Text to Speech and Speech Recognition components for Delphi XE7 Firemonkey. There are two components that wrap the Android TTS API and the Android Speech Recognition API using the Delphi JNI. The components utilize the following JNI file interfaces Androidapi.JNI.Speech, Androidapi.JNI.TTS, and android.speech.SpeechRecognizer. There lastly three demos included which are a Google Voice Trigger app, a Speech Recognizer app, and a Voice Commands app. The Voice Trigger app is specifically for Google Glass. All source code is provided in both Object Pascal and C++ for use in Appmethod as well as Delphi. We’ve covered these components before for XE6. The TAndroidTTS component has a Speak() procedure which will speak the string that you pass it using the Android TJTextToSpeech object. The TSpeechRecognition component has a procedure called Listen which uses the TJRecognizerIntent Android object to listen and create guesses for what it hears. An IntentCallback event listens for the guesses and passes them to events in the TSpeechRecognition component where you can access them.
Text To Speech And Speech Recognition Treasure Trove For Delphi XE7 Firemonkey On Android by Delphi XE5 XE6 XE7 XE8 10 Seattle Berlin Firemonkey, Delphi Android, Delphi IOS is licensed under a Creative Commons Attribution 4.0 International License.