Freigeben über


Sample Source Code for Speech Developers Part 2 and SAPI 5.4

Developers interested in using speech technologies in their applications have been downloading the Windows SDK, but not everyone has been able to find our sample code after installation. If you’ve installed the latest Windows SDK, you’ll find the speech samples under “C:\Program Files\Microsoft SDKs\Windows\v7.0\Samples\winui\speech”. Of course, if you didn’t use the default installation location or your root drive isn’t C: you’ll need to adjust for that.

Note that the Microsoft Windows SDK for Windows 7 supports SAPI 5.4. The 5.4 version of the Speech API is largely the same as 5.3, but to see what‘s new go to the Speech Technologies node on MSDN and follow the SAPI 5.4 link.

Comments

  • Anonymous
    June 24, 2010
    One step closer to becoming the speech developer I've always wanted to be. Your post really norrowed down what developer resources I needed to acquire. I'm ready to install the Windows 7 SDK. I've never worked directly with a server before, so I'm treading lightly about installing one on my current Windows 7 laptop. Any recommendations?

  • Anonymous
    July 29, 2010
    The comment has been removed

  • Anonymous
    September 09, 2010
    I did install the SDK, but there is no such samples folder... I already encountered this problem on VS2008...

  • Anonymous
    September 23, 2010
    @Incubbus: When I installed the Windows SDK, not the SAPI SDK, I had to select to install the samples. I don't believe they were installed by default. All: I'm trying to find information on programatic control of user speech profiles, anyone have an example or even a decent article about this?

  • Anonymous
    February 28, 2011
    The comment has been removed

  • Anonymous
    March 15, 2011
    Hi  sharmauiuc, Here is a link for the White Papers you are looking for for the SAPI 5.4: msdn.microsoft.com/.../ee431803(v=VS.85).aspx SAPI 5.3: msdn.microsoft.com/.../ms723627(v=VS.85).aspx but better begin at: msdn.microsoft.com/.../ee721044.aspx

  • Anonymous
    August 15, 2011
    How come the windows sdk only has code examples in C++ and C charp...no vb.net?

  • Anonymous
    January 18, 2012
    I am interested in writing a speech app for windows, so imagine my excitement when I discovered SAPI after quick google search! But then I start digging further and it seems to be a dying world. Is Microsoft not putting anything behind this technology any longer? I noticed here on this speech blog that the last post says "Over 2 years ago." Anyway, I have poked around at the SDK and I love it for my purposes. Thank you all and I hope to hear more chatter around here! :)

  • Anonymous
    July 18, 2012
    The comment has been removed

  • Anonymous
    February 16, 2013
    I try to developpe my own simple app but dosen't work can somehelp

  • Anonymous
    July 17, 2013
    The comment has been removed

  • Anonymous
    September 16, 2013
    Bertrand, I can only presume you mean VB6 which is not even supported or operating correctly on 64 bit machines - as for VB.net, it still ends up as C# does regarding MSIL but has less powerful constructs and less standardised syntax (C# is on a par with Java or C or C++).

  • Anonymous
    January 27, 2015
    Samples are in the ISO file, downloaded from here: www.microsoft.com/.../confirmation.aspx H:SetupWinSDKSamples Cab3.cab contains the speech examples in "winui". Use the MSI to install it and they will show up in: C:Program Files (x86)Microsoft SDKsWindowsv7.1Sampleswinui Examples are apparently consistent through SAPI 5.4