Is there a possibility to automate installaton of Google TTS voice packages?

D
Daniel
KOMSA Kommunikation Sachsen AG

Hi there,
I'm trying to find a way to install different Google TTS voice packages to a device, without installing every voice pack manually. Our customer wants to give the users the possibility, to choose which voice he wants to hear (english, romanian, hungarian, turkish, and so on) in the app they are using. After initial set up, only german and english voices installed. Until now, I didn't find a solution via SOTI or MGP. Maybe I can create a package and push it to the devices, but where do I get the voice data from and will this be recognized from Google TTS?

Maybe there is any intent? 

Thanks,
Daniel

4 years ago
Android
ANSWERS
MD
Matt Dermody Diamond Contributor
4 years ago

This is what I've used as a Post-Install script for the Google TTS engine in the past. Note that this does require writesecuresetting permission so you might have mixed results. 

;Soti script used to configure the Google TTS engine as the default TTS
;Set default TTS output rate to 200 (Faster)

writesecuresetting -sec tts_default_synth com.google.android.tts
writesecuresetting -sec tts_default_rate 200

D
Daniel
4 years ago

Thanks for your answer Matt.
Setting Google TTS engine as default is not the problem (we can do it via Samsung KC). The problem we have is, that the we want to install some additional voice packages (like romanian voice for example), which are not preinstalled. We don't want the user to install it by himself (even though he can't, because we are using a lockdown on the devices). 
So my question is more, how can I install single voices inside of Google TTS? 

MD
Matt Dermody Diamond Contributor
4 years ago

That I'm not sure of.