aws-amplify / aws-amplify/amplify-android

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

Open
#1,393 1 comment 1 reaction 0 assignees View on GitHub
feature-request predictions
Dominant language
Java
Stars
287
Forks
132
Avg merge
2d 2h
Merged PRs (30d)
45

Description

**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](https://docs.amplify.aws/lib/predictions/text-speech/q/platform/android).

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?

Contributor guide

Open the contributing guide

Research direction

Start with the Android text-to-speech documentation linked in the issue and the Amazon Polly voice configuration it describes. Determine whether selecting a voice at runtime is supported; done means clarifying the supported configuration or documenting the API changes needed to choose a voice for different languages.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, aws, java
Domain
cloud, mobile
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.