Marak / say.js

TTS (text to speech) for node.js. send text from node.js to your speakers.
MIT License
1.49k stars 214 forks source link

Make speack function async and return a promise #109

Closed oom- closed 4 years ago

oom- commented 4 years ago

Could you please just change the speack fonction by adding an async word front of it + return a new Promise ? It would allow to use it like this:

image

That's much better than to have the chain callback all time for every sentence.

Here is the pull request: https://github.com/Marak/say.js/pull/110

tlhunter commented 4 years ago

Duplicate of #69