Click here to Skip to main content
15,902,777 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
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

C#
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 ??
Posted
Updated 2-Sep-11 20:50pm
v2
Comments
[no name] 26-Aug-11 3:14am    
You may have a problem with your sound driver. Can you hear sounds from other apps? Or can you play an mp3 file?
manoharnch 26-Aug-11 3:21am    
Yes i can hear MP3 FILE and all, but not this one
koolprasad2003 26-Aug-11 4:45am    
if it is solved then marked as SOLVED

1 solution

 
Share this answer
 
Comments
version_2.0 3-Sep-11 4:07am    
my 5++;

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900