fixed a bug in legacy midi handler - output range wasn't being maintained