[BUG] Voice switches accent #43448
Labels
Client
This issue points to a problem in the data-plane of the library.
Cognitive - Speech
customer-reported
Issues that are reported by GitHub users external to the Azure organization.
needs-team-attention
This issue needs attention from Azure service team or SDK team
question
The issue doesn't require a change to the product in order to be resolved. Most issues start as that
Service Attention
This issue is responsible by Azure service team.
Library name and version
Microsoft.CognitiveServices.Speech
Describe the bug
When I use one of the voices that has a multilingual counterpart, for example 'en-US-AndrewNeural' & ''en-US-AndrewMultiLingualNeural', certain text causes the voice to switch accent.
Expected behavior
Audio will maintain the same accent during it's entirety.
Actual behavior
Audio switches between English, French, or Spanish depending on the text.
Reproduction Steps
using this code snippet causes the issue. When reproducing this, the values are as follows:
toPlay=
<speak version="1.0" xmlns="http://www.w3.org/2001/10/synthesis" xml:lang="en-US">
<voice name="en-US-AndrewNeural" xmlns="">
<prosody rate="0%" pitch="0Hz">Supreme Guest.
Deluxe Wash.</prosody>
</voice>
</speak>
voice.ShortName = 'en-US-AndrewNeural'
voice.Locale = 'en-US'
The audio is played, but the 'Deluxe Wash' is pronounced with a French accent.
Andrew-Voice-Bug.zip
Environment
Windows 11, Visual Studio 2022, CSharp .net 8.
The text was updated successfully, but these errors were encountered: