This is simple project for testing speech synthesis in the browsers.
To see it in action, go to the github page.
See the src\actions
file for the details. The two most important functions are setVoiceList
and synthesize
.
Speech worked for me in:
- Firefox 63 ( Windows 10 )
- Edge ( Windows 10 )
- Chrome 70 ( Windows 10 )
- Chrome ( Andriod 8 )
- Chrome iPad mini ( iOS 11.2.1 )
- Safari iPad mini ( iOS 11.2.1 )
Speech failed for me in:
- Internet Explorer (any version)
See the src\actions
file for the details. The most important functions are recognizeStart
and recognizeStop
.
Recognition worked for me in:
- Chrome 70 ( Windows 10 )
Recognition failed for me in:
- Firefox 63 ( Windows 10 )
- Edge ( Windows 10 )
- Internet Explorer (any version)
The matching mechanic doesn't seem to work - it always returns some recognition, even if it doesn't match.
It's very simple demo of SpeechSynthesis and SpeechRecognition .
There's an article at MDN Using_the_Web_Speech_API.