Could the text-to-speech library include a block that stops the synthesized speech from running, similar to the block?
This line of JavaScript will do it:
window.speechSynthesis.cancel();
Could the text-to-speech library include a block that stops the synthesized speech from running, similar to the block?
This line of JavaScript will do it:
window.speechSynthesis.cancel();
I think, rather, that STOP ALL SOUNDS should stop them too! But yes, good idea.
ya dont need "window."