Thursday, 7 November 2013

Virtual Human - Speaking the Text written in Notepad C#

In this article we are going to see how to make a text to speech in computer using the speech synthesizer in C#.

Virtual HumanClick here to download EXE

Browse the text file or type the text in textbox then hit speak button , system starts to speak ur content in your preferred voice mode male or female voice by the selection of radio button.

If you want to save the speech as wav you can save the speech by hit save , save options only enable when you stop the speech


Load the Text File.

Save the audio by hit save.

Code :

         SpeechSynthesizer speak = new SpeechSynthesizer();
         speak.Volume = 100;
         //speak.Rate = 5
         else if(radioButton2.Checked)                          


I Hope this article will give you detailed about speech class in c#.

No comments:

Post a Comment