关于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
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 时关闭补丁,当 Active 为 True 时开启补丁。 补丁未开启时 VclSkin 为 DEMO 版, 补丁开启时 VclSkin 业已成为 retail 版本。 补丁支持运行时动态开启。 请注意:3.93 以后的版本补丁 active 属性缺省为开启。 新增 SKIN 的透明设置 SkinAlpha,可以制作全透明的 Vista 界面,包括 Menus,Dialogs,MessageBox 等等。 备注:此版本已经可以和 TNT Unicode Controls 很好的一起工作! 如果你需要转载本补丁,请指明出处。 maotpo@126.com QQ: 378453102 (欢迎交流)
上传时间: 2015-05-10
上传用户:lps11188
VHDL 关于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环境 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 计数器
标签: 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--------最优的群体即为最优的染色体群 % Trace----------最佳染色体所对应的目标函数值 % FUN------------目标函数 % LB-------------自变量下限 % UB-------------自变量上限 % eranum---------种群的代数,取100--1000(默认1000) % popsize--------每一代种群的规模;此可取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