Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Accidentals should reflect the staff they are written in when notes are beamed across staves #21061

Closed
Panogen opened this issue Jan 18, 2024 · 1 comment · Fixed by #21443 or Jojo-Schmitz/MuseScore#313
Assignees
Labels
engraving P1 Priority: High

Comments

@Panogen
Copy link

Panogen commented Jan 18, 2024

Issue type

Engraving bug (incorrect score rendering)

Bug description

Accidentals on a note typically aren't rendered if the same accidental has appeared previously in the same measure and is not separated by the use of a different accidental on the same note. This behavior works correctly if there is no cross-staff beaming (i.e. all the notes are in their "home" staff). However, when cross-staff beaming is introduced, the notes that have been transferred to a different staff "remember" the previous notes in their "home" staff, instead of looking to the notes in the staff they were transferred to.

Steps to reproduce

In one staff, write two of the same note, then add the same accidental to both of them by using either the up or down arrow. The accidental should not be visible on the second note. Then, select the second note and move it to a different staff using Ctrl+Shift+UP/DOWN. The accidental still isn't rendered, despite the same note not being present earlier in that staff.

Screenshots/Screen recordings

The 8th notes were written in the LH staff and set to be beamed across the staves using Ctrl+Shift+UP.
The highlighted flat shouldn't be there. It cannot be removed, otherwise the note would play as B♮.
A workaround would be to simply hide the flat with V.
image

The converse would be this example.
The highlighted note is a C♯, but the accidental does not appear when the note is transferred to the RH staff; it just looks like a C♮.
A workaround would be add the accidental manually, but this can be tedious and error-prone if a score has many instances of this issue.
image

MuseScore Version

MuseScore version (64-bit): 4.0.2-230651553, revision: github-musescore-musescore-dbe7c6d

Regression

No.

Operating system

Windows 11

Additional context

No response

@Panogen Panogen changed the title Accidentals should reflect the staff they are written in when beamed across staves Accidentals should reflect the staff they are written in when notes are beamed across staves Jan 18, 2024
@bkunda bkunda added this to To do in 4.x SHORTLIST via automation Jan 19, 2024
@bkunda bkunda added the P1 Priority: High label Jan 19, 2024
@Jojo-Schmitz
Copy link
Contributor

Jojo-Schmitz commented Feb 11, 2024

Sample score for testing/comparing (done with 3.x), using the above images.
Unbenannt.zip

@oktophonie oktophonie removed this from To do in 4.x SHORTLIST Feb 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
engraving P1 Priority: High
Projects
5 participants