I'm using Chrome's tts service in my extension. According to the chrome.tts documentation:
The maximum length of the text is 32,768 characters.
However, when I pass string that have more than 250 characters the engine will not read all utterance (it will just stop reading it in the middle of the word). I'm now wondering if this is a bug or this is by design. Web speech API have similar character limit described in the spec and it behaves the same way.
I'd like to know if I'm doing something wrong or it only depends on TTS Engine in the browser and I can't do anything with it?
I have read official documentations and how you reported it is written that:
The maximum length of the text is 32,768 characters.
Maybe they refer to SSML file max length!
I used chrome api for a while and I can say to you that:
I resolved the problem splitting text:
So I suggest to fix the problem this way.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With