i8beef / node-red-contrib-castv2

MIT License
22 stars 14 forks source link

TTS Text length constraint? #26

Closed Andoramb closed 3 years ago

Andoramb commented 3 years ago

Hi! I wonder if there is a limitation for the input text for tts? I'm generating notification text based on a couple inputs from a database. Sometimes this generated text is longer than 200 characters, and it returns: "RangeError: text length (204) should be less than 200 characters"

Is there a possibility to bypass that? I'm not talking about a novel here 😄

Thanks for the node!

i8beef commented 3 years ago

Sorry, that looks to be a constraint of the Google TTS library, not something I can bypass.

i8beef commented 3 years ago

Closing as there's nothing we can do here.

Andoramb commented 3 years ago

Oh yes, sorry, I forgot to close it. Thanks!