say
通过该函数,artyom 可以在 Google Chrome 中说话。
let artyom = new Artyom();
/**
* Speak a short string and indicate its callbacks in the console.
*/
artyom.say("A simple demonstration of what i can do.",{
onStart:function(){
console.log("The text has been started.");
},
onEnd:function(){
console.log("The text has been finished.");
}
});
/**
* Say something
*/
artyom.say("Welcome again");在单词说话时强制使用某语种
对于大型文本的推荐
Last updated
Was this helpful?