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.

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

  1. Diego says:

    Hi there:

    Has anybody got to wrap the Text to Speech API for iOS? This API is available for iOS7+

  2. Pingback: Build Online And Offline Chat Bots With AIML For Firemonkey In Delphi 10 Berlin On Android And IOS | Delphi XE5 XE6 XE7 XE8 10 Seattle Berlin Firemonkey, Delphi Android, Delphi IOS

  3. Haizhou Tang says:

    Yes. Need an iOS functionality as well, WHO got a clue??

Leave a Reply

Show Buttons
Hide Buttons
Read previous post:
Build A Numbers Puzzle Game With This Source Code For Delphi XE6 Firemonkey On Android

Developer Andrey Yefimov has some sample source code up for building a Fifteen puzzle with Delphi XE6 Firemonkey. In his...