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.
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 theandroid.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 ofprivate final int mQuality
andprivate final int mLatency
and using them insynthesizer.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.