-
-
Notifications
You must be signed in to change notification settings - Fork 1
Android TTS string length limit! #1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
You can use my module in any way you want :) Sorry for not adding a license but feel free to change it, use it and extend it! edit: I've added a note about the character limit to the README |
@m1ga Sorry I need some more help! I updated the module but: If I build the module by my self on Mac it works but I need to build it under Linux where it do not works: [ERROR] [GRADLE] ERROR:/home/kikko/.gradle/caches/transforms-3/ ... /transformed/jetified-tts-1.1.0-runtime.jar: D8: java.lang.IllegalArgumentException: Unsupported class file major version 61 Do you know what it could be? Is related to missalignment in the build app between Java version or Gradle Versions? I know is a issue related to Java version but I am using Java 17.0.14, Titanium CLI 7.1.4, Titanium 12.6.1 In the Mac where it works I have CLI 7.0.0 |
My main workstation is a Linux machine, so I only build the module there. And it works fine. I recommend building it with |
Thanks @m1ga! Now I got what I missed in the build !!! Wrong SDK in tiapp.xml !!! |
Uh oh!
There was an error while loading. Please reload this page.
I have found that a string length limits exists for speak (not tested on synthetizeToFile().
The limit is (as I read) 4000 charachters! Would be better to report it somewhere (maybe in the main page)
https://stackoverflow.com/questions/29027854/how-to-use-tts-texttospeech-while-string-has-more-then-4000-characters-in-andr
The effective limit is given by tts.getMaxSpeechInputLength() !
Also I do not know if the module is free code or not! Also if it is very simple code can I modify it? Use it in production or commercial applications?
Thanks @@m1ga
The text was updated successfully, but these errors were encountered: