midi: scale bug fix.