不能设置语音。未安装匹配的语音,或语音被禁用
广告:
Microsoft Mary,Microsoft Mike,Microsoft Sam,VW Julie,VW Kate,VW Lily,
系统设置语音:VW Lily
当前使用语音:第一选择1位置:错误:System.ArgumentException: Cannot set voice. No matching voice is installed or the voice was disabled. 在 System.Speech.Synthesis.SpeechSynthesizer.SelectVoice(String name) 在 SpeakChina(String bodystr, String wulipath) 位置 Speak.cs:行号 107: VW LilySystem.ArgumentException: Cannot set voice. No matching voice is installed or the voice was disabled. 在 System.Speech.Synthesis.SpeechSynthesizer.SelectVoice(String name) 在 SpeakChina(String bodystr, String wulipath) 位置 Speak.cs:行号 116: VW Lily
Microsoft Anna,Microsoft Lili,VW Julie,VW Kate,VW Lily,
系统设置语音:VW Lily
当前使用语音:第一选择1位置:错误:System.ArgumentException: 不能设置语音。未安装匹配的语音,或语音被禁用。 在 System.Speech.Synthesis.SpeechSynthesizer.SelectVoice(String name) 在 Mvccom.Speak.SpeakChina(String bodystr, String wulipath) 位置Speak.cs:行号 107: VW LilySystem.ArgumentException: 不能设置语音。未安装匹配的语音,或语音被禁用。 在 System.Speech.Synthesis.SpeechSynthesizer.SelectVoice(String name) 在 SpeakChina(String bodystr, String wulipath) 位置 Speak.cs:行号 116: VW Lily
语音错误:没有找到语音引擎! System.NullReferenceException: 未将对象引用设置到对象的实例。
原因:没有安装该语音或者朗读文本格式不对都会提示此错误。
广告: