musescore / musescore/MuseScore

Musescore not exporting sustain pedal correctly

Open
#33,758 1 comment 0 reactions 1 assignee View on GitHub

@RomanPudashkin is already working on this.

Since Jun 12, 2026.

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

Description

Issue type

Import/export issue

Description with steps to reproduce
  1. In the first measure put notes and a repeat
  2. In the second measure put more notes that are not sustained
  3. In the third put notes that are sustained
  4. Export to midi
    Actual behavior: When playing the midi file, the second measure will be sustained and the third measure will not be
    Expected behavior: The second measure should not be sustained and the third measure should be

It seems like when when you export to midi it it ignores the repeated measures and just says "the third measure is sustained" even though it's actually the fourth

Supporting files, videos and screenshots

https://github.com/user-attachments/assets/c3cb1ff0-c5d6-4dbe-90fe-f51f52be53cb

In which versions of MuseScore Studio is this issue present?

4.7.2

Regression

I was unable to check

Operating system

Windows 10

Additional context

No response

Checklist
  • This report follows the guidelines for reporting bugs and issues
  • I have verified that this issue has not been logged before, by searching the issue tracker for similar issues
  • I have attached all requested files and information to this report
  • I have attempted to identify the root problem as concisely as possible, and have used minimal reproducible examples where possible

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.