Speech Recognition Grammar Specification Version 1.0 JavaScript TTS 文本发音

Speech Recognition Grammar Specification Version 1.0 https://www.w3.org/TR/speech-grammar/

 

 

W3C Recommendation 16 March 2004

 

 

JavaScript TTS 文本发音 - 阿里云 https://www.aliyun.com/jiaocheng/386596.html

 

 

var words = new SpeechSynthesisUtterance('Hello captain'); 
window.speechSynthesis.speak(words); words

SpeechSynthesisUtterance {text: "Hello captain", lang: "", voice: null, volume: 1, rate: 1…}lang: ""onboundary: nullonend: nullonerror: nullonmark: nullonpause: nullonresume: nullonstart: nullpitch: 1rate: 1text: "Hello captain"voice: nullvolume: 1__proto__: EventTargetconstructor: SpeechSynthesisUtterance()lang: (...)get lang: ()set lang: ()onboundary: (...)get onboundary: ()set onboundary: ()onend: (...)get onend: ()set onend: ()onerror: (...)get onerror: ()set onerror: ()onmark: (...)get onmark: ()set onmark: ()onpause: (...)get onpause: ()set onpause: ()onresume: (...)get onresume: ()set onresume: ()onstart: (...)get onstart: ()set onstart: ()pitch: (...)get pitch: ()set pitch: ()rate: (...)get rate: ()set rate: ()text: (...)get text: ()set text: ()voice: (...)get voice: ()set voice: ()volume: (...)get volume: ()set volume: ()__proto__: Object

  

posted @ 2018-06-27 15:59  papering  阅读(276)  评论(0编辑  收藏  举报