fix midi parsing note timing