特工讲话 [英] how ms agent will speak
本文介绍了特工讲话的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
您好,先生,
我在窗口应用程序中使用MS AGENT,正在获取代理merlin,他说了文本框中的文本,但我却听到了声音
我需要下载任何软件吗?
这个梅林人会怎么说,我怎么能听到声音?
这是我使用的代码
Hi sir,
I am using MS AGENT in a window application, I am getting agent merlin and he says the text which in the textbox, but i cont hear the voice
Is there any soft wares that i need to download ?
How this merlin will speak, how can i hear the voice ?
this is the code which i used
namespace sample
{
public partial class Form1 : Form
{
public AgentObjects.IAgentCtlCharacterEx Merlin;
public Form1()
{
InitializeComponent();
}
private void Form1_Load(object sender, EventArgs e)
{
axAgent1.Characters.Load("Merlin", "Merlin.acs");
Merlin = axAgent1.Characters["Merlin"];
Merlin.Show(true);
Merlin.Speak("Welcome Sir", "");
}
private void button1_Click(object sender, EventArgs e)
{
//axAgent2.Characters.Load("Genie", "Genie.acs");
//Genie = axAgent1.Characters["Genie"];
//Genie.Show(true);
Merlin.Speak("Welcome Sir", ""); Merlin.Show(false);
Merlin.Speak(textBox1.Text, "");
}
}
}
HOW TO CHANGE AGENT VOICE ??
推荐答案
^ ]
这篇关于特工讲话的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文