WIP parser for midi files