4. 2013-09-30 4
Web Speech APIとは
● W3CのSpeech API Community Groupで議論
– Working Groupへ移行という話も
● API
– 音声認識(SpeechRecognition)
var recognition = new SpeechRecognition();
recognition.onresult = function(event) { if (event.results.length > 0) {} }
recognition.start()
– 音声合成(SpeechSynthesis)
speechSynthesis.speak(new SpeechSynthesisUtterance('Hello World'));