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

Added 'LocaleName' in VoiceInfo Class #679

Merged
merged 2 commits into from
May 19, 2023
Merged

Conversation

shivsarthak
Copy link
Contributor

Description:

This pull request adds support for the 'LocaleName' property in the Azure Cognitive Speech SDK, aligning it with the functionality provided by the web API.

Motivation:

The web API in the Azure Cognitive Speech service at /cognitiveservices/voices/list returns a value for 'LocaleName', which indicates the locale or language of the speech input or output. However, this property was missing in the SDK's class variable, causing a mismatch in functionality between the web API and the SDK.

Reference Link

Added LocaleName variable in VoiceInfo Class
Copy link
Member

@glharper glharper left a comment

Choose a reason for hiding this comment

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

Please also change the corresponding new VoiceInfo instantiation in sdk/SynthesisVoicesResult.ts to match the new constructor signature.

Updated SynthesisVoicesResult class as per new VoiceInfo constructor
@shivsarthak
Copy link
Contributor Author

@microsoft-github-policy-service agree

@shivsarthak shivsarthak requested a review from glharper May 18, 2023 16:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants