-
avr-ATmega128-PWM
avr ATmega128 PWM输出OCR1A=0x40 //OC1A 输出 25 占空比
OCR1B=0x80 //OC1B 输出 50 占空比
OCR1C=0xc0 //OC1C 输出 75 占空比(avr ATmega128 PWM)
- 2011-12-29 11:39:28下载
- 积分:1
-
Visual C# 读取音频文件并复制到剪贴板
粘贴剪贴板音频数据并播放,Visual C# 读取音频文件并复制到剪贴板,此外还提供了清空剪贴板上音频数据的功能。下面我们分别来看这几个重点功能具体是如何实现的,代码如下:
private void Button1_Click(object sender, EventArgs e)
{//读取音频文件并复制到剪贴板
Byte[] MyData=System.IO.File.ReadAllBytes("WindowsXP.wav");
Clipboard.SetAudio(MyData);
}
private void Button2_Click(object sender, EventArgs e)
{//粘贴剪贴板音频数据并播放
object MyData =Clipboard.GetData(DataFormats.WaveAudio);
System.Media.SoundPlayer MyPlayer=new System.Media.SoundPlayer();
MyPlayer.Stream = (System.IO.Stream)MyData;
MyPlayer.Play();
}
private void Button3_Click(object sender, EventArgs e)
{//清空剪贴板上的音频数据
Clipboard.Clear();
}
需要完整的可编译源代码项目,请下载本源码。
- 2022-01-25 17:41:37下载
- 积分:1
-
1
说明: 应用于fluent的UDF程序,用于修正液滴表面轮廓(The UDF is applied fluent procedures for correcting the droplet surface contour)
- 2013-11-25 19:21:27下载
- 积分:1
-
jianpan 2
可通过此程序,使用G2553完成对4*4键盘的使用(Through this program, use G2553 to complete the use of 4*4 keyboard)
- 2020-06-19 08:40:01下载
- 积分:1
-
See5-demo
一个对应于C5.0的DEMO程序(a C5.0 corresponding to the procedures DEMO)
- 2004-10-18 10:20:42下载
- 积分:1
-
LK
说明: 通过光流法求取视频中的单应性矩阵减少计算时间(The single strain matrix in video was obtained by optical flow method to reduce computing time)
- 2021-03-20 13:19:18下载
- 积分:1
-
TesMessage2
说明: 遗传算法求解车辆路径问题,采用C#编写,计算结果以及计算结果的可视化显示(The genetic algorithm is used to solve the vehicle routing problem, which is compiled by C#, and the results are visualized.)
- 2020-06-25 20:40:01下载
- 积分:1
-
henclib.tar
H.263编码器,支持H.263的四个选项,支持H.263++的RPS, 支持速率控制,支持抗误码。GNU License。(H.263 Encoder, support 4 annexes of H.263+, support RPS of H.263+, support rate control, support error resilient.GNU License。)
- 2010-08-02 19:39:19下载
- 积分:1
-
S60_Platform_Contacts_Model_API_Example_v2_0_en
介绍symbian s60平台如何使用通用的联系人模型编写操作名片夹代码的方法。(Symbian s60 platform to introduce how to use the general contact model for the preparation of the operation method of the code card folder.)
- 2009-06-13 12:18:13下载
- 积分:1
-
TAXIS
taxis intreseting progress.
- 2006-04-16 18:34:13下载
- 积分:1