看不到已安装的TTS语音 [英] Can not see installed TTS Voice
问题描述
我下载并安装了MSpeech_TTS_en-AU-Haley.msi和MSpeech_TTS_en-US-Helen.msi,但可以看到它们.
I downloaded and installed both MSpeech_TTS_en-AU-Haley.msi and MSpeech_TTS_en-US-Helen.msi but can see them.
我只能看到Microsoft Anna的默认声音.除了运行.msi文件之外,您还需要执行其他操作才能看到这些声音吗?
I can only see the default voice of Microsoft Anna. Is there anyting else you need to do to be able to see these voices besides run the .msi file?
我正在使用Win7 SP1 64位家庭版.
I am on Win7 SP1 64 Bit Home eddition.
我的代码:
进口
System.Text
进口
System.Speech.Synthesis
InstalledVoice)= p_objSynth.GetInstalledVoices(Globalization.CultureInfo.CurrentCulture)
InstalledVoice) = p_objSynth.GetInstalledVoices(Globalization.CultureInfo.CurrentCulture)
VoiceInfo = objvoices(0).VoiceInfo
VoiceInfo = objvoices(0).VoiceInfo
objvoices
objvoices
objvoiceInformation = tmpvoice.VoiceInfo
objvoiceInformation = tmpvoice.VoiceInfo
cmbInstalled.Items.Add(objvoiceInformation.Name.ToString) 在combox中显示已安装的语音
cmbInstalled.Items.Add(objvoiceInformation.Name.ToString) 'Display installed voices in combox
下一个
Next
我也通过控制面板中的语音属性"进行了检查.它也只能看到MS Anna.
我从以下位置下载:
http://www.microsoft.com/download/en/details.aspx?displaylang=en&id=3971
推荐答案
嗨
发生的事情很自然,因为您使用的是System.Speech命名空间,该命名空间使用控制面板上的语言,因此下载的语言包适用于Microsoft Speech Platform.那是在 Microsoft.Speech命名空间(如果已安装Microsoft Speech Platform SDK). Microsoft Speech Platform是一种不同的技术,通常在服务器平台上使用,但是它也可以在桌面系统(例如vista或7)中使用,但需要一些技巧.
Hi
What's happening to you is natural, because your are using System.Speech Namespace that uses the languages that are on your control panel, the language pack you've downloaded is for Microsoft Speech Platform. That is in the Microsoft.Speech Namespace if you have the Microsoft Speech Platform SDK installed. Microsoft Speech Platform is a different technologie, usually used on server platform , but it can be used also in desktop systems like vista or 7 with minor tricks.
这篇关于看不到已安装的TTS语音的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!