azure-docs icon indicating copy to clipboard operation
azure-docs copied to clipboard

Viseme events not returning animations

Open parijatn opened this issue 2 years ago • 1 comments

Viseme events return the id and the time, however animations are not being returned as shown in the example Using SDK 1.28.0 (Python) Showing event output excerpt below SpeechSynthesisVisemeEventArgs(audio_offset=10750000, viseme_id=15) SpeechSynthesisVisemeEventArgs(audio_offset=11620000, viseme_id=0) SpeechSynthesisVisemeEventArgs(audio_offset=12000000, viseme_id=2) SpeechSynthesisVisemeEventArgs(audio_offset=12625000, viseme_id=13)


Document Details

Do not edit this section. It is required for learn.microsoft.com ➟ GitHub issue linking.

parijatn avatar Jun 02 '23 19:06 parijatn

@parijatn Thanks for your feedback! We will investigate and update as appropriate.

SaibabaBalapur-MSFT avatar Jun 03 '23 06:06 SaibabaBalapur-MSFT

@parijatn - Did you set viseme type to "FacialExpression"?

<speak version="1.0" xmlns="http://www.w3.org/2001/10/synthesis" xmlns:mstts="http://www.w3.org/2001/mstts" xml:lang="en-US">
  <voice name="en-US-JennyNeural">
    <mstts:viseme type="FacialExpression"/>
    Rainbow has seven colors: Red, orange, yellow, green, blue, indigo, and violet.
  </voice>
</speak>

Please see Viseme element for more information.

eric-urban avatar Jun 06 '23 14:06 eric-urban

@parijatn

Thank you for bringing this to our attention. I've assigned this issue to the author who will investigate and update as appropriate.

@eric-urban

could you please review this and update as appropriate.

@parijatn - If "FacialExpression" doesn't work for you please feel free to reopen this issue or contact support.

eric-urban avatar Jun 09 '23 17:06 eric-urban

#please-close

eric-urban avatar Jun 09 '23 17:06 eric-urban