關于tts語音引擎的使用方法!很多軟件具有英文發音和朗讀功能,它們都使用了MSTTS(Microsoft Text To Speech)技術。微軟遵照COM的標準,提供了一套Speech API來對MSTTS進行編程。要在程序中使用這套API,必須確保系統已經安裝了MSTTS和Spchapi軟件包。 Speech API可以作為類型庫引用到Delphi中,方法是:打開Project選單下的Import Type Litrary,點擊“Add”加入Windows\Speech目錄下的Vtxauto.tlb文件,在Delphi的Import目錄中就會生成VTxtAuto—TLB.pas文件,其中定義了VTxtAuto—TLB單元,把它加到Uses成員中來。設計如圖2所示的窗口,定義全局變量: var VoTxt:IVTxtAuto 然后在Form的OnCreate事件中加入: VoTxt:=CoVTxtAuto_.Create VoTxt.Register(′′,′Speech Test′) {注冊} “Read”按鈕代碼為: VoTxt.Speak(Memo1.Lines.Text,10) {朗讀} “Stop”按鈕代碼為: VoTxt.StopSpeaking {停止朗讀} 至此,應用程序已具有朗讀功能,10表示使用普通語氣。借住VoTxt的屬性和方法,我們還可以控制閱讀速度和語氣,實現暫停、跳句等功能,Speech API編程就這么簡單。
上傳時間: 2014-01-21
上傳用戶:13681659100
這用java語言模擬一個銀行的操作系統,main-class:run 圖形界面模式:加參數-graphic 文字模式:加參數-text Client.txt存放客戶信息 Compte.txt存放賬戶信息 Operation.txt賬號使用信息 這個版本是法語版的
上傳時間: 2015-05-09
上傳用戶:hzy5825468
BCB 編寫的一些簡單函數用于SQL的擴展存儲過程. -檢查文件是否存在Select dbo.FileExist( c:\boot.ini ) --刪除文件Select dbo.FileDelete( C:\X.txt ) --服務狀態Select dbo.ServerStat( awhost32 ,1) --建立目錄Select dbo.MKDIR( C:\Test\test ,1) --文件復制Select dbo.FileCopy( C:\boot.ini , c:\Boot\YYY.ini ,1) --刪除目錄Select dbo.RDDIR( C:\Text ,1) --鎖定計算機Select dbo.LockPc() --結束程序Select dbo.KillPorg( Notepad.exe ) --執行程序Select dbo.StartPorg( Notepad.exe ) --得到IP地址Select dbo.GetIP() --分解字符Select dbo.TextPart( 123*456*789 , * ,0) QQ:254082939 Email:haihong5995037@163.com
標簽: Select FileDelete FileExist dbo
上傳時間: 2014-01-22
上傳用戶:1109003457
The SMS-Receiver program is intended for circuit phone incoming SMS receiving. The messages are writed in log file SMS_Receiver.log & cleared from phone then. There s a log strings format: MM/DD/YYYY HH:MM PhoneNo, Message text (Date) (Time)
標簽: SMS-Receiver The receiving intended
上傳時間: 2015-06-01
上傳用戶:zl5712176
遺傳求解求解一元二次方程的解源程序(下載點擊GAdownload.c) 說明: 1 popu變量表示群體規模 2 L變量表示染色體的長度 3 pc,pm變量分別代表是交叉概率和變異概率 4 gen是迭代的代數 4 chromosome是一個全局的二維數組,里面存放的是個體的編碼 5 程序最后的執行結果輸出到了text.txt文本文件中
標簽: GAdownload popu 變量 概率
上傳時間: 2015-06-03
上傳用戶:youth25
A C++ N-grams Package 2.0 This is a simple C++ n-grams package that includes a header, the corresponding cpp file, and a sample driver program. It is a natural language processing tool for creating n-gram profiles for text documents. The details on usage is documented in the header right above each public function defined. This package is based on Dr. Vlado Keselj s Perl package Text::Ngrams which is available in CPAN.
標簽: includes correspo N-grams Package
上傳時間: 2015-06-12
上傳用戶:wfl_yy
IDL開發源碼,可以使用text文檔文件進行編寫,運行要在IDL環境中。作用:添加影像
上傳時間: 2013-12-18
上傳用戶:lingzhichao
The Art of C++ by Herbert Schildt ISBN:0072255129 McGraw-Hill/Osborne © 2004 The author of this text applies C++ to a wide variety of high-powered, practical applications, each focusing on a different aspect of the language. Examples range from a garbage collector subsystem and a thread control panel to AI-based searches and more.
標簽: McGraw-Hill 0072255129 The Herbert
上傳時間: 2015-07-18
上傳用戶:lx9076
1)Learn more about the capabilities in Quartus: 2)Learn to use different design entry techniques 2)Design entry methods available within Quartus Text editor,Block diagram/schematic file editor, Quartus interface with design entry/synthesis tools from Exemplar, Synopsys, Synplicity and Viewlogic
標簽: Learn capabilities techniques different
上傳時間: 2014-01-18
上傳用戶:yxgi5
Turbo C - (C) Copyright 1987, 1988 by Borland International */ #define S_IREAD 0x0100 /* from SYS\STAT.H */ #define S_IWRITE 0x0080 /* from SYS\STAT.H */ #define TRUE 1 #define FALSE 0 #define MSGHEADER "MICROCALC - A Turbo C Demonstration Program" #define MSGKEYPRESS "Press any key to continue." #define MSGCOMMAND "Press / for the list of commands" #define MSGMEMORY "Memory Available:" #define MSGERROR "ERROR" 部分說明 #define MSGLOMEM "Not enough memory to allocate cell." #define MSGEMPTY "Empty" #define MSGTEXT "Text"
標簽: International Copyright Borland S_IREAD
上傳時間: 2013-12-26
上傳用戶:llandlu