Not all half step notes are colored for transposing instruments

• Sep 14, 2017 - 13:06
Reported version
2.1
Type
Functional
Severity
S4 - Minor
Status
active

In a score with partly 4 sharps F# and C# are not red-colored!


Comments

Title Not all half step notes are colored Not all half step notes are colored after mid-score key sig change

Apparently only the initial time sig is taken into account

Title Not all half step notes are colored after mid-score key sig change Not all half step notes are colored for transposing instruments

No, returning to my first guess: it doesn't work with transposing instruments.
Easy fix: in the .qml (and for 1.x in the .js) file just replace note.pitch() by note.ppitch() (for playback pitch()).
epitch() (for effective pitch, honororing transposition and concert pitch) is not exposed to plugins.

In reply to by Jojo-Schmitz

Hello Jojo,
Thanks for your reply.
I tried your solutions but they did not work.
I also tried to change the program with "midi" as the switch selector but the program does not appear in plugins (probably coding fault).
For now I changed the program "colornotes.qml": half steps #ff0000 and the rest #000000.
This works for me on this moment.

My knowledge of QML is not enough so I have to study it.