ixsans / text_to_speech

A Flutter plugin provides TTS (Text-To-Speech) Service
BSD 3-Clause "New" or "Revised" License
16 stars 22 forks source link

Error working with long text. #8

Open abayomiAkanji opened 2 years ago

abayomiAkanji commented 2 years ago

Hi @ixsans,

Many thanks for this simple-to-use library. It seems that there is a limitation to the length of word/character that the library can play. Example, the TTS doesn't work when I parsed a text of 5,000 characters. It shows this log D/TTS (18504): Utterance error

Is this a known bug?

abayomiAkanji commented 2 years ago

...in the mean time, a fix might be to split the text into chunks and loop through them.