CDN加速镜像 | 设为首页 | 加入收藏夹
当前位置: 首页 资源下载 源码下载 嵌入式/单片机编程

文件名称:music

  • 所属分类:
  • 标签属性:
  • 上传时间:
    2014-05-11
  • 文件大小:
    234.13kb
  • 已下载:
    0次
  • 提 供 者:
  • 相关连接:
  • 下载说明:
    别用迅雷下载,失败请重下,重下不扣分!

介绍说明--下载内容来自于网络,使用问题请自行百度

基于单片机的电子琴课程设计

(1)键盘扫描程序:

检测是否有键按下,有键按下则记录按下键的键值,并跳转至功能转移程序;无键按下,则返回键盘扫描程序继续检测

(2)功能转移程序:

对检测到得按键值进行判断,是琴键则跳转至琴键处理程序,是功能键则跳转至相应的功能程序,我们设计的功能程序有两种,即音色调节功能和自动播放乐曲功能

(3)琴键处理程序:

根据检测到得按键值,查询音律表,给计时器赋值,使发出相应频率的声音

(4)自动播放歌曲程序:

检测到按键按下的是自动播放歌曲功能键后执行该程序,电子琴会自动播放事先已经存放好的歌曲,歌曲播放完毕之后自动返回至键盘扫描程序,继续等待是否有键按下-SCM keyboard curriculum design (1) Based on a keyboard scanner: detecting whether a key is pressed, a key is pressed the record button is pressed keys, and jump to the function of the transfer process no key is pressed, then return the keyboard scan program continues to detect (2) the transfer function of the program: to get the key value for the detection of judgment, is the key then jump to the key handler function keys jump to the appropriate functional programs, we have designed the program has two functions, That tone adjustment function and auto-play music functions (3) key processes: get the keys to the detected values, temperament query table to assign a timer, so that issue the corresponding frequency sound (4) Auto Play Songs procedures: press buttons detected Under the program is executed automatically play songs function keys, the keyboard will automatically play a good song that has been stored in advance, after the song has finished playing automatically returns to the k
(系统自动生成,下载前可以参看下载内容)

下载文件列表

新建文件夹/
新建文件夹/12.c
新建文件夹/c.txt
新建文件夹/CH451C54.C
新建文件夹/CH451DS1.PDF
新建文件夹/test.c

相关说明

  • 本站资源为会员上传分享交流与学习,如有侵犯您的权益,请联系我们删除.
  • 搜珍网是交换下载平台,只提供交流渠道,下载内容来自于网络,除下载问题外,其它问题请自行百度。更多...
  • 本站已设置防盗链,请勿用迅雷、QQ旋风等下载软件下载资源,下载后用WinRAR最新版进行解压.
  • 如果您发现内容无法下载,请稍后再次尝试;或换浏览器;或者到消费记录里找到下载记录反馈给我们.
  • 下载后发现下载的内容跟说明不相乎,请到消费记录里找到下载记录反馈给我们,经确认后退回积分.
  • 如下载前有疑问,可以通过点击"提供者"的名字,查看对方的联系方式,联系对方咨询.

相关评论

暂无评论内容.

发表评论

*快速评论: 推荐 一般 有密码 和说明不符 不是源码或资料 文件不全 不能解压 纯粹是垃圾
*内  容:
*验 证 码:
搜珍网 www.dssz.com