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.

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

Related posts
AndroidC++BuilderCode SnippetDelphiDemoFiremonkeyIOSOSXShowcaseWindows

Powerful Cross Platform Email App Sample In Delphi 10.4.1 FireMonkey For Android And IOS

AndroidC++BuilderDelphiFiremonkeyIOSOSXWindows

Significant Update Available For Delphi FireMonkey 10.4.1 On Android, IOS, OSX, Windows, And Linux

C++BuilderDelphiIDEWindows

Professional SVG Icon Image List For Delphi 10.4 FireMonkey On Windows

AndroidC++BuilderDelphiFiremonkeyIOSLiveBindingsOSXWindows

Top Tips And Tricks To Speed Up Development With Delphi 10.4 FireMonkey On Android and IOS

Sign up for our Newsletter and
stay informed

3 Comments

Leave a Reply