some lame evolution of fan2midi