fix #41326: correct transposition of MIDI input
Merge pull request #1535 from MarcSabatella/41326-midi-input-transpose

fix #41326: correct transposition of MIDI input