-
-
Notifications
You must be signed in to change notification settings - Fork 173
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
Conversation
if (name) { | ||
voice.name = name; | ||
} else if (DisplayName) { | ||
voice.name = `${DisplayName} (${voice.lang}) - ${Gender}`; |
There was a problem hiding this comment.
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?
if (name) { | ||
voice.name = name; | ||
} else if (DisplayName) { | ||
voice.name = `${DisplayName} (${voice.lang}) - ${Gender}`; |
There was a problem hiding this comment.
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} |
There was a problem hiding this comment.
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}
.
No description provided.