繁体   English   中英

Francesca Neural pt-BR 使用 styles

[英]Francesca Neural pt-BR using styles

是否有任何文档可以告知可以与 Francisca Neural 一起使用的 styles?

例如:

xml_body = ElementTree.Element('speak', version='1.0')
xml_body.set('{http://www.w3.org/XML/1998/namespace}lang', 'pt-BR')
xml_body.set('xmlns:mstts', 'https://www.w3.org/2001/mstts')

voice = ElementTree.SubElement(xml_body, 'voice')
voice.set('name', 'Microsoft Server Speech Text to Speech Voice (pt-BR, FranciscaNeural)')

mstts = ElementTree.SubElement(voice, 'mstts:express-as')
mstts.set('style', 'cheerful')

prosody = ElementTree.SubElement(mstts, 'prosody')
prosody.set('rate', '0%')

body = ElementTree.tostring(xml_body)

我尝试使用cheerful ,但我没有看到声音有任何变化。

目前,这些神经语音支持说话风格调整:

en-US-AriaNeural
en-US-JennyNeural
en-US-GuyNeural
zh-CN-XiaoxiaoNeural
zh-CN-YunyangNeural
zh-CN-YunyeNeural
zh-CN-YunxiNeural (Preview)
zh-CN-XiaohanNeural (Preview)
zh-CN-XiaomoNeural (Preview)
zh-CN-XiaoxuanNeural (Preview)
zh-CN-XiaoruiNeural (Preview)

参考: https://docs.microsoft.com/en-us/azure/cognitive-services/speech-service/speech-synthesis-markup?tabs=csharp#adjust-speaking-styles

早些时候,PT-BR Francesca Neural 确实支持样式调整,并在上面的文章中记录。 但由于 MS 产品组正在处理的已知问题,已被编辑/删除。

https://github.com/MicrosoftDocs/azure-docs/issues/52032

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM