Skip to content

MusicXML exporting: swing and straight tempo markings do not fully export. #18752

@JosephBuchholz

Description

@JosephBuchholz

Issue type

Other type of issue

Bug description

Swing and straight tempo markings do not fully export when exporting to MusicXML. Instead just the text is exported:

    <measure number="2" width="315.07">
      <direction>
        <direction-type>
          <words default-y="0.24" relative-y="20.00" font-weight="bold" font-size="12">Swing</words>
          </direction-type>
        </direction>

should be:

    <measure number="2" width="315.07">
      <direction>
        <direction-type>
          <words default-y="0.24" relative-y="20.00" font-weight="bold" font-size="12">Swing</words>
          </direction-type>
          <sound>
            <swing>
              <first>2</first>
              <second>1</second>
              <swing-type>eighth</swing-type>
            </swing>
          </sound>
        </direction>

Steps to reproduce

  1. Create a MuseScore project with a Swing element
  2. Export to MusicXML
  3. Import the MusicXML into MuseScore
  4. Listen to the score and note that there is no swing playback

Screenshots/Screen recordings

Before Export:
Screenshot 2023-07-21 105530

After Export:
Screenshot 2023-07-21 105554

Screenshot 2023-07-21 105713
(see that the swing playback is disabled)

MuseScore Version

OS: Windows 10 Version 2009 or later, Arch.: x86_64, MuseScore version (64-bit): 4.1.0-231921402, revision: github-musescore-musescore-2e3a93a

Regression

I don't know

Operating system

Windows 11

Additional context

The MuseScore and MusicXML files:
files.zip

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions