Work with multiple languages ​​without delay in Android TTS

I have this problem: I would like TTS to pronounce an English sentence with foreign words in it (e.g. Italian). The problem is that after instantiating the TextToSpeech class TextToSpeech every time I change the language, loading takes a few seconds, and this is unacceptable, since the sentence should be as fluid as possible. I also tried installing more than one TextToSpeech , but the results are pretty much identical.

I could not find anything on Google other than this question, which was useless.

Is there any way to achieve this? How?

Thanks in advance, Mauro.

+5
source share
1 answer

You need to use another TTS engine. Ivona TTS Switching between languages ​​is pretty fast. Sometime in the beginning, he switches a little slower, but after the first sentence this is normal.

0
source

All Articles