-
Notifications
You must be signed in to change notification settings - Fork 419
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
Tts should be installed, why not tip? #28
Comments
As discussed here, on some devices the TTS doesn't work (even Google's one), I don't know why but when I have time I will install on my phone some of the custom ROMs that have this issue to investigate (or I will add an integrated TTS to RTranslator), for now, the only thing you can do is clicking on continue and use RTranslator without TTS. |
My Xiaomi 10 also encountered this error before. After installing Google TTS, it still didn't work. Then, after switching back to the system's built-in TTS, it returned to work ok. |
For now the only TTS supported is the Google one (there's actually a check in the code to make sure you're using Google TTS, it doesn't even matter what TTS you select, the Google TTS will be used if you have installed), so probably the TTS wasn't working at the beginning because a restart of RTranslator was needed. |
@niedev
I download the source code and add these code on AndroidManifest.xml, build apk and install on my phone, my phone can use tts normal (Of course, we should install Google TTS "Speech Recognition & Synthesis" on GooglePlay first). |
Thank you very much @starlightjy! The TTS code was 4 years old and I didn't know about this new declaration, also on my phone with Android 14 it worked, but probably the need for this declaration depends on the specific ROM, so it would explain why some had problems and others didn't. If you want to appear among the contributors of RTranslator, send me a simple pull request with this change, if you don't have the desire/time I can insert it myself and cite you in the new release, let me know. |
@niedev I have made a simple pull request. Thanks for your invite! |
There is a new release that should fix the TTS issues! 😁 Let me know if it works correctly. |
how to do this?
Does it still appear not to be working properly? |
@purezhang, if you go in the settings of RTranslator -> Text to speech, the Google TTS engine is the one selected? |
Screenrecorder-20240703-231753.mp4 |
@purezhang you should click directly on "preferred engine" to select the TTS engine, not in the preferred engine settings icon, nor below (where you only select the TTS language), let me know. |
@purezhang 可以先看看小米手机的系统TTS设置,TTS引擎是否选择正确了.把引擎列表和语音都切换试试看(切换后注意重启应用). |
非常感谢你的回复,我上面视频里面已经展示了我的中兴文字转语音选项,只有一个选项就是“中文”,可以帮我看看我的设置是否正确,谢谢 |
如我视频中展示,我的语音转文字选项中 只有一个选项“中文”,没有google tts 等其他选项 As I showed in the video, my voice transcription option has only one option: Chinese language, no other options, etc. |
是的是的,按我的理解,小米是可以选择首选引擎的,而中兴是不能选择的 我点了齿轮修改之后只有一个选项就是中文 |
你的中兴手机如果安装了GoogleTTS后,还是没有TTS引擎可以选择、切换的话,估计是特定手机系统代码对该功能做了很大的修改(包括但不限于删除了英文TTS引擎的支持,屏蔽了第三方应用调用系统TTS引擎等等). 这样的问题没有实体机调试,很抱歉我暂时无法帮助定位具体问题来解决了. |
Tts should be installed, why not tip?
The text was updated successfully, but these errors were encountered: