Use TTS functionality in Microsoft Speech Platform

Use TTS functionality in Microsoft Speech Platform

  • Comments 2

In previous post, I introduced the microsoft speech platform is available to download. Here is a short introduction on how to use the TTS functionality provided by the platform.  The steps are:

1. Download and install the speech platform runtime and one language pack like en-US as you wish

2. Download the Software Development Kit and install it.  the SDK is installed into somewhere like C:\Program Files\Microsoft Speech Platform SDK

3. Launch Visual Studio, go to “Tools” ->  “options” -> “Project and Solutions” -> “VC++ Directories” (Here I use VS2008)
    Add the path like C:\Program Files\Microsoft Speech Platform SDK\include into the “include files” directories (as top one)
    Add the path like C:\Program Files\Microsoft Speech Platform SDK\Lib into the “library files” directories (as top one)

4. Unzip the attached sample and build,  you should be able to compile it and run. You can hear the voice is speaking to you. This is actually a simple "hello world" example using the native API (SAPI) to call TTS.

Let me know if this works for you or not. Have fun with TTS!

 

Attachment: speak.zip
Leave a Comment
  • Please add 7 and 6 and type the answer here:
  • Post
  • Playing around. Managed to get it work with VS 2010 after changing the project to 64-bit. (For some reason after VS2010 project conversion the default project type was x86.) Now time to read some specs, and see how to change a voice. Thanks.

  • glad to hear it works for you

Page 1 of 1 (2 items)