RosettaCodeData/Task/Speech-synthesis/JavaScript/speech-synthesis.js
2015-11-18 06:14:39 +00:00

2 lines
103 B
JavaScript

var voice = new ActiveXObject("SAPI.SpVoice");
voice.speak("This is an example of speech synthesis.");