shell command to change a tts engine?

General discussions about Automagic and automation in general

Moderator: Martin

User avatar
Desmanto
Posts: 2709
Joined: 21 Jul 2017 17:50

Re: shell command to change a tts engine?

Post by Desmanto » 01 Aug 2017 14:41

Desmanto wrote: You can change the default TTS using Action Set System Setting. Select Category Secure and find tts_default_locale. Press save and copy that element, so you have the first action to set it to Ava.
Using this action. After locate the tts_default_locale, you can see the value at there. You just need to find tts. There should be another tts_default_synth, which set the default engine you use, in my case it is vocalizer_e2.tts (the package name of Vocalizer e2). If you have install google TTS, you can try to set the package name here (com.google.android.tts), see if it use it as the default engine.
Index of Automagic useful thread List of my other useful posts (and others')
Xiaomi Redmi Note 5 (whyred), AOSP Extended v6.7 build 20200310 Official, Android Pie 9.0, Rooted.

liloli
Posts: 10
Joined: 19 Jul 2017 07:20

Re: shell command to change a tts engine?

Post by liloli » 01 Aug 2017 15:28

my cell phone is SMARTISAN T1.
there is no such a item named tts_default_locale, I searched both three catgories.

liloli
Posts: 10
Joined: 19 Jul 2017 07:20

Re: shell command to change a tts engine?

Post by liloli » 02 Aug 2017 02:08

I give up. Thanks a lot anyway. :D

User avatar
Desmanto
Posts: 2709
Joined: 21 Jul 2017 17:50

Re: shell command to change a tts engine?

Post by Desmanto » 02 Aug 2017 05:36

Seems like your phone use custom android OS. They don't implement the standard TTS from android. If that's the case, probably it will be very difficult to make it work. Unless you can find stock AOSP ROM for your phone and flash it. But that will be very risky, so I don't recommend it.
Index of Automagic useful thread List of my other useful posts (and others')
Xiaomi Redmi Note 5 (whyred), AOSP Extended v6.7 build 20200310 Official, Android Pie 9.0, Rooted.

Post Reply