tool which convert midi file in C array