Viseme events not returning animations
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.
- ID: 8a828b42-9517-1ff8-c98c-1c245a07d340
- Version Independent ID: d4962c85-a80c-eaab-90c4-8c8a6a1fb8e7
- Content: Get facial position with viseme - Azure Cognitive Services
- Content Source: articles/cognitive-services/Speech-Service/how-to-speech-synthesis-viseme.md
- Service: cognitive-services
- Sub-service: speech-service
- GitHub Login: @yulin-li
- Microsoft Alias: yulili
@parijatn Thanks for your feedback! We will investigate and update as appropriate.
@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.
@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.
#please-close