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