文件名称:music
-
所属分类:
- 标签属性:
- 上传时间:2013-09-23
-
文件大小:1.46kb
-
已下载:0次
-
提 供 者:
-
相关连接:无下载说明:别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容来自于网络,使用问题请自行百度
*表示最高音
h表示高音
m表示中音
l表示低音
与其控制的音符构成音高,决定发音频率,音高的后面是音长,可以用整数或小数输入以控制时间,但中间必须用空各隔开。
乐谱文件的得最前面是一个整数,白噢是音长基数,一般为300 600 900 1200ms;乐谱文件最后世结束符 “##” ,以表示乐谱文件的结束。
程序对读入的乐谱进行翻译, 确定每个乐音的频率和声长, 每个音的音长=音长基数*节拍数,其中技术是乐谱文件的第一个字符。
由于DOS下用来发声的sound函数只能以频率作为参数,所以要完成音符到频率的翻译,没个音的音频可用以模拟频率值输入。-* said top note
H says soprano
M says alto
L said bass
Instead of controlling the notes form pitch, decided to sound frequency, pitch is behind the duration, can use the integer or decimal input to control the time, but must be separated with empty each in the middle.
Music files to the front is an integer, white base, oh is duration generally is 300 600 300 1200 ms Music file finally the terminator \"##\", to indicate the end of the music files.
For translation program to read music, make sure each tone frequency harmonic long, the length of each sound = length base* ticks, the first character technology is music files.
Due to DOS can only be used for voice sound function with frequency as parameter, so to complete the notes to the frequency of the translation, not a sound audio input can be used to simulate the frequency value.
h表示高音
m表示中音
l表示低音
与其控制的音符构成音高,决定发音频率,音高的后面是音长,可以用整数或小数输入以控制时间,但中间必须用空各隔开。
乐谱文件的得最前面是一个整数,白噢是音长基数,一般为300 600 900 1200ms;乐谱文件最后世结束符 “##” ,以表示乐谱文件的结束。
程序对读入的乐谱进行翻译, 确定每个乐音的频率和声长, 每个音的音长=音长基数*节拍数,其中技术是乐谱文件的第一个字符。
由于DOS下用来发声的sound函数只能以频率作为参数,所以要完成音符到频率的翻译,没个音的音频可用以模拟频率值输入。-* said top note
H says soprano
M says alto
L said bass
Instead of controlling the notes form pitch, decided to sound frequency, pitch is behind the duration, can use the integer or decimal input to control the time, but must be separated with empty each in the middle.
Music files to the front is an integer, white base, oh is duration generally is 300 600 300 1200 ms Music file finally the terminator \"##\", to indicate the end of the music files.
For translation program to read music, make sure each tone frequency harmonic long, the length of each sound = length base* ticks, the first character technology is music files.
Due to DOS can only be used for voice sound function with frequency as parameter, so to complete the notes to the frequency of the translation, not a sound audio input can be used to simulate the frequency value.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
music.txt
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.