Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement online voices from Azure #952

Merged
merged 43 commits into from
Aug 2, 2021
Merged

Conversation

martinbedouret
Copy link
Collaborator

No description provided.

@martinbedouret martinbedouret added this to the 1.11.0 milestone Jun 22, 2021
src/components/Board/Board.container.js Outdated Show resolved Hide resolved
src/api/api.js Show resolved Hide resolved
if (name) {
voice.name = name;
} else if (DisplayName) {
voice.name = `${DisplayName} (${voice.lang}) - ${Gender}`;
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should we be using the messages in SpeechProvider.messages.js here?

src/constants.js Outdated Show resolved Hide resolved
src/providers/SpeechProvider/SpeechProvider.actions.js Outdated Show resolved Hide resolved
if (name) {
voice.name = name;
} else if (DisplayName) {
voice.name = `${DisplayName} (${voice.lang}) - ${Gender}`;
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Very minor detail but there are two spaces before the opening parenthesis instead of one.

@@ -77,7 +81,11 @@ const Speech = ({
secondary={getVoiceLabel(voice)}
/>
</ListItem>
<ListItem divider aria-label={intl.formatMessage(messages.pitch)}>
<ListItem
disabled={voice.voiceSource === 'cloud' ? true : false}
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe we could add a boolean property like isCloud to voice objects so that we can just do disabled={voice.isCloud}.

@martinbedouret martinbedouret removed this from the 1.11.0 milestone Jun 25, 2021
@martinbedouret martinbedouret marked this pull request as draft July 18, 2021 23:47
@martinbedouret martinbedouret marked this pull request as ready for review August 2, 2021 12:28
@martinbedouret martinbedouret merged commit a093061 into master Aug 2, 2021
@martinbedouret martinbedouret deleted the feature/azure-tts branch August 2, 2021 12:31
@martinbedouret martinbedouret added this to the 1.13.0 milestone Aug 2, 2021
@martinbedouret martinbedouret linked an issue Aug 4, 2021 that may be closed by this pull request
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
4 participants