需要金币:1000 个金币 | 资料包括:完整论文 | ||
转换比率:金额 X 10=金币数量, 例100元=1000金币 | 论文字数:12727 | ||
折扣与优惠:团购最低可5折优惠 - 了解详情 | 论文格式:Word格式(*.doc) |
摘要:随着人们生活水平的提高,音乐伴随着人们左右。有各种各样的乐器可以发出动人的音乐,如钢琴、口琴、小提琴、电子琴、笛子等。目前,人们制造乐器的技术不断进步,乐器的音质越来越好,成本越来越低。这些都要归功于单片机技术的发展。 单片机最初主要应用于控制领域,在发展过程中又进一步扩展了各种控制功能,它可以独立执行内部程序。单片机正朝着多功能、多选择、高速度、低功耗、低价格、扩大存储容量和加强I/O功能及结构兼容方向发展。人们可以利用单片机制造出各种各样的电子乐器。 基于单片机的简单音乐发生器是一种由单片机控制的简单音乐发生器,它具有16个音的键盘,用户可以根据乐谱在键盘上进行演奏,音乐发生器会根据用户的弹奏,通过扬声器将音乐播放出来。实现方法分三步:首先对硬件电路设计;其次利用Keil软件对单片机进行编程,调试,编译;最后对单片机芯片进行程序烧录,完成整个电路板的焊接。 完成了简单音乐发生器的音乐播放功能,对16个键的乐音进行测试。 关键字:AT89S52; 键盘识别; 音频脉冲; 音乐发生器
Abstract:As people living standard rise, music with people around. There are all kinds of musical instruments can be issued touching music, such as piano, harmonica, violin, organ, flute and so on. At present, the people manufacturing the continuing technical progress in instrument, musical instruments, the sound quality getting better and better, becoming less and less cost. These should be attributed to single-chip technology. The first single-chip control of the area is mainly used in the development process and the further expansion of a variety of function control .It can be an independent implementation of internal procedures. Are moving towards multi-purpose -chip, multi-choice, high-speed, low-power, low prices, expand the storage capacity and enhance the I/O functions and compatible with the direction of the structure. People can make use of single chip to create a wide range of electronic musical instruments. Music based on a simple single-chip generator is a simple single-chip microcomputer to control the music generator. It has the sound of the keyboard 16. The user can be carried out on the keyboard music in concerts, music generator, based on the user's play through loudspeakers to broadcast music. Method in three steps: First, the hardware circuit design; followed by the use of single-chip kill software programming, debugging, compiler; Finally, single-chip chip burning process to complete the whole circuit board welding. Completed the simple music generator music play function, to the music of 16 key tested. Key words :AT89S52; Keyboard identification; Audio frequency pulse; Music generator |