關(guān)于tts語音引擎的使用方法!很多軟件具有英文發(fā)音和朗讀功能,它們都使用了MSTTS(Microsoft Text To Speech)技術(shù)。微軟遵照COM的標準,提供了一套Speech API來對MSTTS進行編程。要在程序中使用這套API,必須確保系統(tǒng)已經(jīng)安裝了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的屬性和方法,我們還可以控制閱讀速度和語氣,實現(xiàn)暫停、跳句等功能,Speech API編程就這么簡單。
上傳時間: 2014-01-21
上傳用戶:13681659100
In case you haven t realized it, building computer systems is hard. As the complexity of the system gets greater, the task of building the software gets exponentially harder. As in any profession, we can progress only by learning, both from our mistakes and from our successes. This book represents some of this learning written in a Form that I hope will help you to learn these lessons quicker than I did, or to communicate to others more effectively than I did before I boiled these patterns down.
標簽: complexity the building computer
上傳時間: 2015-04-25
上傳用戶:tyler
使用說明: 編譯并安裝,在 IDE 的控件欄可以看見 VCLSKIN 包含有 TSkinData,TSkinStore和TSkinCaption 請在放置 TSkinData 控件的 Form 上放置一個 TSkinCaption, 當TSkinCaption 的 Active 屬性為 False 時關(guān)閉補丁,當 Active 為 True 時開啟補丁。 補丁未開啟時 VclSkin 為 DEMO 版, 補丁開啟時 VclSkin 業(yè)已成為 retail 版本。 補丁支持運行時動態(tài)開啟。 請注意:3.93 以后的版本補丁 active 屬性缺省為開啟。 新增 SKIN 的透明設置 SkinAlpha,可以制作全透明的 Vista 界面,包括 Menus,Dialogs,MessageBox 等等。 備注:此版本已經(jīng)可以和 TNT Unicode Controls 很好的一起工作! 如果你需要轉(zhuǎn)載本補丁,請指明出處。 maotpo@126.com QQ: 378453102 (歡迎交流)
上傳時間: 2015-05-10
上傳用戶:lps11188
VHDL 關(guān)于2DFFT設計程序 u scinode1 ∼ scinode9.vhd: Every SCI node RTL vhdl code. The details can be seen in the following section. u 2dfft.vhd: The top module includes these scinodes and Form a 3x3 SCI Torus network, and it support these sub-modules scinode1∼ scinode9 reset and clk and global_cnt signals to synchronous the sub-modules to simplify the overall design. u proj2.wfc: VSS simulation result that is the same as the ModelSim simulation result. u Pro2_2.wfc: VSS simulation result of another test pattern can’t cause overflow situation.
標簽: scinode1 scinode details 2DFFT
上傳時間: 2014-12-02
上傳用戶:15071087253
Unzip this file into a writeable directory. You should end up with a "Geocode" project, as well as Bitmaps and TestData directories. This sample geocodes single-match zip codes, entered by the user, or a batch-match of a table of zips (and other info) against a point shapefile. The point data shapefile consists of 41859 point features from 1996 GDT data, in decimal degrees. The table of zips that can be used in the batch match consists of 38 records, entitled "few_zips.dbf". More specifcs are found at the top of each Form and are provided throughout the code.
標簽: directory writeable Geocode project
上傳時間: 2013-12-19
上傳用戶:wangchong
Perl_CGI六天入門 第一天 1.1 Unix環(huán)境 1.2 chmod命令 1.3 定位Perl和sendmail 第二天 2.1 使用Emacs 2.2 Perl簡介 2.3 HTML Form 第三天 3.1 回應腳本 3.2 腳本解釋 3.3 BODY部分 第四天 4.1 email子過程 4.2 寫文件 4.3 建立log文件 第五天 5.1 留言板CGI代碼 5.2 代碼詳解 5.3 讀取log文件 第六天 6.1 設置口令 6.2 計數(shù)器
標簽: Perl_CGI sendmail Emacs chmod
上傳時間: 2015-05-20
上傳用戶:小儒尼尼奧
非常COOL的動感界面制作控件,能夠做出WIN2K般的效果,包括有MENU,POPMENU以及Form等等界面
上傳時間: 2015-05-21
上傳用戶:ztj182002
The Audio File Library provides a uniForm programming interface to standard digital audio file Formats. This library allows the processing of audio data to and from audio files of many common Formats (currently AIFF, AIFF-C, WAVE, NeXT/Sun .snd/.au, IRCAM, AVR, Amiga IFF/8SVX, and NIST SPHERE). The library also supports compression (currently G.711 mu-law and A-law and IMA and MS ADPCM) as well as PCM Formats of all flavors (signed and unsigned integer, single- and double-precision floating point).
標簽: programming interface provides standard
上傳時間: 2014-12-06
上傳用戶:a6697238
The government of a small but important country has decided that the alphabet needs to be streamlined and reordered. Uppercase letters will be eliminated. They will issue a royal decree in the Form of a String of B and A characters. The first character in the decree specifies whether a must come ( B )Before b in the new alphabet or ( A )After b . The second character determines the relative placement of b and c , etc. So, for example, "BAA" means that a must come Before b , b must come After c , and c must come After d . Any letters beyond these requirements are to be excluded, so if the decree specifies k comparisons then the new alphabet will contain the first k+1 lowercase letters of the current alphabet. Create a class Alphabet that contains the method choices that takes the decree as input and returns the number of possible new alphabets that conForm to the decree. If more than 1,000,000,000 are possible, return -1. Definition
標簽: government streamline important alphabet
上傳時間: 2015-06-09
上傳用戶:weixiao99
% [BestPop,Trace]=fmaxga(FUN,LB,UB,eranum,popsize,pcross,pmutation) % Finds a maximum of a function of several variables. % fmaxga solves problems of the Form: % max F(X) subject to: LB <= X <= UB % BestPop--------最優(yōu)的群體即為最優(yōu)的染色體群 % Trace----------最佳染色體所對應的目標函數(shù)值 % FUN------------目標函數(shù) % LB-------------自變量下限 % UB-------------自變量上限 % eranum---------種群的代數(shù),取100--1000(默認1000) % popsize--------每一代種群的規(guī)模;此可取50--100(默認50) % pcross---------交叉的概率,此概率一般取0.5--0.85之間較好(默認0.8) % pmutation------變異的概率,該概率一般取0.05-0.2左右較好(默認0.1) % options--------1×2矩陣,options(1)=0二進制編碼(默認0),option(1)~=0十進制編碼,option(2)設定求解精度(默認1e-4)
標簽: pmutation BestPop popsize maximum
上傳時間: 2015-07-16
上傳用戶:Altman
蟲蟲下載站版權(quán)所有 京ICP備2021023401號-1