SpeechSynthesizer无法获得所有已安装的语音2 [英] SpeechSynthesizer doesn't get all installed voices 2
问题描述
为了能够在我正在开发的.NET应用程序中使用,我在Windows 7 32位操作系统中安装了新的语音.
I have installed a new voice in my Windows 7 32 bits OS in order to be able to use from in one .NET application i'm developing.
但是,当我使用 GetInstalledVoices()
方法查看所有声音的列表时,只会出现一个(默认为"Microsoft Anna").为什么会发生?
But when i use GetInstalledVoices()
method to view list of all voices, only one (default "Microsoft Anna") appers. Why it may happens?
语音"出现在控制面板"->语音"部分.
Voice is appears in Control Panel -> Speech section.
其他TTS应用程序也可以使用此声音.
Other TTS applications also can use this voice.
推荐答案
I found the answer for my question here
这是 System.Speech.Synthesis
中的错误,.NET v4.5解决了此问题.
This is a bug in System.Speech.Synthesis
and .NET v4.5 solves this problem.
这篇关于SpeechSynthesizer无法获得所有已安装的语音2的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!