Preserve MusicXML horizontal note positioning for simultaneous voices on import
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 55/100
Research direction
Start by tracing MusicXML import handling for note positioning attributes such as default-x and relative-x, then find the layout and import tests for simultaneous voices. Reproduce the report with the supplied one-measure fixture and compare the imported PDF and re-exported MusicXML against the control. Done when the specified separation is preserved while note onsets and durations remain unchanged, and unpositioned notes retain automatic layout.
Written by the indexing model from the issue text.
Description
Issue type
MusicXML import / layout compatibility
Steps to reproduce
- Save the original one-bar MusicXML fixture below as
offset.musicxmland import it into MuseScore Studio 4.7.7 (b750c43e316cf6a00e70451870b231b12f400bda). - Compare the PDF and immediate MusicXML export with a control in which both notes have
default-x="25". - As a second variant, set the upper note to
default-x="25" relative-x="15"and leave the lower note unchanged.
Expected/request: Preserve the deliberate horizontal separation of the two simultaneously sounded, same-stem-direction notes, without changing their durations or onsets. MusicXML 4.0 defines the referenced positioning information; this report asks for import support for these optional layout attributes, not for breaking automatic layout for unpositioned notes.
Actual: All three first-import PDFs have identical glyph and vector geometry; both notes have re-exported default-x="80.23" in every case. The notes still belong to separate voices and start together. All three inputs pass MusicXML 4.0 schema validation. Tested on Windows via CLI; no claim about older builds or latest nightly.
<?xml version="1.0" encoding="UTF-8"?>
<score-partwise version="4.0">
<part-list><score-part id="P1"><part-name>Test</part-name></score-part></part-list>
<part id="P1">
<measure number="1" width="180">
<attributes>
<divisions>1</divisions>
<time><beats>2</beats><beat-type>4</beat-type></time>
<clef><sign>G</sign><line>2</line></clef>
</attributes>
<note default-x="25">
<pitch><step>D</step><octave>4</octave></pitch>
<duration>2</duration><voice>1</voice><type>half</type><stem>up</stem>
</note>
<backup><duration>2</duration></backup>
<note default-x="40">
<pitch><step>A</step><octave>4</octave></pitch>
<duration>2</duration><voice>3</voice><type>half</type><stem>up</stem>
</note>
</measure>
</part>
</score-partwise>
- Dominant language
- C++
- Stars
- 15.5k
- Forks
- 3.5k
- Avg merge
- 2d 19h
- Merged PRs (30d)
- 124
Getting set up
- No Dockerfile or Docker Compose file
- Has a pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from musescore/MuseScore
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
Maintainers usually reply within 1 day
-
Edit string data dialog opens empty, with no strings and 0 frets, from "Instrument/Staff properties"Possibly taken @igorkorsukov claimed this 3 days ago. OpenP2 regression nightly UX/interaction
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
musescore/MuseScore#35829 · 1 assignee ·
Maintainers usually reply within 1 day
-
MusicXML export: overlapping dashed text lines (<dashes>) are all exported with duplicate number="1"Opencommunity MusicXML
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
Maintainers usually reply within 1 day
-
MusicXML import loses explicit slur direction when the stop precedes the start in document orderOpenneeds review
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
Maintainers usually reply within 1 day
-
needs review
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
Maintainers usually reply within 1 day
All issues in musescore/MuseScore
Similar issues
-
Difficulty 1/5 Under an hour Newbie friendliness 75/100
Maintainers usually reply within 2 days
-
bug low priority
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
eclipse-score/logging#531 ·
Maintainers usually reply within 2 days
-
scope:docs status:needs-triage
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
PX4/PX4-Autopilot#30166 ·
Maintainers usually reply within 1 day
-
Difficulty 1/5 Under an hour Newbie friendliness 72/100
Maintainers usually reply within 1 day