musescore / MuseScore

MuseScore is an open source and free music notation software. For support, contribution, bug reports, visit MuseScore.org. Fork and make pull requests!
https://musescore.org
Other
12.06k stars 2.6k forks source link

Microtonal accidentals behave incorrectly with transposing instruments #21923

Open looptailG opened 5 months ago

looptailG commented 5 months ago

Issue type

UX/Interaction bug (incorrect behaviour)

Bug description

The microtonal accidentals don't work correctly if used on a staff of a transposing instrument when switchin between concert pitch off to concert pitch on, or vice versa. By switching between the two modes, the playback remains correct, but the accidental remains unchanged, regardless of the accidental that should instead be used to achieve the transposed note.

ExampleFile.zip

Steps to reproduce

  1. Create a score for a transposing instrument (in this example an F horn). Keep the concert pitch option off.
  2. Write a note that will have an accidental when transposed to concert pitch (in this example a written F / sounding Bb).
  3. Apply a microtonal accidental to that note (in this example a half sharp). image
  4. Turn the concert pitch option on. The note will be displayed as a B half sharp (instead of the correct B half flat), but the playback will play a B half flat regardless. image

The same issuo also happens in reverse:

  1. Create a score for a transposing instrument (in this example an F horn). Keep the concert pitch option on.
  2. Write a note that will have an accidental when transposed to concert pitch (in this example a written B / sounding F#).
  3. Apply a microtonal accidental to that note (in this example a half flat). image
  4. Turn the concert pitch option off. The note will be displayed as an F half flat (instead of the correct F half sharp), but the playback will play a (concert pitch) B half flat regardless. image

Screenshots/Screen recordings

No response

MuseScore Version

4.2.1-240230937

Regression

I don't know

Operating system

Windows 10

Additional context

Link to the original bug report on the forum

sammik commented 5 months ago

This is not only "transposing instruments" issue, but general transposing issue. Same happens, for example, if you write quarter tone es, and than transpose score major second up.

Reason is, that MU understands all special accidentals, as "altered natural", but during transposing proces, sometime natural note can became (double) sharp, or flat.