You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to set the voice emotion using the following code:
fromRealtimeTTSimportTextToAudioStream, AzureEngineengine=AzureEngine(
speech_key=speech_key,
service_region=service_region,
voice="zh-CN-XiaoxiaoMultilingualNeural", # New voicerate=0
)
engine.emotion="empathetic"engine.emotion_degree=1.0engine.emotion_role="YoungAdultFemale"
However, this doesn't seem to have any effect. I then tried using the SSML approach, and it worked perfectly. This raises the question: does the emotion setting still function in RealtimeTTS?
Hi,
I'm trying to set the voice emotion using the following code:
However, this doesn't seem to have any effect. I then tried using the SSML approach, and it worked perfectly. This raises the question: does the emotion setting still function in RealtimeTTS?
Here's the SSML code that worked:
The text was updated successfully, but these errors were encountered: