it still need some fixes but at least one instrument is correctly
written to midi file!