Open vahdet opened 4 years ago
Made the recognition button clickable on Edge!
But recognition.current.onresult
does not fire:
recognition.current.onresult = (event) => {
var transcript = event.results[0][0].transcript
console.log('You told: ' + transcript)
}
Only Chrome apparently functions&fires events. See the Caniuse table:
https://caniuse.com/#feat=speech-recognition
Edge supports SpeechRecognition but does not fire events as note #4 tells on that page
Adding it would totaly be fine. Here is an example walkthrough:
https://tutorialzine.com/2017/08/converting-from-speech-to-text-with-javascript