just-ai / aimybox-android-sdk

Voice assistant SDK for Android
https://aimybox.com
Apache License 2.0
79 stars 16 forks source link

Google TTS engine on android can be configured a little bit #105

Open omar-mohamed-khallaf opened 3 years ago

omar-mohamed-khallaf commented 3 years ago

On android in Google TTS settings General management > Language and input > Text-to-speech in the voice data I can choose from multiple voices, but it seems that always the first voice will be matched when using the google-plaform-speechkit. Could there be a parameter to configure which voice to choose. In the android.speech.tts.Voice class there are multiple variables that I think might have something to do with choosing the voices like: private final String mName;, private final Set<String> mFeatures or might be the right combination of private final int mQuality and private final int mLatency and using them in synthesizer.voices.filter {...}. I'm new to Kotlin and haven't got that deep in android, so I wasn't able to compile the sample assistant app with a modified sdk. I think it's an easy thing to do but I hate my lack of knowledge.

bgubanov commented 3 years ago

Hello. We will investigate this issue in a short time. Thank you