VC++好久没有用了,现在又拾起,什么都忘了。
从前天安装程序到现在,总算出了成果 ----当然,只是初步。
现在的这个程序,只对单字节、即单个音作编码,以后要达到整个音乐的编码输出,---- 还想做音乐简谱的编写与转换。
程序如下:
注:两个程序是一个功能,一个带有MFC库,即在没有安装MFC时也可以运行,一个没有带MFC。
本帖最后由 dontium 于 2015-1-21 17:56 编辑
这个数组是上面程序做出来的:
播放了一下,还行,
const unsigned char CaiCha[74]={
0x43,0x42,0x43,0x45,0x56,0x46,0x45,0x91,0x83,0x85,0x86,0x85,0x96,0x90,0x91,0x55,
0x52,0x50,0x55,0x46,0x81,0x46,0x45,0x63,0x45,0x43,0x55,0x46,0x81,0x46,0x45,0x43,
0x45,0x45,0x41,0x62,0x43,0x42,0x41,0x41,0x62,0x53,0x43,0x45,0x46,0x81,0x46,0x45,
0x66,0x56,0x91,0x91,0x43,0x42,0x53,0x43,0x42,0x53,0x45,0x43,0x45,0x45,0x51,0x45,
0x43,0x42,0x43,0x42,0x41,0x06,0x41,0x42,0x41,0x06
};