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/
189 stars 21 forks source link

Fix: throw on max text length exceeded #229

Closed jankapunkt closed 10 months ago

jankapunkt commented 10 months ago

Summary

This one throws if the text exceeds the max length of 4096 bytes. Furthermore a new FAQ is added and this issue is also listed there Demo is updated, to cover this as well.

Linked issue(s)

227 #210

Involved parts of the project

build, demo, docs

Added tests?

yes

Webspeech API standard

not related to the standard but specific to google voices

Reproduction

See #227 to reproduce