leaonline / easy-speech

🔊 Cross browser Speech Synthesis also known as Text to speech or TTS; no dependencies; uses Web Speech API
https://leaonline.github.io/easy-speech/
170 stars 20 forks source link

fix: prevent resumeInfinity on Edge/MS (Natural) voices #254

Closed jankapunkt closed 5 months ago

jankapunkt commented 5 months ago

Summary

This attempts to fix #242 by preventing resumeInfinity (A chrome-specific fix) if the voice contains (Natural) in it's name.

Linked issue(s)

242

Involved parts of the project

EasySpeech.speak

Added tests?

tests updated

Webspeech API standard

-

Reproduction

Already working in the demo