[Question] Speech Synthesizer acting weird. Win 7 64 bit.

I'm writing a small speech synthesizer program. It was working great till I saw I had only a Microsoft Anna voice available. So I installed new voices Sam, Mike, and Marry. To test this out I have a listBox for installed voices. Code:

foreach (object obj in mySys.GetInstalledVoices()) { var voice = (InstalledVoice)obj; me2.Items.Add(voice.VoiceInfo.Name); } 

When I run the program the names it gives me are anna,mike, and marry. No Sam? http://ift.tt/1IxRuMn . So I though well lets see if it works anyway. I tried doing this:

mySys.SelectVoice("Microsoft Anna"); // works great mySys.SelectVoice("Microsoft Mike"); //throw exception 

and I got an exception that says the voice is not installed or enabled. Why would it list it in my listBox then? So then I downloaded Speakonia (a third party TTS program). And now it's telling me that I have a ton of voices installed: http://ift.tt/1gRCAtO . This is an asp.net program. Why is this happening and what should I do to solve it? Also here is a picture of my registry that says I have only one voice installed: http://ift.tt/1IxRw6Y

by savvamadar via /r/csharp

Leave a Reply