Open shin10kudev opened 7 years ago
Documentation:
https://developers.google.com/web/updates/2014/01/Web-apps-that-talk-Introduction-to-the-Speech-Synthesis-API
example:
var msg = new SpeechSynthesisUtterance('日本語') msg.lang = 'ja-JP'' window.speechSynthesis.speak(msg);
Test codepen:
https://codepen.io/anon/pen/gxoRRm?editors=1010
Support:
http://iwearshorts.com/blog/ios-safari-partial-support-of-web-speech-api/
Useful stack overflow question::
https://stackoverflow.com/questions/28948562/web-speech-api-consistently-get-the-supported-speech-synthesis-voices-on-ios-sa
Bug in safari ios:
possible lead: https://stackoverflow.com/questions/32193704/js-speech-synthesis-issue-on-ios
Documentation:
https://developers.google.com/web/updates/2014/01/Web-apps-that-talk-Introduction-to-the-Speech-Synthesis-API
example: