您现在正在浏览:首页 > 课件 > 文化课 > 毕业设计-单片机乐曲播放软件设计

免费下载毕业设计-单片机乐曲播放软件设计

  • 资源类别:课件
  • 资源分类:文化课
  • 适用专业:测控技术与仪器
  • 适用年级:大学
  • 上传用户:别说伱不配
  • 文件格式:word
  • 文件大小:74.90KB
  • 上传时间:2009-2-3 14:25:44
  • 下载次数:0
  • 浏览次数:327

安全检测:瑞星:安全 诺顿:安全 卡巴:安全

资料简介
毕业设计 单片机乐曲播放软件设计 共34页,17850字
摘 要
本文应用单片机和音乐发声的相关知识设计了一个简单的音乐播放器。所谓音乐播放器,就是由单片机产生乐曲音符,再把乐谱翻译成计算机音乐语言,由单片机进行信息处理,再经过信号放大,由耳机或扬声器(喇叭)放出乐曲声。我们知道,振动产生声音,振动频率不同,所发出的声音也就不同,有规律的振动发出的声音叫“乐音”,音乐由音频和节拍构成,音频即发声的频率,节拍即延时的长短,因此利用单片机的定时器/计数器产生一定频率的方波,利用延时来实现方波的延时,从而实现“1~7”的高、中、低音的发音,而后把整首歌曲编码编程并结合单片机硬件实现歌曲的演奏。本文比较详细地介绍了音乐播放器的原理、设计思路、硬件的选择及相关作用、软件的实现方法及详细的程序清单、还包括进行了软、硬件调试和测试,最终实现了6首欢快的、耳熟能详的歌曲的依次、轮回播放。此播放器可广泛应用于儿童音乐玩具、生日贺卡、音乐门铃或专门的音乐库。如果制成音乐盒送给家人或朋友,那将是一件非常惬意的事情。
关键词:8051单片机 音乐播放器
ABSTRACT
The related knowledge design that a machine of this text and musics give out sound a simple music player.So-called music player, be from a machine creation melody note, then translate musical score into the calculator music language, carry on the information processing from a machine, then the process signal enlarge, letting out the melody voice from the headphones or loudspeaker( trumpet).We know that the vibration creation voice, vibration frequency dissimilarity, send out of voice also dissimilarity, have the voice that the vibration of the regulation send out call" joy sound", music is constitute by the audio frequency and rhythms, the frequency that audio frequency namely give out sound, the length that rhythm postpones namely, so make use of a machine certainly hour machine/ count the machine creation certain the square wave of the frequency, make use of postpone to carry out When the square wave postpone, thus carry out"1-7" of high, medium, the pronunciation of the bass, code the whole song to weave the distance and then to combine a machine hardware to carry out the song to give musical performance also.This text introduced the choice and related function, softwares of the principle, the design way of thinking, hardware of music player to carry out the method and detailed procedure detailed lists and still included to carry on more and in detail soft, the hardware adjusts to try and test, end realization six quick of, familiar to ear song one by one in order, the round returns to broadcast.This player can be apply in the child’s music toy, birthday greeting card, music door bell or specialized music databases extensively.If make into music box to give the family or friends, that will be a very pleasing affair.
Keywords: 8051 Singlechip Music playe
目 录
第一章 绪论 3
1.1背景知识 3
1.1.1单片机的“软化” (编程序)技术………………………………..3
1.1.2单片机程序设计语言和软件…………………………………………3
1.1.3汇编语言程序设计概述 ……………………………………………...3
1.2音乐与音乐播放器 5
1.2.1音乐 5
1.2.2音乐播放器 5
第二章 设计原理及思路 5
2.1设计原理 5
2.2设计思路 6
第三章 硬件电路设计 6
3.1硬件电路及组成 6
3.2 播放器原理图 6
3.3电路图简单说明 6
第四章 音符频率和节拍的产生方法………………………………….7
4.1 音符频率……………………………………………………………………8
4.2 定时器/计数器的选择……………………………………………………...8
4.3 利用定时器/计数器0产生音符频率……………………………………...9
4.4 编码及计数初值……………………………………………………………9
4.5 节拍的产生………………………………………………………………..10
第五章 软件设计………………………………………………………12
5.1实现功能……………………………………………………………………12
5.2程序设计流程图……………………………………………………………13
5.3定时器/计数器的控制寄存器..................................16
5.4按键S的消抖……………………………………………………………..16
5.5中断与堆栈…………………………………………………………………17
5.5.1定时中断源…
资料文件预览
共1文件夹,1个文件,文件总大小:268.50KB,压缩后大小:74.90KB
  • 毕业设计-单片机乐曲播放软件设计
    • Microsoft Word文档单片机乐曲播放软件设计.doc  [268.50KB]
下载地址
资料评论
注意事项
下载FAQ:
Q: 为什么我下载的文件打不开?
A: 本站所有资源如无特殊说明,解压密码都是www.xuehai.net,如果无法解压,请下载最新的WinRAR软件。
Q: 我的学海币不多了,如何获取学海币?
A: 上传优质资源可以获取学海币,详细见学海币规则
Q: 为什么我下载不了,但学海币却被扣了?
A: 由于下载人数众多,下载服务器做了并发的限制。请稍后再试,48小时内多次下载不会重复扣学海币。
下载本文件意味着您已经同意遵守以下协议
1. 文件的所有权益归上传用户所有。
2. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
3. 学海网仅提供交流平台,并不能对任何下载内容负责。
4. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
5. 本站不保证提供的下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
返回顶部