Delphi 11 10 XE8 XE7 XE Seattle Berlin Tokyo Rio Firemonkey, Delphi Android, Delphi IOS

Build Speech Recognition And Text To Speech Into Your Delphi XE6 Firemonkey Apps On Android

| Delphi 11 10 XE8 XE7 XE Seattle Berlin Tokyo Rio Firemonkey Delphi Android Delphi IOS

Delphi XE6 Firemonkey Android Speech Recognition Text To Speech | Delphi 11 10 XE8 XE7 XE Seattle Berlin Tokyo Rio Firemonkey Delphi Android Delphi IOSJim McKeeth has a blog post up with two JNI wrapper components which wrap the Android Speech Recognition and Text To Speech objects into Delphi XE6 Firemonkey components. If you are looking to build something like Apple’s Siri with Firemonkey this is a good place to start. Both components are available on Github in addition to two different demos which demonstrate the usage of the components. The Speech Recognizer demo implements both the new TAndroidTTS component and the TSpeechRecognition component. The TAndroid TTS  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. There was another blog post from Embarcadero in late 2013 where a text to speech wrapper code was made available for Delphi XE5 Firemonkey and you can check that out here. These component should probably also work in AppMethod.

Head over and checkout the full blog post about speech recognition and text to speech on Android including slideshow for Delphi XE6 Firemonkey.

Or head straight to Github and download the text to speech and speech recognition components directly.

Exit mobile version