function say(msg) {
  var sprk = new ActiveXObject("SAPI.SpVoice");
  sprk.Speak(msg);
}

say("Hello world");
say("nipotan");