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

AndroidAppmethodComponentDelphiDemoFiremonkeyIOSOSXWindows

Text To Speech And Speech Recognition Treasure Trove For Delphi XE7 Firemonkey On Android

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

Delphi XE7 Firemonkey Speech Recognition Text To Speech Component | Delphi 11 10 XE8 XE7 XE Seattle Berlin Tokyo Rio Firemonkey Delphi Android Delphi IOSJim 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.

Head over and check out the full blog post with some additional information for setting up your Delphi XE7 Firemonkey projects to use speech.

Or head directly to Github and download the full source code for the Android TTS and Speech Recognition components and demos.

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

Related posts
DelphiDemoFiremonkeyLinuxOSXShowcaseWindows

AutoBlogAI: FireMonkey Client To Leverage LLMs And Generative AI For Blogging

DelphiFiremonkeyShowcaseUtilityWindows

Unleashing Creativity With Song Writer AI: A Deep Dive

DelphiFiremonkeyShowcaseWindows

How To Build Stable Diffusion Text To Image Prompts

AndroidC++BuilderDelphiFiremonkeyIOSOSXWindows

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

Sign up for our Newsletter and
stay informed

Leave a Reply