📄 中国腾达测控科技有限公司-学习下载-单片机试验及实践教程-at89s51单片机试验及实践教程之电子琴.htm
字号:
<TD class=style28 vAlign=top width=105>
<P>简谱码( T 值) </P></TD>
<TD class=style28 vAlign=top width=31 rowSpan=10></TD>
<TD class=style28 vAlign=top width=79>
<P>音符 </P></TD>
<TD class=style28 vAlign=top width=84>
<P>频率( HZ ) </P></TD>
<TD class=style28 vAlign=top width=105>
<P>简谱码( T 值) </P></TD></TR>
<TR>
<TD class=style28 vAlign=top width=79>
<P>低 1 DO </P></TD>
<TD class=style28 vAlign=top width=84>
<P>262 </P></TD>
<TD class=style28 vAlign=top width=105>
<P>63628 </P></TD>
<TD class=style28 vAlign=top width=79>
<P># 4 FA# </P></TD>
<TD class=style28 vAlign=top width=84>
<P>740 </P></TD>
<TD class=style28 vAlign=top width=105>
<P>64860 </P></TD></TR>
<TR>
<TD class=style28 vAlign=top width=79>
<P>#1 DO# </P></TD>
<TD class=style28 vAlign=top width=84>
<P>277 </P></TD>
<TD class=style28 vAlign=top width=105>
<P>63731 </P></TD>
<TD class=style28 vAlign=top width=79>
<P>中 5 SO </P></TD>
<TD class=style28 vAlign=top width=84>
<P>784 </P></TD>
<TD class=style28 vAlign=top width=105>
<P>64898 </P></TD></TR>
<TR>
<TD class=style28 vAlign=top width=79>
<P>低 2 RE </P></TD>
<TD class=style28 vAlign=top width=84>
<P>294 </P></TD>
<TD class=style28 vAlign=top width=105>
<P>63835 </P></TD>
<TD class=style28 vAlign=top width=79>
<P># 5 SO# </P></TD>
<TD class=style28 vAlign=top width=84>
<P>831 </P></TD>
<TD class=style28 vAlign=top width=105>
<P>64934 </P></TD></TR>
<TR>
<TD class=style28 vAlign=top width=79>
<P>#2 RE# </P></TD>
<TD class=style28 vAlign=top width=84>
<P>311 </P></TD>
<TD class=style28 vAlign=top width=105>
<P>63928 </P></TD>
<TD class=style28 vAlign=top width=79>
<P>中 6 LA </P></TD>
<TD class=style28 vAlign=top width=84>
<P>880 </P></TD>
<TD class=style28 vAlign=top width=105>
<P>64968 </P></TD></TR>
<TR>
<TD class=style28 vAlign=top width=79>
<P>低 3 M </P></TD>
<TD class=style28 vAlign=top width=84>
<P>330 </P></TD>
<TD class=style28 vAlign=top width=105>
<P>64021 </P></TD>
<TD class=style28 vAlign=top width=79>
<P># 6 </P></TD>
<TD class=style28 vAlign=top width=84>
<P>932 </P></TD>
<TD class=style28 vAlign=top width=105>
<P>64994 </P></TD></TR>
<TR>
<TD class=style28 vAlign=top width=79>
<P>低 4 FA </P></TD>
<TD class=style28 vAlign=top width=84>
<P>349 </P></TD>
<TD class=style28 vAlign=top width=105>
<P>64103 </P></TD>
<TD class=style28 vAlign=top width=79>
<P>中 7 SI </P></TD>
<TD class=style28 vAlign=top width=84>
<P>988 </P></TD>
<TD class=style28 vAlign=top width=105>
<P>65030 </P></TD></TR>
<TR>
<TD class=style28 vAlign=top width=79>
<P># 4 FA# </P></TD>
<TD class=style28 vAlign=top width=84>
<P>370 </P></TD>
<TD class=style28 vAlign=top width=105>
<P>64185 </P></TD>
<TD class=style28 vAlign=top width=79>
<P>高 1 DO </P></TD>
<TD class=style28 vAlign=top width=84>
<P>1046 </P></TD>
<TD class=style28 vAlign=top width=105>
<P>65058 </P></TD></TR>
<TR>
<TD class=style28 vAlign=top width=79>
<P>低 5 SO </P></TD>
<TD class=style28 vAlign=top width=84>
<P>392 </P></TD>
<TD class=style28 vAlign=top width=105>
<P>64260 </P></TD>
<TD class=style28 vAlign=top width=79>
<P># 1 DO# </P></TD>
<TD class=style28 vAlign=top width=84>
<P>1109 </P></TD>
<TD class=style28 vAlign=top width=105>
<P>65085 </P></TD></TR>
<TR>
<TD class=style28 vAlign=top width=79>
<P># 5 SO# </P></TD>
<TD class=style28 vAlign=top width=84>
<P>415 </P></TD>
<TD class=style28 vAlign=top width=105>
<P>64331 </P></TD>
<TD class=style28 vAlign=top width=79>
<P>高 2 RE </P></TD>
<TD class=style28 vAlign=top width=84>
<P>1175 </P></TD>
<TD class=style28 vAlign=top width=105>
<P>65110 </P></TD></TR>
<TR>
<TD class=style28 vAlign=top width=79>
<P>低 6 LA </P></TD>
<TD class=style28 vAlign=top width=84>
<P>440 </P></TD>
<TD class=style28 vAlign=top width=105>
<P>64400 </P></TD>
<TD class=style28 vAlign=top width=31 rowSpan=9></TD>
<TD class=style28 vAlign=top width=79>
<P># 2 RE# </P></TD>
<TD class=style28 vAlign=top width=84>
<P>1245 </P></TD>
<TD class=style28 vAlign=top width=105>
<P>65134 </P></TD></TR>
<TR>
<TD class=style28 vAlign=top width=79>
<P># 6 </P></TD>
<TD class=style28 vAlign=top width=84>
<P>466 </P></TD>
<TD class=style28 vAlign=top width=105>
<P>64463 </P></TD>
<TD class=style28 vAlign=top width=79>
<P>高 3 M </P></TD>
<TD class=style28 vAlign=top width=84>
<P>1318 </P></TD>
<TD class=style28 vAlign=top width=105>
<P>65157 </P></TD></TR>
<TR>
<TD class=style28 vAlign=top width=79>
<P>低 7 SI </P></TD>
<TD class=style28 vAlign=top width=84>
<P>494 </P></TD>
<TD class=style28 vAlign=top width=105>
<P>64524 </P></TD>
<TD class=style28 vAlign=top width=79>
<P>高 4 FA </P></TD>
<TD class=style28 vAlign=top width=84>
<P>1397 </P></TD>
<TD class=style28 vAlign=top width=105>
<P>65178 </P></TD></TR>
<TR>
<TD class=style28 vAlign=top width=79>
<P>中 1 DO </P></TD>
<TD class=style28 vAlign=top width=84>
<P>523 </P></TD>
<TD class=style28 vAlign=top width=105>
<P>64580 </P></TD>
<TD class=style28 vAlign=top width=79>
<P># 4 FA# </P></TD>
<TD class=style28 vAlign=top width=84>
<P>1480 </P></TD>
<TD class=style28 vAlign=top width=105>
<P>65198 </P></TD></TR>
<TR>
<TD class=style28 vAlign=top width=79>
<P># 1 DO# </P></TD>
<TD class=style28 vAlign=top width=84>
<P>554 </P></TD>
<TD class=style28 vAlign=top width=105>
<P>64633 </P></TD>
<TD class=style28 vAlign=top width=79>
<P>高 5 SO </P></TD>
<TD class=style28 vAlign=top width=84>
<P>1568 </P></TD>
<TD class=style28 vAlign=top width=105>
<P>65217 </P></TD></TR>
<TR>
<TD class=style28 vAlign=top width=79>
<P>中 2 RE </P></TD>
<TD class=style28 vAlign=top width=84>
<P>587 </P></TD>
<TD class=style28 vAlign=top width=105>
<P>64684 </P></TD>
<TD class=style28 vAlign=top width=79>
<P># 5 SO# </P></TD>
<TD class=style28 vAlign=top width=84>
<P>1661 </P></TD>
<TD class=style28 vAlign=top width=105>
<P>65235 </P></TD></TR>
<TR>
<TD class=style28 vAlign=top width=79>
<P># 2 RE# </P></TD>
<TD class=style28 vAlign=top width=84>
<P>622 </P></TD>
<TD class=style28 vAlign=top width=105>
<P>64732 </P></TD>
<TD class=style28 vAlign=top width=79>
<P>高 6 LA </P></TD>
<TD class=style28 vAlign=top width=84>
<P>1760 </P></TD>
<TD class=style28 vAlign=top width=105>
<P>65252 </P></TD></TR>
<TR>
<TD class=style28 vAlign=top width=79>
<P>中 3 M </P></TD>
<TD class=style28 vAlign=top width=84>
<P>659 </P></TD>
<TD class=style28 vAlign=top width=105>
<P>64777 </P></TD>
<TD class=style28 vAlign=top width=79>
<P># 6 </P></TD>
<TD class=style28 vAlign=top width=84>
<P>1865 </P></TD>
<TD class=style28 vAlign=top width=105>
<P>65268 </P></TD></TR>
<TR>
<TD class=style28 vAlign=top width=79>
<P>中 4 FA </P></TD>
<TD class=style28 vAlign=top width=84>
<P>698 </P></TD>
<TD class=style28 vAlign=top width=105>
<P>64820 </P></TD>
<TD class=style28 vAlign=top width=79>
<P>高 7 SI </P></TD>
<TD class=style28 vAlign=top width=84>
<P>1967 </P></TD>
<TD class=style28 vAlign=top width=105>
<P>65283 </P></TD></TR></TBODY></TABLE>
<P class=style28>下面我们要为这个音符建立一个表格,有助于单片机通过查表的方式来获得相应的数据 </P>
<P class=style28>低音 0 - 19 之间,中音在 20 - 39 之间,高音在 40 - 59 之间 </P>
<P class=style28>TABLE: DW
0,63628,63835,64021,64103,64260,64400,64524,0,0 </P>
<P class=style28>DW 0,63731,63928,0,64185,64331,64463,0,0,0 </P>
<P class=style28>DW 0,64580,64684,64777,64820,64898,64968,65030,0,0
</P>
<P class=style28>DW 0,64633,64732,0,64860,64934,64994,0,0,0 </P>
<P class=style28>DW 0,65058,65110,65157,65178,65217,65252,65283,0,0
</P>
<P class=style28>DW 0,65085,65134,0,65198,65235,65268,0,0,0 </P>
<P class=style28>DW 0 </P>
<P class=style28>2 、音乐的音拍,一个节拍为单位( C 调) </P>
<TABLE borderColor=#e6e6e6 cellSpacing=0 cellPadding=0 border=1>
<TBODY>
<TR>
<TD class=style28 vAlign=top width=114>
<P>曲调值 </P></TD>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -