@Ebertowski, Rene Welcome to Microsoft Q&A Forum, Thank you for posting your query here!
I understand that the animation events are coming blank and blendshapes is not working for viseme events.
.
I am unable to reproduce the issue at my end. The above sample worked fine and the blendshapes details are loading correctly even with 1.33.0 version of the sdk.
Could you please confirm if the older version (1.32.1) of the SDK azure-cognitiveservices-speech
worked fine as expected ? I tried this on my resource deployed to WestEurope
region ? Could you please check this on different region ?
.
Also are you aware that the Azure AI Speech announced public preview of text to speech avatar. More info here. Custom text to speech avatar access is limited based on eligibility and usage criteria. Request access on the intake form. Try sample code, Real-time synthesis (SDK), Live chat with Azure Open AI in behind (SDK)
.
See the output from my machine for the same sample code:
animation:
evt: {'_SpeechSynthesisVisemeEventArgs__handle': <azure.cognitiveservices.speech.interop._Handle object at 0x000001F5B970D510>, '_result_id': 'f3aa05aba199414ab98418e84102c817', '_audio_offset': 58250000, '_viseme_id': 14, '_animation': ''}
animation:
evt: {'_SpeechSynthesisVisemeEventArgs__handle': <azure.cognitiveservices.speech.interop._Handle object at 0x000001F5B970D4D0>, '_result_id': 'f3aa05aba199414ab98418e84102c817', '_audio_offset': 58750000, '_viseme_id': 6, '_animation': ''}
animation:
evt: {'_SpeechSynthesisVisemeEventArgs__handle': <azure.cognitiveservices.speech.interop._Handle object at 0x000001F5B970D510>, '_result_id': 'f3aa05aba199414ab98418e84102c817', '_audio_offset': 59875000, '_viseme_id': 19, '_animation': ''}
animation:
evt: {'_SpeechSynthesisVisemeEventArgs__handle': <azure.cognitiveservices.speech.interop._Handle object at 0x000001F5B970D4D0>, '_result_id': 'f3aa05aba199414ab98418e84102c817', '_audio_offset': 61620000, '_viseme_id': 0, '_animation': ''}
animation:
evt: {'_SpeechSynthesisVisemeEventArgs__handle': <azure.cognitiveservices.speech.interop._Handle object at 0x000001F5B970DE10>, '_result_id': 'f3aa05aba199414ab98418e84102c817', '_audio_offset': 0, '_viseme_id': 0,
'_animation': '{"FrameIndex":0,"BlendShapes":
[[0.171,0.164,0.038,0,0,0.095,0,0.171,0.164,0.074,0,0,0.095,0,0.088,0.028,0,0.311,0.254,0.177,0.179,0.011,0.004,0.007,0.016,0.04,0.017,0.056,0.051,0.123,0.099,0.089,0.084,0.018,0.1,0.023,0.024,0.262,0.258,0.02,0.02,0.014,0.014,0.091,0,0,0.021,0.054,0.058,0.038,0.039,0,0.013,-0.001,0.002],[0.171,0.164,0.039,0,0,0.095,0,0.171,0.164,0.074,0,0,0.095,0,0.08,0.026,0,0.371,0.37,0.156,0.308,0.01,0.004,-0,0.005,0.054,0.016,0.052,0.047,0.113,0.091,0.114,0.102,0.017,0.091,0.021,0.022,0.204,0.2,0.018,0.019,0.015,0.015,0.091,0,0,0.02,0.05,0.054,0.035,0.036,0,0.013,-0.001,0.002],[0.171,0.164,0.039,0,0,0.095,0,0.171,0.164,0.073,0,0,0.095,0,0.088,0.024,0,0.362,0.39,0.113,0.332,0.009,0.004,0.008,0.01,0.045,0.014,0.048,0.044,0.104,0.084,0.131,0.124,0.016,0.084,0.019,0.02,0.176,0.173,0.017,0.017,0.015,0.015,0.091,0,0,0.018,0.046,0.05,0.032,0.033,0,0.013,-0.001,0.002],[0.171,0.164,0.04,0,0,0.095,0,0.171,0.164,0.072,0,0,0.095,0,0.086,0.022,0,0.343,0.38,0.091,0.335,0.008,0.003,0.01,0.011,0.039,0.013,0.045,0.04,0.096,0.078,0.131,0.124,0.015,0.078,0.018,0.019,0.159,0.156,0.015,0.016,0.015,0.015,0.091,0,0,0.017,0.042,0.046,0.03,0.031,0,0.013,-0.001,0.002],[0.171,0.164,0.04,0,0,0.095,0,0.171,0.164,0.072,0,0,0.095,0,0.079,0.022,0,0.334,0.372,0.091,0.337,0.008,0.003,0.011,0.011,0.037,0.013,0.044,0.04,0.095,0.077,0.127,0.117,0.014,0.076,0.018,0.019,0.156,0.153,0.015,0.016,0.015,0.015,0.091,0,0,0.017,0.042,0.045,0.03,0.03,0,0.013,-0.001,0.002],[0.171,0.164,0.041,0,0,0.095,0,0.171,0.164,0.072,0,0,0.095,0,0.081,0.023,0,0.337,0.374,0.104,0.336,0.009,0.004,0.018,0.016,0.033,0.014,0.047,0.043,0.102,0.083,0.129,0.12,0.015,0.082,0.019,0.02,0.174,0.169,0.016,0.017,0.015,0.015,0.091,0,0,0.018,0.045,0.049,0.032,0.033,0,0.013,-0.001,0.002],[0.171,0.164,0.04,0,0,0.095,0,0.171,0.164,0.072,0,0,0.095,0,0.076,0.025,0,0.349,0.375,0.133,0.339,0.01,0.004,0.023,0.019,0.035,0.015,0.051,0.046,0.111,0.089,0.124,0.112,0.017,0.089,0.021,0.022,0.196,0.189,0.018,0.018,0.015,0.015,0.091,0,0,0.019,0.049,0.053,0.035,0.035,0,0.013,-0.001,0.002],[0.171,0.164,0.04,0,0,0.095,0,0.171,0.164,0.072,0,0,0.095,0,0.078,0.027,0,0.345,0.343,0.161,0.295,0.011,0.004,0.031,0.029,0.031,0.016,0.056,0.05,0.12,0.097,0.115,0.108,0.018,0.097,0.023,0.024,0.23,0.222,0.019,0.02,0.015,0.015,0.091,0,0,0.021,0.053,0.058,..>
Awaiting your reply.