Inputting a C via MIDI on a transposed instrument puts a B#

• Jan 12, 2015 - 19:51
Type
Functional
Severity
S4 - Minor
Status
closed
Project

Steps to reproduce:
1. create a score with a saxophone and a piano
2. put the key in 2 b (the saxophone should show # as key)
3. enter a C on the saxophone, it shows a B#


Comments

Bug also affects other (non-MIDI) note entry:

1) score for alto sax key of Eb concert
2) make sure concert pithc is off, so score appears in C
3) enter an F
4) turn concert pitch on

Result: note transposes as G# rather than Ab

Cause is that the current (transposed) key signature is used to determined the spelling at concert. We need to check and transpose the key signature if necessary. Algorithm could probably be changed to calculate correct pitch first rather than always calculating concert pitch first, but I'd rather keep the change as localized as possible at this point.