文件名称:keyboard
介绍说明--下载内容来自于网络,使用问题请自行百度
设计一个简易电子琴,使得相应键按下时,能发出1、2、3、4、5、6、7音阶声,且发音时间的长短可调。
提示:(1)每个音阶对应的频率如下:
音阶 1 2 3 4 5 6 7
频率(HZ) 261.1 293.7 329.6 349.2 392.0 440.0 493.9
(2)不同频率的区别,可通过调节向D/A转换器输出数据的时间间隔来得到。
-Design a simple flower, making the corresponding key is pressed, the sound can be issued 1,2,3,4,5,6,7 scale, and the pronunciation of adjustable length of time. Note: (1) corresponds to the frequency of each scale is as follows: scale 1234567 frequency (HZ) 261.1 293.7 329.6 349.2 392.0 440.0 493.9 (2) the difference between different frequencies, by adjusting the D/A converter output time interval to get the data.
提示:(1)每个音阶对应的频率如下:
音阶 1 2 3 4 5 6 7
频率(HZ) 261.1 293.7 329.6 349.2 392.0 440.0 493.9
(2)不同频率的区别,可通过调节向D/A转换器输出数据的时间间隔来得到。
-Design a simple flower, making the corresponding key is pressed, the sound can be issued 1,2,3,4,5,6,7 scale, and the pronunciation of adjustable length of time. Note: (1) corresponds to the frequency of each scale is as follows: scale 1234567 frequency (HZ) 261.1 293.7 329.6 349.2 392.0 440.0 493.9 (2) the difference between different frequencies, by adjusting the D/A converter output time interval to get the data.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
电子琴程序.doc
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.