musescore / musescore/MuseScore
Musescore not exporting sustain pedal correctly
Open
@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
- In the first measure put notes and a repeat
- In the second measure put more notes that are not sustained
- In the third put notes that are sustained
- 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
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.
Assessment
This issue has not been assessed yet.