Closed pdubuc closed 6 years ago
With a little research, we were able to figure out the solution to this challenge. Closing this issue.
Great plug-in!
@pdubuc Please share your research. Specifically, were you able to mimic the "waveform" display on most platforms or give any indication of recording while recording? 🤔
Hello! I am a beginner and running into an issue with the startListening function:
Problem: I am unable to apply the speech recognition feature so that a user's speech gets transcribed into a specific field when the user clicks a button.
Larger scenario: the html page contains multiple input fields and I need to associate a button click event to capture the user's speech for each individual field.
Details: I am working with an Android tethered device using Cordova CLI and Android Studio. I am able to trigger Speech Recognition successfully upon a button click using "startRecognition()", but the user's speech gets automatically inserted into the first form field on the page. I am not able to control in which form field the speech text gets inserted.
Code sample: This illustrates my attempt to populate the user's speech into the "country1" field, but it shows up in the "name1" field instead.
Could I ask for any suggestions about how to create a simple HTML form that calls the Speech Recognition function successfully and allows me to control into which field the user's speech gets transcribed based on a button click?
Thank you in advance for any help you can provide!