Closed qingfengmy closed 9 months ago
No sorry :(
Microsoft blocked the use of mstts:express-as
tags in this API around a year ago.
You could slightly tune the pitch and volume to express positive/negative emotions though
Or try other prosody options using the raw
methods:
https://learn.microsoft.com/en-us/azure/ai-services/speech-service/speech-synthesis-markup-voice#adjust-prosody
Whether the role and styledegree fields are supported?
const readable = tts.toStream(voiceOver, { rate:
${formatN(opt.rate)}%
, pitch:${formatN(opt.pitch)}st
, volume:${formatN(opt.volume)}%
, });const readable = tts.toStream(voiceOver, { rate:
${formatN(opt.rate)}%
, pitch:${formatN(opt.pitch)}st
, volume:${formatN(opt.volume)}%
, role, styledegree });