基于51单片机的音乐播放器设计
原文:
Author: Bob brown sources: the SCM”
Abstract: the music player is to use STC89C51 SCM combining internal timing system and digital tube display design a simple microcomputer music box. This paper analyzes the music player based on 51 single chip hardware circuit and software design of the specific process including data processing procedure design, display subrouOne design finally based on the simulation process meet phenomenon was carried on the concrete analysis and description.
Keywords: player; SCM; STC89C51
Along with the horizontal exaltation in people physical life, people pay more and more attention to the spiritual life satisfaction, keen to seek happiness in consumption and entertainment experience. Music as a human entertainment life important elements, has been all concern. But humans into the industrial society since, will music play and industrial products combined with developed a series of music play products, and with the innovation of technology and customers' demands change constantly updated, f
or human entertainment life provides fashion convenience items. Before two years fashion modeling, small portable, free download songs popular MP3 player is to make music play product unprecedented prosperity. But in the prosperity, the mainstream music play products MP3 player in the model and the design of the system seems to be into a bottleneck, new products and old products than just the firmware update and hardware alternating, and no content and essence of the jump, therefore in the same with portable sexual characteristics and music play function of music cell phone appeared, MP3 0riginal functional advantages of no longer, the market and then be quickly extrusion, status, received an unprecedented threat. Throughout the history of music play products, and each time the music play product innovations are concept breakthrough or the idea of the result of innovation. As from the radio to record machine realized the listening mode from "passive listening to" to "independent choice" change, from record machine to realize the Walkman fixed to a portable leap. Therefore, how to in concept, the concept of innovation and breakthrough, find the music play products new development direction, to adapt to the new demand of consumers, it is current product designers urgent need to resolve problems. Firstly, this paper reviews the history of music play products, and analysis of the current music play product situation, this paper proposes a new concept for the importance of breakthrough point; Secondly, based on the current economic environment and social group environment analysis, as well as the music industry development pres
ent situation and trend analysis, it sums up the current consumer demand trend; Finally, according to the summary of the consumption demand and market some existing music play product guidance, puts forward the future music play product the development direction and the corresponding some idea concept.
STC89C51 microcontroller design a music player through the single chip microcomputer music player system design and research, to be mastered SCM related knowledge is of important theoretical and practical significance. The curriculum design of the music player is the combination of software and hardware, different notes form of expression is different frequency to voice. Through a single chip microcomputer STC89C51 produce different frequency pulse signal, through the amplification circuit, by the buzzer release, he produced a wonderful harmony beautiful moving music. According to the thythm of the scale is given for time, finally
realizes the function of play simple songs. For better life for the people provides reliable, respect, cheap method.
STC89C51 single-chip microcomputer as core hardware control unit, combined with triode as amplifier, digital tube constitute a typical display circuit, key as input part and other peripheral equipm
ent composition of music broadcast system. According to the music playing controller to achieve the display and selects and music produce function principle, system including play speaker, selects, played and display a few parts. Among them, the button AGAIN with open play tunes and repeat play the tune function, FORM key has played a song before work can, NEXT button has played a song after the function, RES key has played before the function of a song. The design music player can play many first music, songs can choose by the keyboard control, and through the display make its display songs serial number. Design of the music playing controller is through the control of single chip microcomputer internal timer to produce different frequency square wave, drive speaker different syllable voice, and then delay to control the length of time the pronunciation, i.e., the controlling tone of the beat. At the same time set button to make the design process can be in three to four songs between performers, design display make its display songs serial number. With the traditional mechanical music box than smaller, more beautiful timbre and can play chord music. Electronic music box is the source of power batteries, simple manufacturing process, can be conducted batch production, so cheap. Based on SCM make electronic music box, control powerful, can according to need to choose songs, easy to use. According to the size of the storage capacity, can be as many store songs. In addition, can design lights appearance effect, make the music box function more nch.
This design is STC89C51 chip circuit as the foundation, external and playback equipment, so as to realize music playing controller hardware circuit, through the software program to control the MCU internal timer make it play beautiful moving music. The user can choose according to oneself be fond of music and translate into machine code in SCM storage. For different types of single chip microcomputer only need the corresponding change of address can. The software and hardware system has the very good generality and high practical value in use, for the majority of SCM and music lovers to provide a good reference. Using key switch to play out different music. The speaker sends out the music, the use of five key, two used to switch song, a used to start, a used to stop, the other is a reset. With protel 99 se to design the circuit diagram. Song can optional written into music box. Due to the songs of memory is bigger, single-chip microcomputer memory small, will be two pieces of MCU used together, both can communication. Digital tube display the current broadcast is which song.
The chart, acknowledgments and reference documents have lost (see the original).
翻译:
基于51单片机的音乐播放器设计
作者:Bob brown 来源:《SCM》
摘要:本音乐播放器是利用STC89C51单片机结合内部定时系统及数码管显示设计一个简易的微电脑音乐盒。本文分析了基于51单片机的音乐播放器的硬件电路和软件的设计的具体过程包括数据处理子程序的设计、显示子程序的设计最后针对仿真过程遇到的现象进行了具体的分析与说明。
关键词:播放:单片机:STC89C51
随着人们物质生活水平的提高,人们越来越注重精神生活的满足,热衷于在消费中寻求快乐和娱乐体验。音乐作为人类娱乐生活的重要组成元素,一直以来都备受关注。而人类进入
工业社会以来,将音乐播放与工业产品结合发展出了一系列的音乐播放产品,并随着技术的革新和消费者需求的变化而不断更新,为人类的娱乐生活提供了时尚便利的道具。前两年造型时尚、小巧便携、可免费下载歌曲的MP3播放器的流行更是使音乐播放产品空前繁荣。但是在繁荣过后,主流音乐播放产品MP3播放器在造型和系统的设计上似乎走进了一个瓶颈,新产品和旧产品比起来只是固件上的更新和硬件的更迭,而没有内容和实质的跳跃,因此在同样具有便携性特点和音乐播放功能的音乐手机出现的时候,MP3原有的功能优势不再,市场继而被迅速挤压,地位收到空前的威胁。纵观音乐播放产品的发展史,每一次音乐播放产品的革新都是概念的突破或理念的创新的结果。如从收音机到唱片机实现了收听方式从“被动收听”到“自主选择”的变革,从唱片机到Walkman实现了固定到便携的飞
跃。因此,如何在理念上、概念上进行创新和突破,到音乐播放产品的新发展方向,适应消费者的新需求,是目前产品设计师急需解决的问题。本文首先简单回顾了音乐播放产品发展史,并分析了目前音乐播放产品现状,提出寻新概念突破点的重要性:其次,通过对当前经济环境和社会体环境的分析,以及目前音乐产业的发展现状和趋势的分析,从中总结出当前消费者的消费需求趋势:最后,根据总结的消费需求和市场现有的一些音乐播放产品的引导,提出未来音乐播放产品的发展方向以及相应的一些概念设想。
STC89C51单片机设计的一个音乐播放器通过单片机音乐播放器系统设计和研究,对于切实掌握单片机相关知识具有重要的理论和实际意义。这次课程设计的音乐播放器是软件和硬件的结合,不同音符表现形式就是不同频率地声音。通STC89C51过单片机产生不同的频率的脉冲信号,通过放大电路,由蜂鸣器放出,就产生了美妙和谐优美动听的乐曲。根据节拍给出该音阶持续的时间,最终实现播放简单歌曲的功能。为人们生活的改善提供了可靠,方面,廉价的方法。
单片机STC89C51作为硬件核心控制部件,结合三极管作为放大器,数码管构成典型的显示电路,按键作为输入部分以及其他外围设备组成的音乐播放系统。根据音乐演奏控制器所要实现的显示与选曲及音乐产生功能原理,系统包括演奏扬声器、选曲、播放和显示几部分。其中,AGAIN按键具有开启播放曲子和重复播放当前曲子的功能,FORM按键具有播放前一曲的工能,NEXT按键具有播放后一曲的功能,RES键具有播放前一曲的功能。所设计音乐播放器可以播放多首音乐,曲目选择可以由键盘
控制,并通过显示器使其显示歌曲序号。设计的音乐演奏控制器是通过控制单片机内部的定时器来产生不同频率的方波,驱动喇叭发出不同音节的声音,再利用延迟来控制发音时间的长短,即控制音调中的节拍。同时设置按钮使所设计的程序能在三到四首歌曲之间进行选曲,设计显示器使其显示歌曲序号。与传统的机械式音乐盒相比更小巧,音质更优美且能演奏和弦音乐。电子式音乐盒动力来源是电池,制作工艺简单,可进行批量生产,所以价格便宜。基于单片机制作的电子式音乐盒,控制功能强大,可根据需要选歌,使用方便。根据存储容量的大小,可以尽可能多的存储歌曲。另外,可以设计彩灯外观效果,使音乐盒的功能更加丰富。
本设计是以STC89C51芯片的电路为基础,外部加上放音设备,以此来实现音乐演奏控制器的硬件电路,通过软件程序来控制单片机内部的定时器使其演奏出优美动听的音乐。用户可以按照自己的喜好选择音乐并将其转化成机器码存入单片机的存储器中。对于不同型号的单片机只需要相应的改变一下地址即可。该软、硬件系统具有很好的通用性,很高的实际使用价值,为广大的单片机和音乐爱好者提供了很好的借鉴。利用按键切换演奏出不同的乐曲。扬声器发出乐曲,使用5个按键,两个用来切换歌曲,一个用来启动,一个用来停止,另一个是复位。用protel 99se设计电路图。歌曲可以自己随意的写进音乐盒中。由于歌曲的内存比较大,单片机内存小,将两块单片机一同使用,两者可以通讯。数码管显示当前播放的是哪一首歌曲。
经图表、致谢及参考文献已略去(见原文)
下面是诗情画意的句子欣赏,不需要的朋友可以编辑删除!!
谢谢
1. 染火枫林,琼壶歌月,长歌倚楼。岁岁年年,花前月下,一尊芳酒。水落红莲,唯闻玉磬,但此情依旧。
2. 玉竹曾记凤凰游,人不见,水空流。
3. 他微笑着,在岁月的流失中毁掉自己。
4. 还能不动声饮茶,踏碎这一场,盛世烟花。
5. 红尘嚣浮华一世转瞬空。
6. 我不是我你转身一走苏州里的不是我。
7. 几段唏嘘几世悲欢可笑我命由我不由天。
8. 经流年梦回曲水边看烟花绽出月圆。
9. 人生在世,恍若白驹过膝,忽然而已。然,我长活一世,却能记住你说的每一话。
10. 雾散,梦醒,我终于看见真实,那是千帆过尽的沉寂。
11. 纸张有些破旧,有些模糊。可每一笔勾勒,每一抹痕迹,似乎都记载着跨越千年万载的思念。
12. 生生的两端,我们彼此站成了岸。
13. 缘聚缘散缘如水,背负万丈尘寰,只为一句,等待下一次相逢。
14. 握住苍老,禁锢了时空,一下子到了地老天荒
15. 人永远看不破的镜花水月,不过我指间烟云世间千年,如我一瞬。
16. 相逢一醉是前缘,风雨散,飘然何处。
design翻译17. 虚幻大千两茫茫,一邂逅,终难忘。相逢主人留一笑,不相识,又何妨。
18. 天下风云出我辈,一入江湖岁月催;皇图霸业谈笑间,不胜人生一场醉。
19. 得即高歌失即休,多愁多恨亦悠悠,今朝有酒今朝醉,明日愁来明日愁。
20. 直道相思了无益,未妨惆怅是清狂。
21. 看那天地日月,恒静无言;青山长河,世代绵延;就像在我心中,你从未离去,也从未改变。
22. 就这样吧,从此山水不相逢。
23. 人天自两空,何相忘,何笑何惊人。
24. 既不回头,何必不忘。既然无缘,何须誓言。今日种种,似水无痕。明夕何夕,君已陌路。
25. 有缘相遇,无缘相聚,天涯海角,但愿相忆。有幸相知,无幸相守,苍海明月,天长地久。
26. 相见得恨晚,相爱的太慢,进退让我两难。缘过了远分,缘过了聚散,是否回头就能够上岸
27. 天凉了,凉尽了天荒地老了,人间的沧桑,爱哭了,这么难舍心都空了,想放不能放。天亮了,照亮了泪光泪干了,枕边地彷徨
28. 心微动奈何情己远.物也非,人也非,事事非,往日不可追
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系QQ:729038198,我们将在24小时内删除。
发表评论