This is what I have to make a simple Text-to-Speech application. This works fine.
static void Main(string[] args)
{
SpeechSynthesizer ss = new SpeechSynthesizer();
string file = @"C:\test.wav";
ss.SetOutputToWaveFile(file, new SpeechAudioFormatInfo(16000, AudioBitsPerSample.Sixteen, AudioChannel.Mono));
PromptBuilder pb = new PromptBuilder();
pb.StartVoice("Microsoft David Desktop");
pb.AppendSsmlMarkup("Hello world");
pb.EndVoice();
ss.Speak(pb);
Console.ReadLine();
}
Now my question is if I can use a voice other than the Microsoft voices to speak the text out loud. Like L&H Michael or Michelle, voices that are SAPI compliant.
I tried doing it with L&H Michael or Michelle, but instead of using these voices the application just uses the default Microsoft voice.