使用Microsoft.Speech.Synthesis时出错。? [英] Error in using Microsoft.Speech.Synthesis.?

查看:303
本文介绍了使用Microsoft.Speech.Synthesis时出错。?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我创建了一个合成器实例(Microsoft.Speech.Synthesis)并使用方法Speak()来读取文本到语音,我得到以下错误。

I created an instance of synthesizer (Microsoft.Speech.Synthesis) and used method Speak() to read text to speech and I get the below error.

"系统上没有安装语音或当前安全设置无法使用语音"。

"No voice installed on the system or none available with the current security setting".

请任何人帮忙解决此问题。

Please anyone help how to solve this.

谢谢,

Bharat。

 

 

推荐答案

这可能是由许多事情引起的。 首先要检查的是确保使用正确的参考文献。 确保您使用的是System.Speech而不是Microsoft.Speech。
This can be caused by many things.  The first thing to check is to make sure you are using the correct references.  Make sure you are using System.Speech and not Microsoft.Speech.


这篇关于使用Microsoft.Speech.Synthesis时出错。?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆