none
Download and use all speech synthesizer voices RRS feed

  • Question

  • i would like to install all speech synthesizer voices and then choose them by name how would i do that?

    wait what

    Monday, September 5, 2016 12:42 PM

Answers

  • Hi shayVSqaminq,

    Thank you for posting here.

    For your question, you could download from Speech Recognition and Text-to-Speech Engines for Microsoft supported Languages.

    To select another installed speaking voice, call the SelectVoice(String) or SelectVoiceByHints() methods.

    The following example selects the US English voice.

    using System;
    using Microsoft.Speech.Synthesis;
    
    namespace SampleSynthesis
    {
      class Program
      {
        static void Main(string[] args)
        {
    
          // Initialize a new instance of the SpeechSynthesizer.
          using (SpeechSynthesizer synth = new SpeechSynthesizer())
          {
    
            // Configure the audio output.
            synth.SetOutputToWaveFile(@"C:\temp\test.wav");
    
            // Select the US English voice.
            synth.SelectVoice("Microsoft Server Speech Text to Speech Voice (en-US, Helen)");
    
            // Build a prompt.
            PromptBuilder builder = new PromptBuilder();
            builder.AppendText("That is a big pizza!");
    
            // Speak the prompt.
            synth.Speak(builder);
          }          
        }
      }
    }
    

    I hope this would be helpful to you.

    If you have something else, please feel free to contact us.

    Best Regards,

    Wendy


    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click HERE to participate the survey.

    Tuesday, September 6, 2016 8:43 AM
    Moderator

All replies