摘要
单片机音乐编程近年来受到了单片机爱好者的广泛关注。本文从音乐简谱的简单识读出发,将音乐的简谱分离出两个要素:音调与节拍,最小化地利用51单片机的系统资源,提出一种将音乐简谱编码为一个字节的二进制信息码(乐谱码)的编程设计方案,并由KeilCμVision2完成程序编制与编译、Proteus完成硬件电路设计及仿真,实现一首音乐设计与播放。
The music program of SCM has been widely atention by SCM enthusiast in the recent years.this paper is based on numbered musical notation,separate numbered musical notation into the two essential:musical note and time.It 's minimize resource o 51SCM.We point out the method of the program design how to transform numbered musical notation into one byte binary system(musical book code),besides the program design is finished and compiled by KeilCμVision2,then the hardware circuit is designed and simulated by Proteus.Finaly numbered musical notation of a music was transformed into musical book code and play realization.
出处
《微计算机信息》
2010年第35期95-96,138,共3页
Control & Automation