i use the webkitSpeechRecognition()
to create my own little voice recorder.
Here is a demo (works only with chrome!)
http://jsfiddle.net/gsu4aod2/
Say a sentence and
1a.) if the text correct, click on the "add sentence" button
1b.) if the text not correct click the "speak again" button
My problem is that i dont know how to "reset" the text.
When i use the stop()
and start()
method, the text is removed but than i must confirm the access to the microphone again and again.
Any ideas?
Web Speech API Specification https://www.google.com/intl/en/chrome/demos/speech.html