3

I have installed the Microsoft Speech Platform runtime from http://www.microsoft.com/en-us/download/details.aspx?id=27225 and some runtime languages from http://www.microsoft.com/en-us/download/details.aspx?id=27224, but when I try to check the installed languages through an application only the default ones will appear.

I add the System.Speech reference and create a synthesizer then do this:

foreach (var v in synth.GetInstalledVoices().Select(v => v.VoiceInfo))
{
 s = "Name:" + v.Description.ToString() + ", Gender:" + v.Gender.ToString() + ", Age:" + v.Age.ToString();
 MessageBox.Show(s);
 }

I have read that Microsoft.Speech and System.Speech are different things, with the first one being focused on server applications and the latter on desktop applications.

I am trying to develop a desktop application, hence using the System.Speech reference, but the only languages I see available for download are Microsoft Speech languages. I have tried this on both Windows 7 and 8.1. I only need the TTS function, not SR.

So long story short, how do I add another language to work with TTS on System.Speech?

Tharif
  • 13,794
  • 9
  • 55
  • 77
user1676874
  • 875
  • 2
  • 24
  • 45

1 Answers1

1

Well, the speech platform has it's own registry keys for their voices. Check out my answer here how to change your registry keys

It's a hack for sure, but it'll get you the answer you want.

disclaimer - this would have been a comment instead of an answer had my reputation exceeded 50

Community
  • 1
  • 1
Lesley Gushurst
  • 664
  • 4
  • 15