This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
定义 范围(左端点,右端点) | |
左闭右开区间你懂的 | |
定义 字节 | |
……8位二进制数码…… | |
定义 大端整数 | |
就是由几字节组成的整数,但是首个字节代表的是最大的8位。 | |
定义 变长MIDI整数 | |
MIDI的变长整数记录法,用低7位记录数字,最高位为1表示再读一字节拼起来。 | |
也就是,0-128直接单字节一坨,大于128切成每坨7位,也是按大坨在前,然后除了最后一坨之外,每一字节最高位改成1。 | |
定义 MIDI整数 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <stdio.h> | |
#include <conio.h> | |
#include <windows.h> | |
#include <time.h> | |
#include <math.h> | |
#include <string.h> | |
#define u16 unsigned short | |
char XC[2001]={0}; | |
const char* blk[30]={ | |
"oo", |