1c7 /* Extract patch names from a 32 patch Yamaha DX7 .SYX bank file */ #include main (int argc, char **argv) { FILE *f; int i; char s[11]; f = fopen(argv[1], "rb"); fseek(f, 6L, SEEK_SET); fseek(f, 118L, SEEK_CUR); s[10] = 0; printf("Patches in %s\n\n", argv[1]); for(i = 0; i < 32; i ++) { fread(s, 10, 1, f); printf("%s\n", s); fseek(f, 118L, SEEK_CUR); } printf("\n\n"); fclose(f); } . 0