0
看起来中文版(慧汇)的微软语音合成问题似乎仍然疯狂。
经过一些在线研究和很少的尝试解决它,我找不到任何解决方案。
Microsoft.Speech.Synthesis - Chinese speak error(zh-CN,HuiHui)
的设置
Windows 10 (x32) (tested on x64 too)
SDK 11
Visual Studio 2017
错误
InnerException = {"Catastrophic failure (Exception from HRESULT: 0x8000FFFF (E_UNEXPECTED))"}
Message = "Speak error '8000FFFF'."
Source = "Microsoft.Speech"
麻烦的代码
using Microsoft.Speech.Synthesis;
using (var ss = new SpeechSynthesizer())
{
ss.SetOutputToWaveFile("output.wav");
ss.SelectVoice("Microsoft Server Speech Text to Speech Voice (zh-CN, HuiHui)");
ss.Speak("我喜欢和很多珍珠奶茶"); // speak error here
}
此代码工作完全使用英语( en-US,Helen)。
失败的修复尝试
Download "chsbrkr.dll" & "chtbrkr.dll"
Add it to "Program Files((x86))\Common Files\Microsoft Shared\Speech\TTS\v11.0"
是否有人已经成功地以某种方式运行此脚本或发现其他选择吗?
谢谢。
以前发布的关于同一主题的
Chinese TTS fails, while English works
TTS for Chinese is throwing SAPI ERROR E_FAIL
ASP.Net and Microsoft.Speech error with Chinese