Description: 关于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编程就这么简单。
-TTS voice on the use of the engine! Many software with English pronunciation and reading aloud function, they have used MSTTS (Microsoft Text To Speech) technology. Microsoft COM comply with the standards and provide a set of Speech API to right MSTTS program. The procedure to use this API, we must ensure that the system has been installed and Spchapi MSTTS package. Speech API can be used as a type library to Delphi, is : Open Project menu under the Import Type Litrary, click on the "Add" to join Windows \\ directory under the Speech Vtxauto.tlb documents in the Delphi Import directory will generate VTxtAuto - TLB.pas document, which will just a VTxtAuto - TLB units, it added Uses members to China. Figure 2 shows the design of windows, the definition of global variables : var VoTx Platform: |
Size: 7931 |
Author:章称 |
Hits:
Description: 本程序旨在讲解如何用Delphi创建一个可以在易语言中执行的支持库,并给出了一个实用的汉字取模的易程序, 1.支持库为标准DLL格式,扩展名为fne. 在其中实现了移位操作(Delphi7+WinXp通过) 2.在易语言中导入此支持库(复制TaoLibShift.fne)到易语言的LIB目录下,然后才可以执行 [诺亚点阵汉字提取器.e] 3.输出的格式有 ASM和C两种格式,可以直接应用于8x8点阵LED,-This procedure aims to explain how to use Delphi to create a language can be easily implemented to support the library, and gives a practical Chinese modulus of conveyancing, 1. Support library DLL as a standard format, called the expansion of fne. In which the achieved a shift operation (Delphi7+ WinXp through) 2. in language easy to import this support library (copy TaoLibShift.fne) to the easy language LIB directory, and then we can implement [dot characters Noah extractors. e ] 3. Output formats are ASM and C in two formats, can be directly applied to 8x8 dot matrix LED, Platform: |
Size: 970752 |
Author:江涛 |
Hits:
Description: 关于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编程就这么简单。
-TTS voice on the use of the engine! Many software with English pronunciation and reading aloud function, they have used MSTTS (Microsoft Text To Speech) technology. Microsoft COM comply with the standards and provide a set of Speech API to right MSTTS program. The procedure to use this API, we must ensure that the system has been installed and Spchapi MSTTS package. Speech API can be used as a type library to Delphi, is : Open Project menu under the Import Type Litrary, click on the "Add" to join Windows \ directory under the Speech Vtxauto.tlb documents in the Delphi Import directory will generate VTxtAuto- TLB.pas document, which will just a VTxtAuto- TLB units, it added Uses members to China. Figure 2 shows the design of windows, the definition of global variables : var VoTx Platform: |
Size: 7168 |
Author:章称 |
Hits:
Description: .调用普通COM组件
Project->Import type library...->选中要调用COM组件->Create Unit ,记住类的名称
var
test : Txx
test := Txx.Create(nil)
test.Show
test := nil
2.调用带有连接点的COM组件
Project->Import type library...->选中要调用COM组件->Install,安装此COM组件
-delphi dll 调用 Platform: |
Size: 180224 |
Author:sam |
Hits:
Description: Program Macspoof
Created by Bruce Raisley and released to the public domain.
Compiles under Delphi 6,7 and up
Requires: NETCONLib_TLB import type library
Type Lib: C:\WINDOWS\system32\hnetcfg.dll (1) Platform: |
Size: 25600 |
Author:cmatoshot |
Hits:
Description: For example, with the standard AutoCAD Type Library import unit
that is created by Delphi when you import the type library, you
must refer to elements in a SelectionSet object as follows:
-For example, with the standard AutoCAD Type Library import unit
that is created by Delphi when you import the type library, you
must refer to elements in a SelectionSet object as follows:
Platform: |
Size: 28672 |
Author:mauro00001 |
Hits:
Description: Delphi分析HTML中图片、flash等资源并复制处理路径的源码。
其中应用了正则表达式类库。
可以应用于html分析和网站导出导入等需求。 -Delphi analysis of the pictures in HTML, flash and other resources dealing with the path and copy the source code. One application of the regular expression library. Html website can be applied to analyze and export import and other needs. Platform: |
Size: 33792 |
Author:ydw8 |
Hits:
Description: Delphi分析HTML中图片、flash等资源并复制处理路径的源码。
其中应用了正则表达式类库。
可以应用于html分析和网站导出导入等需求。 -Delphi analysis of the pictures in HTML, flash and other resources dealing with the path and copy the source code. One application of the regular expression library. Html website can be applied to analyze and export import and other needs. Platform: |
Size: 43008 |
Author:fish1022 |
Hits:
Description: source code provided library for using in Delphi and C++Builder applications. 2D and 3D CAD formats, including AutoCAD® DWG/DXF, Autodesk® DWF, Hewlett-Packard® HPGL/HPGL2, PLT, HGL, STEP, IGES, STL, ACIS SAT, BREP, CGM, SVG etc. are supported. The product doesn t require AutoCAD® or other additional applications installation.-source code provided library for using in Delphi and C++Builder applications. 2D and 3D CAD formats, including AutoCAD® DWG/DXF, Autodesk® DWF, Hewlett-Packard® HPGL/HPGL2, PLT, HGL, STEP, IGES, STL, ACIS SAT, BREP, CGM, SVG etc. are supported. The product doesn t require AutoCAD® or other additional applications installation. Platform: |
Size: 3822592 |
Author:3nity.911 |
Hits: