Text to speech
CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2

Thread: Text to speech

  1. #1
    Join Date
    Sep 2011
    Posts
    3

    Angry Text to speech

    i am devolping text to speech application in C#(windows Form Application).

    i have done like :

    SpVoice sp = new SpVoice();
    sp.Speak(textBox1.Text, SpeechVoiceSpeakFlags.SVSFDefault);

    but i need 2 types of voice for user to choose like
    1.American voice
    2.British voice

    Any idea about how to do this..?
    Thanking you.

  2. #2
    Join Date
    Jan 2009
    Posts
    596

    Re: Text to speech

    Look at the GetVoices() method and Voice property on the SpVoice class here:

    http://msdn.microsoft.com/en-us/libr...=VS.85%29.aspx

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


Windows Mobile Development Center


Click Here to Expand Forum to Full Width

This is a CodeGuru survey question.


Featured


HTML5 Development Center