kandi X-RAY | synthesis-demo Summary
kandi X-RAY | synthesis-demo Summary
synthesis-demo
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of synthesis-demo
synthesis-demo Key Features
synthesis-demo Examples and Code Snippets
Community Discussions
Trending Discussions on synthesis-demo
QUESTION
I have a simple app that should read out text entered into an input field in a selected language: https://speech-synthesis-demo.glitch.me/
This seems to work well on desktop in multiple browsers. However, when I try to run it in Chrome for Android, it seems that changing the language has no effect, and only the default language is used (in my case, English).
For testing purposes, what I'm trying to do is test out counting in different languages. If you enter in the word 'one' for example in the app on any desktop browser, you'll hear the number one spoken in the selected language. However, on Chrome on my Android device, I only hear "one" spoke in English no matter what language is selected from the dropdown.
The code is exactly the same as the example on MDN for speechSynthesis: https://developer.mozilla.org/en-US/docs/Web/API/Window/speechSynthesis
...ANSWER
Answered 2020-May-15 at 10:07You could explicitly specify SpeechSynthesisUtterance.lang
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install synthesis-demo
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page