musescore / musescore/MuseScore

[MU4 Issue] musicxml import wrong accidentals

Open
#12,993 12 comments 0 reactions 1 assignee View on GitHub

Nobody has claimed this yet.

community MusicXML
Dominant language
C++
Stars
15.1k
Forks
3.3k
Avg merge
2d 2h
Merged PRs (30d)
91

Description

Describe the bug
Imorting musicxml, accidentals are sometimes wrong (missing explicit /cautionary/ "convential" accidental on second note, or, oposite, extra microtonal accidental, where it was not, or different accidental)

To Reproduce
Steps to reproduce the behavior:

  1. Import attached musicxml file
    accidental_test-reference.musicxml.zip

  2. See result

Expected behavior
Accidentals should be exactly same, as in musicxml file.

Screenshots
import-bug

Platform information

  • OS: [reported on Linux]

Additional context
convential accidentals
if there is explicit /cautionary/ accidental on second note in bar, it disappear during import

microtonal accidentals
Stein-Zimmermann accidentals are added to all "altered" notes, even if there were not in musicxml

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.