Open Makio64 opened 1 year ago
Tested the web-speech-api
examples in Firefox:
Header | Desktop | Mobile |
---|---|---|
phrase-matcher |
:x: Fails, console has Uncaught ReferenceError: webkitSpeechRecognition is not defined error. |
:x: Fails. |
speak-easy-synthesis |
✅ Works as expected. | ✅ Works as expected. |
speech-color-changer |
:x: Fails, console has Uncaught ReferenceError: webkitSpeechRecognition is not defined error. |
:x: Fails. |
The speech-color-changer
works in Chrome on Android, but in Chrome on Mac OS I'm always getting Error occurred in recognition: no-speech
.
I think Chrome includes some kind of silence detection algorithm baked in to the implementation of webkitSpeechRecognition()
. Additionally since Chrome does not provide a means to select a specific audio device at the prompt it's possible for the audio input device to not be a microphone.
Keep in mind speech recognition makes a network request.
The demo web-speech-api didnt work on iOS 16.5 (iPhone 12 Pro max), I give the permission and the recording is ON but nothing is recognize..
Both Safari & Chrome
It also didnt work on my macbook pro ( OS 13.2 ) Chrome / Safari