ERROR: Failed to detect voice's [en-USGuyNeural] endpoint for synthesizing.

Roy Jensen 5 Reputation points
2023-03-23T16:13:22.3833333+00:00

I am running into an error when changing voice using the Speech Studio.

If I change voices in the SSML file, the synthesizer outputs an error. Below is a script that generates the error.

<speak xmlns="http://www.w3.org/2001/10/synthesis" xmlns:mstts="http://www.w3.org/2001/mstts" xmlns:emo="http://www.w3.org/2009/10/emotionml" version="1.0" xml:lang="en-US">

<voice name="en-US-GuyNeural">

<p>Those who have experienced severe SNS activation may experience<prosody volume="+10%" rate="-10%">critical incident amnesia</prosody>. Any reports that a person is required to produce should be labelled preliminary, supplementary, and final. Consider this story.</p></voice>
<break time="500ms" />

<voice name="en-US-JacobNeural">
<p>A couple were having marital trouble. After an argument, the man left to go for a walk, and the woman went to bed. The attackers silhouette looked like her husband — muscular and about the same height — both had been in the military.</p></voice>
<break time="1s" />

<voice name="en-US-GuyNeural">
<p>The<prosody volume="+10%" rate="-10%">leading</prosody>question that was, "Did your husband do this to you?", was sufficient to plant the false memory that it was her husband. Without DNA testing, he would still be in prison.</p></voice>

</speak>
Azure AI Speech
Azure AI Speech
An Azure service that integrates speech processing into apps and services.
1,734 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Roy Jensen 40 Reputation points
    2023-04-11T21:53:52.8233333+00:00

    This issue is fixed by moving the <break> before the </voice>.

    
    <p>This fails.</p> </voice> <break time="1s" />
    
    <p>This works.</p> <break time="1s" /> </voice> 
    
    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.