虫虫首页|资源下载|资源专辑|精品软件
登录|注册

STOP

  • < 波形声音控件函数使用说明>> **************************************************************************

    < 波形声音控件函数使用说明>> ****************************************************************************************************************** 函数名 功能 说明 ------------------------------------------------------------------------------------------------------------------ GetData() 获取评分数据 当调用GetData()时WVGetData事件会自动 触发,参数Data也就是得到的数据 GetLength() 获取文件总长度 函数返回文件的长度 OpenFile(CString filename) 打开声音文件自 动分析波形 RECPFstart(long Max) 长度限制录制 当录制的长度大于Max时自动停止,并返回 RECPFSTOP事件 RECstart() 开始录音 RECSTOP() 停止录音 RECpause(bool REC_STATE) 继续/暂停录音 当REC_STATEO为TRUE时暂停有效,相反继续 play() 播放 replay(int dounum) 重复播放 dounum为重复次数 pause() 暂停 STOP() 停止播放

    标签: gt lt 波形 控件

    上传时间: 2014-01-16

    上传用户:cjl42111

  • JBuilder制作音频播放程序,需要注意的是

    JBuilder制作音频播放程序,需要注意的是,当播放时,界面上的各个按钮应当仍然可以对用户的操作进行事件响应,所以至少需要两个线程:一个控制歌曲的播放,另外一个对用户事件进行响应。因此我们的AudioPlay类需要实现Runable接口,以使用多线程技术。根据JDK的解释-JDK1.4.0,任何需要由线程执行的实例都应当实现Runable接口,而且由于我们只需要重写run()方法和STOP()方法,并给start()方法多态化,所以我们选择实现Runable接口,这样就可以不需要继承Thread类而使用Thread类的实例来运行了。

    标签: JBuilder 音频播放 程序

    上传时间: 2014-01-14

    上传用户:R50974

  • Tic Tac Toe程序。可以供一到两个玩家使用。程序中使用了visual basic 计时器

    Tic Tac Toe程序。可以供一到两个玩家使用。程序中使用了visual basic 计时器,所以每一个步骤都有时间限制。此外,计算机可是一个有简单智能的对手,他不但不会随便出手,反而还要竭力赢了你才罢休。 Tic Tac Toe program. One or two players. It uses the visual basic timer, so each move has time limit. Simple artificial intelligence: computer does not play randomly, but "tries" to win and STOP you from winning.

    标签: visual basic Tic Tac

    上传时间: 2015-04-11

    上传用户:sxdtlqqjl

  • 关于tts语音引擎的使用方法!很多软件具有英文发音和朗读功能

    关于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 语音 引擎 多软件

    上传时间: 2014-01-21

    上传用户:13681659100

  • 1、 利用8031作为主控制器组成一个电子跑表

    1、 利用8031作为主控制器组成一个电子跑表,采用4位LED显示器。 2、 上电或RESET后能启动显示当前(时:分):首次上电复位显示为0时0分,以后各次RESET均显示正确的当前时间。 3、 当按下START键时,作为跑表使用,显示范围是:000.0-999.9秒,当按下STOP键时,跑表停止运行,并保留所停位置的时间显示不变。 4、 利用H键作为时钟校正,即当按下H键时,显示的当前小时值以每秒加一的速度递增(24点即为0点),利用N键作为分校正,使用方法同H键,但60分钟即为0分。

    标签: 8031 主控制器 电子 跑表

    上传时间: 2013-12-18

    上传用户:ardager

  • 模拟交通灯

    模拟交通灯,并带有数字显示的程序。初始时全为红灯,显示“HELLO”字样。然后交通灯以“红绿、红黄、绿红、黄红”四种状态做循环,而且黄灯会闪烁,每种状态都带有到数记时。当按下P3_2时,变成“红红”状态,并显示“STOP”字样!

    标签: 模拟交通灯

    上传时间: 2013-12-20

    上传用户:ggwz258

  • This example program shows how to configure and use the A/D Converter of the following microcontroll

    This example program shows how to configure and use the A/D Converter of the following microcontroller: STMicroelectronics ST10F166 After configuring the A/D, the program reads the A/D result and outputs the converted value using the serial port. To run this program... Build the project (Project Menu, Build Target) Start the debugger (Debug Menu, Start/STOP Debug Session) View the Serial Window (View Menu, Serial Window #1) View the A/D converter peripheral (Peripheral Menu, A/D Converter) Run the program (Debug Menu, Go) A debug script (debug.ini) creates buttons that set different analog values in A/D channels. As the program runs, you will see the A/D input and output change. Other buttons create signals that generate sine wave or sawtooth patterns as analog inputs. µ Vision3 users may enable the built-in Logic Analyzer to view, measure and compare these input signals graphically.

    标签: microcontroll Converter configure following

    上传时间: 2014-11-30

    上传用户:独孤求源

  • These routines transmit and receive serial data using two general * I/O pins, in 8 bit, No parity,

    These routines transmit and receive serial data using two general * I/O pins, in 8 bit, No parity, 1 STOP bit format. They are useful * for performing serial I/O on 8051 derivatives not having an * internal UART, or for implementing a second serial channel.

    标签: routines transmit receive general

    上传时间: 2015-05-22

    上传用户:firstbyte

  • 请设计程序

    请设计程序,使其实现以秒计时的功能。首先定义一个watch类,它有两个私有变量begin、end分别表示开始时间、结束时间,有成员函数start()、STOP()、show()分别用来设置开始时间、结束时间、显示持续时间。

    标签: 设计程序

    上传时间: 2013-12-11

    上传用户:2467478207

  • zemax源码: This DLL models a standard ZEMAX surface type, either plane, sphere, or conic The surfac

    zemax源码: This DLL models a standard ZEMAX surface type, either plane, sphere, or conic The surface also demonstrates a user-defined apodization filter The filter is defined as part of the real ray trace, case 5 The filter can be used at the STOP to produce x-y Gaussian apodization similar to the Gaussian pupil apodization in ZEMAX but separate in x and y. The amplitude apodization is of the form EXP[-(Gx(x/R)^2 + Gy(y/R)^2)] The transmission is of the form EXP[-2(Gx(x/R)^2 + Gy(y/R)^2)] where x^2 + y^2 = r^2 R = semi-diameter The tranmitted intensity is maximum in the center. T is set to 0 if semi-diameter < 1e-10 to avoid division by zero.

    标签: standard surface models either

    上传时间: 2013-12-04

    上传用户:003030