Wrong spelling of grace note according to key for transposing instrument

• Jan 16, 2015 - 15:17
Type
Functional
Severity
3
Status
closed
Project

Ubuntu 14.04, GIT commit: e4898bc

Report by ABL on developer's mailing list, my steps are a bit different

1) new score, alto saxophone, Eb concert (C transposed)
2) add an Ab to the score
3) add grace note to the Ab

Result: it is added a G# by default. You can of course change it after the fact, and as far as I can tell no harm is done.

I am pretty sure we simply need to check concert pitch state and if set, transpose the key found at the beginning of Note::setTpcFromPitch, same as is done in Note::setNval().

This might also fix a few other tpc issues here and there, particualrly with import, as the import functions have often relied on setTpcFromPitch.


Comments