oga's tools
Revision | 779b6cb1a77f160e8d995c748baec0bee826e294 (tree) |
---|---|
Time | 2014-05-30 06:25:20 |
Author | oga <hyperoga@gmai...> |
Commiter | oga |
change usage
@@ -970,6 +970,12 @@ int len; | ||
970 | 970 | * IN buf : Track data |
971 | 971 | * IN len : Track data len |
972 | 972 | * IN trknm : Track number |
973 | + * OUT playdat[trknm][] : play data [DeltaTime][MidiMessage] | |
974 | + * | |
975 | + * +0 +4 | |
976 | + * +--+--+--+--+--+--+--+--+ | |
977 | + * | DeltaTime |XX|D2|D1|ST| | |
978 | + * +--+--+--+--+--+--+--+--+ | |
973 | 979 | */ |
974 | 980 | void ReadTrack(buf, len, trknm) |
975 | 981 | unsigned char *buf; |
@@ -1309,7 +1315,7 @@ void usage() | ||
1309 | 1315 | { |
1310 | 1316 | printf("midana Ver %s\n", VER); |
1311 | 1317 | printf("usage: midana [-a] [-o <trk1>,<trk2>,..]\n"); |
1312 | - printf(" [-p [-c <ch1>,<ch2>,..] [-t <tempo>] [-s [mm:]ss]\n"); | |
1318 | + printf(" [-p [-c <ch1>,<ch2>,..] [-t <tempo>] [-s [mm:]ss]]\n"); | |
1313 | 1319 | printf(" [<midi_filename>]\n"); |
1314 | 1320 | printf(" -a : disp all midi command\n"); |
1315 | 1321 | printf(" -p : play (for win only)\n"); |