MIDI input while using tranposing instruments produces wrong displayed pitches

• Dec 12, 2014 - 20:39
S4 - Minor

Ubuntu 14.04, GIT commit: 4ba880a

1) hook up MIDI keyboard
2) start MuseScore
3) create score for alto saxophone, key of C (concert)
4) make sure concert pitch is off (display should show key signature of A major)
5) note entry mode
6) play an A major scale on MIDI keyboard

Result: not only does the display not show a A major scale (it's been transposed - notes played on MIDI being interpreted as concert pitch) but the octaves are off on several notes. It's a mess.

First reported by rtega in http://musescore.org/en/node/41286 as something of a feature request - it seemed at first the behavior was simply unexpected but still "by design". That is, inputting notes via MIDI on a transposing instrument with concert pitch off was still inputting as concert pitch, and maybe this was intended but not desired. On further investigation, it was found it really is not behaving as intended, even - the sounding pitch is out of sync with the displayed pitch, pressing concert pitch does not properly transpose, and there is the octave jump issue.

From looking at the code together, we determined that it is pretty clearly *supposed* to be working as he expected - playing an "A" should *display* an "A" regardless of what mode you are in when you play it, just as typing does. That's how it worked in 1.3, and that seems logical. In 2.0, the pitch is being set correctly; the tpc's are just off.