musescore / musescore/MuseScore
Incorrect mapping of Drumset instruments when exporting to XML
Nobody has claimed this yet.
- Dominant language
- C++
- Stars
- 15.1k
- Forks
- 3.3k
- Avg merge
- 2d 2h
- Merged PRs (30d)
- 91
Description
Issue type
Import/export issue
Bug description
When exporting XML (compressed or uncompressed) from MuseScore 4 (OS: Windows 10 Version 2009 or later, Arch.: x86_64, MuseScore version (64-bit): 4.2.1-240230937, revision: github-musescore-musescore-d757433) the drum mapping is completely out of wack (not just transposed). Tested by importing into Reaper.
Exporting to midi the mapping is spot on:
Github apparently won't let me attach the files xml or midi files so find attached zip...
BRN-Kick+Snare+hiHat.zip
Steps to reproduce
- Create one bar loop using Drumset.
- Export it using Music Xml (compressed or uncompressed)
- Import it into your Daw (Reaper in my case)
- Play loop/examine midi to see mapping is all wrong
- Do the same but Exporting to midi then importing to DAW and the mapping is correct
Screenshots/Screen recordings
MuseScore Version
OS: Windows 10 Version 2009 or later, Arch.: x86_64, MuseScore version (64-bit): 4.2.1-240230937, revision: github-musescore-musescore-d757433
Regression
Choose option...
Operating system
OS: Windows 10 Version 2009 or later, Arch.: x86_64, MuseScore version (64-bit): 4.2.1-240230937, revision: github-musescore-musescore-d757433
Additional context
No response
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.
Research direction
Reproduce the issue with a one-bar Drumset loop in MuseScore 4.2.1, exporting both compressed and uncompressed MusicXML, then compare the imported mapping in Reaper with the MIDI-export path. Trace the MusicXML export and drum-instrument mapping entry points; done means the MusicXML-imported loop uses the same drum mapping as the correctly mapped MIDI export.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp, xml
- Domain
- desktop
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100