文件名称:huibiankechnegsheji
-
所属分类:
- 标签属性:
- 上传时间:2012-11-16
-
文件大小:217.43kb
-
已下载:0次
-
提 供 者:
-
相关连接:无下载说明:别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容来自于网络,使用问题请自行百度
1.采用位触发方式编写程序,使计算机发出音响并奏出《两只老虎》的乐曲。
通过查阅相关资料,进一步理解程序直接控制I/O方式和位触发方式控制声音的工作原理。
一首乐曲是由不同频率和节拍的音调组成,因此控制脉冲的频率和持续时间是编写乐曲程序的关键。根据已知的音符频率对照表,给出乐曲的频率表;设二分音符持续时间为0.5秒(50*10ms),50作为2拍的计数值,给出乐曲的节拍时间表;
编写程序并调试通过。
2.进一步学习利用定时器产生声音的方法,使计算机奏出乐曲(例如《两只老虎》等)。-1. Way to trigger the use of digital programming, so that the issue of audio computer and play "two tigers" of the music.
Through access to relevant information, a better understanding of procedures for the direct control of I/O mode and digital control to trigger the sound works.
Music is a different tone frequency and the beat of the pulse to control the frequency and duration of the procedure is the key to the preparation of music. Notes the basis of known frequency table, given the frequency of musical scales based minim duration of 0.5 seconds (50* 10ms), 50 as a value of 2 shot, given the timetable beat music
Programming and debug through.
2. Further study the use of sound methods have a timer so that the computer to play music (such as "two tigers", etc.).
通过查阅相关资料,进一步理解程序直接控制I/O方式和位触发方式控制声音的工作原理。
一首乐曲是由不同频率和节拍的音调组成,因此控制脉冲的频率和持续时间是编写乐曲程序的关键。根据已知的音符频率对照表,给出乐曲的频率表;设二分音符持续时间为0.5秒(50*10ms),50作为2拍的计数值,给出乐曲的节拍时间表;
编写程序并调试通过。
2.进一步学习利用定时器产生声音的方法,使计算机奏出乐曲(例如《两只老虎》等)。-1. Way to trigger the use of digital programming, so that the issue of audio computer and play "two tigers" of the music.
Through access to relevant information, a better understanding of procedures for the direct control of I/O mode and digital control to trigger the sound works.
Music is a different tone frequency and the beat of the pulse to control the frequency and duration of the procedure is the key to the preparation of music. Notes the basis of known frequency table, given the frequency of musical scales based minim duration of 0.5 seconds (50* 10ms), 50 as a value of 2 shot, given the timetable beat music
Programming and debug through.
2. Further study the use of sound methods have a timer so that the computer to play music (such as "two tigers", etc.).
(系统自动生成,下载前可以参看下载内容)
下载文件列表
汇编课程设计.doc
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.