musescore / MuseScore

MuseScore is an open source and free music notation software. For support, contribution, bug reports, visit MuseScore.org. Fork and make pull requests!
https://musescore.org
Other
11.82k stars 2.57k forks source link

Non-tonal percussion MusicXML import/export improvement #21301

Open zacjansheski opened 5 months ago

zacjansheski commented 5 months ago

Your idea

Non-tonal percussion import/export via MusicXML should be improved upon. Very simple parts have odd behaviors when importing and exporting within MuseScore Importing MusicXML parts from other programs yields even worse results.

Problem to be solved

Make a score with a snare drum Export to MusicXML Open in MuseScore, it is now plays as a string instrument https://github.com/musescore/MuseScore/assets/69917893/41039bad-178b-4b3c-a612-a384b25fb886

Could the program recognize what is a non-tonal percussion instrument and give the user a chance to assign it to a percussion instrument / load a drumset file?

Prior art

No response

Additional context

Instrument info in the code: Drumset with two "sounds" (Side Stick and Snare)

<score-part id="P1">
  <part-name>Snare Drum</part-name>
  <part-abbreviation>SD</part-abbreviation>
  <score-instrument id="P1-I38">
    <instrument-name>Side Stick</instrument-name>
    </score-instrument>
  <score-instrument id="P1-I39">
    <instrument-name>Snare</instrument-name>
    </score-instrument>
  <midi-device port="1"></midi-device>
  <midi-instrument id="P1-I38">
    <midi-channel>10</midi-channel>
    <midi-program>49</midi-program>
    <midi-unpitched>38</midi-unpitched>
    <volume>78.7402</volume>
    <pan>0</pan>
    </midi-instrument>
  <midi-instrument id="P1-I39">
    <midi-channel>10</midi-channel>
    <midi-program>49</midi-program>
    <midi-unpitched>39</midi-unpitched>
    <volume>78.7402</volume>
    <pan>0</pan>
    </midi-instrument>
  </score-part>
</part-list>
zacjansheski commented 5 months ago

Looking into going from Sibelius to MuseScore.

Very different appearance, but at least it plays as bongos. However, there is no differentiation between normal noteheads and x noteheads

Sibelius Screenshot 2024-02-02 112128

MuseScore Screenshot 2024-02-02 112113

Snare test.zip

rettinghaus commented 1 month ago

Another example why you should never use the Sibelius Direct export, which is exceptionally bad. There is no information in the file about which MIDI note should actually be played. The basic import/export issue in MuseScore has (apart from some minor flaws) been fixed with 4.3.