Thanks, but how should I adjust the individual values in the midifile so that it shouldn't happen?