A c++ midi file format reader