簡體   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