add support for tempo to midiparser