Speech to Text
Overview
Speech to text widget is built with React Speech Recognition, it is a React Hook that works with the Web Speech API to translate speech from your device’s mic into text. This text can then be read by your Mendix app and used to perform tasks.
The SpeechRecognition API is used which is currently only supported by Chrome browsers and does not require any additional setup or API keys, everything works out of the box.
You will need to allow microphone permission when you run the first time.
Documentation
Description
React Speech Recognition was used to create the speech-to-text widget, which uses the Web Speech API to convert spoken words from your device's microphone to text. Your Mendix app can then use this text to perform actions after it has been read.
Typical usage scenario
When the user presses the microphone button and says something, this will record the value.
Features and limitations
The SpeechRecognition API is used which is currently only supported by Chrome browsers and does not require any additional setup or API keys, everything just works.
for cross browser you have to provide Google Speech API key.
When you run for the first time, you must grant permission for the microphone.