[Musicxml Export] - Measure rest should be reflected

• Jan 16, 2020 - 09:54
Reported version
3.3
Type
Performance
Frequency
Once
Severity
S3 - Major
Reproducibility
Always
Status
closed
Regression
No
Workaround
No
Project

The attached file shows various lengths of measure with full measure rests on either right or left hand. Musescore code shows this:

      <Rest>
        <durationType>measure</durationType>
        <duration>7/8</duration>
        </Rest>

However, Musicxml export shows only rest, not rest measure:

  <note>
    <rest/>
    <duration>7</duration>
    <voice>5</voice>
    <staff>2</staff>
    </note>

It should be:

  <note>
    <rest measure="yes"/>
    <duration>7</duration>
    <voice>5</voice>
    <staff>2</staff>
    </note>

Without this, braille transcription software will not know it's a full measure rest, and will count duration and output strange rests.

Attachment Size
measure rests.mscz 11.07 KB
measure rests.musicxml 33.43 KB

Comments

Sorry, I can't quickly figure out how to write code correctly, the xml code can only be written as this, otherwise all tags are gone.

Ok, xml code repatched here. THe exported xml is:
...

  <note>
    <rest/>
    <duration>7</duration>
    <voice>5</voice>
    <staff>2</staff>
    </note>

But should be:

  <note>
    <rest measure="yes"/>
    <duration>7</duration>
    <voice>5</voice>
    <staff>2</staff>
    </note>

Haipeng

Status active fixed

Fixed in commit edbececd409f12e681ff9a1688150e749bf99f83
Author: anatoly-os
Date: Mon May 18 02:45:29 2020 -0700

Merge pull request #6088 from lvinken/musicxml-fixes-3.x

Musicxml fixes 3.x
Fix version
3.5.0