Get access to over 100 FireMonkey cross platform samples for Android, IOS, OSX, Windows, and Linux!

AndroidAppmethodComponentDelphiDemoFiremonkey

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

Delphi XE6 Firemonkey Android Speech Recognition & Text To SpeechJim 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.

close

Have Delphi Firemonkey questions? Ask and get answers on StackOverflow.

Related posts
AndroidC++BuilderDelphiFiremonkeyIOSOSXWindows

FireMonkey 10.4.2 Features Updated iOS 14, Android 11, And macOS 11 Support Plus Hundreds Of Fixes

DelphiIDEShowcaseWindows

Ryzen 9 5950x: One Billion Lines Of Delphi Code Compiled In ~5 Minutes On 16 Cores

DelphiFiremonkeyIDEIOSOSXWindows

DelphiCon 2020 FireMonkey Sessions Available Starting November 19

AndroidC++BuilderDelphiDemoFiremonkeyWindows

Powerful Commercial Gorilla3D Framework Upgraded For Delphi FireMonkey On Windows And Android

Sign up for our Newsletter and
stay informed

3 Comments

Leave a Reply