關(guān)于tts語(yǔ)音引擎的使用方法!很多軟件具有英文發(fā)音和朗讀功能,它們都使用了MSTTS(Microsoft Text To Speech)技術(shù)。微軟遵照COM的標(biāo)準(zhǔn),提供了一套Speech API來(lái)對(duì)MSTTS進(jìn)行編程。要在程序中使用這套API,必須確保系統(tǒng)已經(jīng)安裝了MSTTS和Spchapi軟件包。 Speech API可以作為類型庫(kù)引用到Delphi中,方法是:打開(kāi)Project選單下的Import Type Litrary,點(diǎn)擊“Add”加入Windows\Speech目錄下的Vtxauto.tlb文件,在Delphi的Import目錄中就會(huì)生成VTxtAuto—TLB.pas文件,其中定義了VTxtAuto—TLB單元,把它加到Uses成員中來(lái)。設(shè)計(jì)如圖2所示的窗口,定義全局變量: var VoTxt:IVTxtAuto 然后在FORM的OnCreate事件中加入: VoTxt:=CoVTxtAuto_.Create VoTxt.Register(′′,′Speech Test′) {注冊(cè)} “Read”按鈕代碼為: VoTxt.Speak(Memo1.Lines.Text,10) {朗讀} “Stop”按鈕代碼為: VoTxt.StopSpeaking {停止朗讀} 至此,應(yīng)用程序已具有朗讀功能,10表示使用普通語(yǔ)氣。借住VoTxt的屬性和方法,我們還可以控制閱讀速度和語(yǔ)氣,實(shí)現(xiàn)暫停、跳句等功能,Speech API編程就這么簡(jiǎn)單。
上傳時(shí)間: 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.
標(biāo)簽: complexity the building computer
上傳時(shí)間: 2015-04-25
上傳用戶:tyler
使用說(shuō)明: 編譯并安裝,在 IDE 的控件欄可以看見(jiàn) VCLSKIN 包含有 TSkinData,TSkinStore和TSkinCaption 請(qǐng)?jiān)诜胖?TSkinData 控件的 FORM 上放置一個(gè) TSkinCaption, 當(dāng)TSkinCaption 的 Active 屬性為 False 時(shí)關(guān)閉補(bǔ)丁,當(dāng) Active 為 True 時(shí)開(kāi)啟補(bǔ)丁。 補(bǔ)丁未開(kāi)啟時(shí) VclSkin 為 DEMO 版, 補(bǔ)丁開(kāi)啟時(shí) VclSkin 業(yè)已成為 retail 版本。 補(bǔ)丁支持運(yùn)行時(shí)動(dòng)態(tài)開(kāi)啟。 請(qǐng)注意:3.93 以后的版本補(bǔ)丁 active 屬性缺省為開(kāi)啟。 新增 SKIN 的透明設(shè)置 SkinAlpha,可以制作全透明的 Vista 界面,包括 Menus,Dialogs,MessageBox 等等。 備注:此版本已經(jīng)可以和 TNT Unicode Controls 很好的一起工作! 如果你需要轉(zhuǎn)載本補(bǔ)丁,請(qǐng)指明出處。 maotpo@126.com QQ: 378453102 (歡迎交流)
標(biāo)簽: 使用說(shuō)明 編譯
上傳時(shí)間: 2015-05-10
上傳用戶:lps11188
VHDL 關(guān)于2DFFT設(shè)計(jì)程序 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.
標(biāo)簽: scinode1 scinode details 2DFFT
上傳時(shí)間: 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.
標(biāo)簽: directory writeable Geocode project
上傳時(shí)間: 2013-12-19
上傳用戶:wangchong
Perl_CGI六天入門 第一天 1.1 Unix環(huán)境 1.2 chmod命令 1.3 定位Perl和sendmail 第二天 2.1 使用Emacs 2.2 Perl簡(jiǎn)介 2.3 HTML FORM 第三天 3.1 回應(yīng)腳本 3.2 腳本解釋 3.3 BODY部分 第四天 4.1 email子過(guò)程 4.2 寫文件 4.3 建立log文件 第五天 5.1 留言板CGI代碼 5.2 代碼詳解 5.3 讀取log文件 第六天 6.1 設(shè)置口令 6.2 計(jì)數(shù)器
標(biāo)簽: Perl_CGI sendmail Emacs chmod
上傳時(shí)間: 2015-05-20
上傳用戶:小儒尼尼奧
非常COOL的動(dòng)感界面制作控件,能夠做出WIN2K般的效果,包括有MENU,POPMENU以及FORM等等界面
上傳時(shí)間: 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).
標(biāo)簽: programming interface provides standard
上傳時(shí)間: 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
標(biāo)簽: government streamline important alphabet
上傳時(shí)間: 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----------最佳染色體所對(duì)應(yīng)的目標(biāo)函數(shù)值 % FUN------------目標(biāo)函數(shù) % LB-------------自變量下限 % UB-------------自變量上限 % eranum---------種群的代數(shù),取100--1000(默認(rèn)1000) % popsize--------每一代種群的規(guī)模;此可取50--100(默認(rèn)50) % pcross---------交叉的概率,此概率一般取0.5--0.85之間較好(默認(rèn)0.8) % pmutation------變異的概率,該概率一般取0.05-0.2左右較好(默認(rèn)0.1) % options--------1×2矩陣,options(1)=0二進(jìn)制編碼(默認(rèn)0),option(1)~=0十進(jìn)制編碼,option(2)設(shè)定求解精度(默認(rèn)1e-4)
標(biāo)簽: pmutation BestPop popsize maximum
上傳時(shí)間: 2015-07-16
上傳用戶:Altman
蟲蟲下載站版權(quán)所有 京ICP備2021023401號(hào)-1