1. 系統說明
Windows 7 x64 作業系統
VS2010 x86 工具
ASUS A43S 筆電
2. Ref : http://www.microsoft.com/download/en/details.aspx?id=27224
Instructions
- First install the Microsoft Speech Platform - Runtime 11.0
- Click the file you want to download from the list below.
- Do one of the following:
- To start the installation immediately, click Open or Run this program from its current location.
- To copy the download to your computer for installation at a later time, click Save or Save this program to disk
2. 下載 MSSpeech_TTS_zh-TW_HanHan.msi 中文安裝
3. 下載 MSSpeech_SR_zh-TW_TELE 中文安裝
4. 下載SDK安裝
5. Console mode testing program
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
// Add SpeechLib.DLL from COM component
using SpeechLib;
namespace Speech5
{
class Program
{
static void Main(string[] args)
{
SpVoice 說 = new SpVoice();
說.Speak("本專題運用DXStudio與VS 2010開發工具,建立視窗型的角色扮演應用程式,除整理DXStudio可運用的場景、人物、物件等元件,以DXStudio編輯器,自行規劃場景與加入人物,綜合運用javascript與C#程式,開發遊戲所需之程式模組");
說.Speak("This is a test for English speaking.", SpeechVoiceSpeakFlags.SVSFDefault);
}
}
}
測試OK!