aws-amplify / amplify-android

The fastest and easiest way to use AWS from your Android app.
https://docs.amplify.aws/lib/q/platform/android/
Apache License 2.0
245 stars 115 forks source link

Ability of the change the voice of Amazon Polly in runtime according to language of Text #1393

Open kenchoong opened 4 years ago

kenchoong commented 4 years ago

Which AWS Services is the feature request for? Amazon Polly

Is your feature request related to a problem? Please describe. I am following this documentation.

In order to use Polly from Android, I have to set up the voice when I set up the resource. So this is the only voice that can be used in my app.

If I have some text that is in a different language than the voice that I set up earlier, I can't change the voice according to the language of the new text.

For example, suppose I set up an English- Joanna - Female, at the beginning. But the text I have now is in Chinese. So, I want to use the Polly Chinese- Zhiyu voice to read the Chinese text.

I didn't see any documentation about how to programmatically change the Polly voice at runtime.

Describe the solution you'd like I want to programmatically change the voice according to the language of the text, at runtime. Is it possible to do that? If I can do that, please provide me some information on this.

Describe alternatives you've considered Alternatively, can let me set up all the voice supported by AWS into the project at the beginning may be?

TrekSoft commented 4 years ago

In general we don't support runtime changes of initial SDK configuration so I've set this as a feature request so others can +1 or comment on it as well and we can prioritize as appropriate.