Marak / say.js

TTS (text to speech) for node.js. send text from node.js to your speakers.

Repository from Github https://github.comMarak/say.jsRepository from Github https://github.comMarak/say.js

It needs to escape text.

novogrammer opened this issue · comments

Hi,
For the darwin platform, It needs to escape the text.

Usage: say [-v voice] [-o out] [-f in | message]

let text="-findex.js";
//say.speak(text);
say.speak('"'+text.replace(/"/g,'\\\"')+'"');

Related to #90