如何在这个程序中设置印地语语音? [英] how to set Hindi Voice in this program?
本文介绍了如何在这个程序中设置印地语语音?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
private void btn_voice_Click(object sender, EventArgs e)
{
SpeechSynthesizer voicemachen = new SpeechSynthesizer();
voicemachen.SpeakAsync("this is English Us Voice");
}
推荐答案
一个简单的谷歌搜索导致以下结果:
http://msdn.microsoft.com/en-us /library/jj572477(v=office.14).aspx [ ^ ]
http://msdn.microsoft.com/en-us/library/microsoft.speech.synthesis.speechsynthesizer.selectvoice.aspx [ ^ ]
您必须安装该语音,然后使用SelectVoice方法。
A simple google search resulted in the following:
http://msdn.microsoft.com/en-us/library/jj572477(v=office.14).aspx[^]
http://msdn.microsoft.com/en-us/library/microsoft.speech.synthesis.speechsynthesizer.selectvoice.aspx[^]
You'll have to have that voice installed and then use the SelectVoice method.
这篇关于如何在这个程序中设置印地语语音?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文