views:

642

answers:

3

Hello, Folks !

i want to create an application that is speech-enabled but whenever i get to MS website to download SAPI, i get an error.

I want to know where I can get SAPI.

and I also would like to know if a SAPI 5.3 application can work on Windows 2000, Windows XP and Windows Vista (if coded with C++/MFC).

also, what is the best way to use SAPI ? with C# .NET or C++/MFC ?

Thanks.

A: 

Well, you get SAPI from MS. If they have a problem serving, you have a problem downloading!

I used SAPI with C, so I can't comment on C#/C++.

Also it was some years ago, so I don't know which version I used - but it ran fine on w2k, FWIW.

Blank Xavier
+3  A: 

The Microsoft Speech SDK is availabe for download here.

Whether to choose C# or C++ depends on your own preferences. When using .NET you will find everything related to speech recogition and synthesis in System.Speech. Add a reference to this assembly to your project and you will be able to use the Speech API directly. The following is a simple sample program demonstrating the text-to-speech functionality:

using System.Speech.Synthesis;

class Program
{
    static void Main(string[] args)
    {
        SpeechSynthesizer synth = new SpeechSynthesizer();
        synth.Rate = -1;
        synth.Volume = 100;

        synth.SelectVoice("Microsoft Sam");

        synth.Speak("Hello World");
    }
}
0xA3
+1  A: 

I do not think you can download just Speech SDK 5.3 from the microsoft website. You can download windows platform SDK from http://www.microsoft.com/downloads/details.aspx?FamilyId=F26B1AA4-741A-433A-9BE5-FA919850BDBF&displaylang=en that includes SAPI 5.3.