在哪里可以下载Microsoft语音 SDK 5.4

Where Can I Download Microsoft Speech SDK 5.4

本文关键字:SDK 语音 Microsoft 下载 在哪里      更新时间:2023-10-16

我需要开发一个简单的64位C++文本到语音转换(TTS)程序,以便在Windows 7和Vista上运行。 我的第一步是尝试从SAPI 5.4教程编译程序。 但是我在 Windows 7 机器上找不到所需的 SAPI 5.4 软件包。 我搜索了互联网,只有SAPI 5.1可用于Windows XP。
Microsoft语音技术页面声称"用于对 Windows 7 中包含的语音引擎进行编程的本机代码 API"。 SAPI 5.4 教程包含以下说明:

Step 1. Setting up the Project:  
…  
Code Listing 1  
Next add the paths to SAPI.h and SAPI.lib files. The paths shown are for a 
standard SAPI SDK install. If the compiler is unable to locate either file, 
or if a nonstandard install was performed, use the new path to the files. 
Change the project settings to reflect the paths. Using the Project->Settings. 
menu item, set the SAPI.h path. Click the C/C++ tab and select Preprocessor 
from the Category drop-down list. Enter the following in the "Additional 
include directories": C:Program FilesMicrosoft Speech SDK 5.4Include.  

To set the SAPI.lib path:    
1.  Select the Link tab from the Same Settings dialog box.  
2.  Choose Input from the Category drop-down list.  
3.  Add the following path to the "Additional library path": 
    C:Program FilesMicrosoft Speech SDK 5.4Libi386.  
4.  Also add "sapi.lib" to the "Object/library modules" line. Be sure that the 
    name is separated by a space.   
…  

上述说明中的 2 个文件夹在我的 Windows 7 PC 上不存在。 我安装了Windows SDK for Windows 7和.NET Framework 4,但这两个文件夹仍然不存在。
我应该怎么做才能在我的 Windows 7 机器上安装 SAPI 5.4 并从上面的教程中编译程序?
非常感谢您的帮助!
大卫

Microsoft语音SDK 5.4

或SAPI 5.4包含在"Windows SDK for Windows 7 and .NET Frameword 4"包中。 可以从Microsoft下载中心下载。 安装软件包后,包含文件位于"c:\Program Files\Microsoft SDKs\Windows\v7.1\include"中,库文件位于"c:\Program Files\Microsoft SDKs\Windows\v7.1\Lib\x64"中。编译程序时无需指定这两个位置。 Microsoft的 SAPI 5.4 教程和一些相关文档已过时。