文件名称:zuixuan
-
所属分类:
- 标签属性:
- 上传时间:2013-05-29
-
文件大小:3.1kb
-
已下载:0次
-
提 供 者:
-
相关连接:无下载说明:别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容来自于网络,使用问题请自行百度
其原理很简单,就是MSP430F14x系列单片机Timer A模块有一个比较/匹配功能,利用这一功能可以输出任意频率、任意占空比的方波,把这些方波输给蜂鸣器就可以播放了。当然要让蜂鸣器播放《最炫民族风》,最大的挑战是写C语言版的“乐谱”。所幸小时候学过五六年的小提琴,再加上物理竞赛的背景,因而对于乐谱、乐理、音频、节奏等等关键概念都略懂一二。废话不多说了,直接上源代码:
-The principle is very simple, is MSP430F14x Series MCU Timer A module has a compare/match function, the use of this feature can be output at any frequency, arbitrary duty cycle square wave, square wave lost these can play a buzzer. Of course, to make the buzzer play " the most unusual national wind" , the biggest challenge is to write C-language version of " music." Fortunately, the child learned the violin in 2056, coupled with the physical contest background, and thus for sheet music, music theory, audio, rhythm, etc. have little knowledge of twelve key concepts. Ado, directly on the source code:
-The principle is very simple, is MSP430F14x Series MCU Timer A module has a compare/match function, the use of this feature can be output at any frequency, arbitrary duty cycle square wave, square wave lost these can play a buzzer. Of course, to make the buzzer play " the most unusual national wind" , the biggest challenge is to write C-language version of " music." Fortunately, the child learned the violin in 2056, coupled with the physical contest background, and thus for sheet music, music theory, audio, rhythm, etc. have little knowledge of twelve key concepts. Ado, directly on the source code:
(系统自动生成,下载前可以参看下载内容)
下载文件列表
zuixuan.txt
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.