After thinking about this for about a week, I still cannot imagine any
structural solution for this issue. As it leads to the crash described in
issue 55501, I very would like to have it fixed (or at least worked around)
in 2.0.1. The reason it is difficult to fix is that the MusicXML file simply
does not contain the drum set mapping (translation from symbol on a staff
line to drum instrument). I would prefer to both fix the crash and import
the parts as working percussion parts.

Possible solutions (sorted on amount of effort) could be:

Import the part as percussion part but ignore notes if the drum set mapping
is not known. Very easy, but for the files attached to issue 55436 (note:
generated by a recent Sibelius version, not some obscure program) the drum
parts will be empty.

Import the part as a regular (non-percussion) part. This is relatively easy
to implement, places all notes correctly and conforms with the MusicXML
spec, but results in a part that does not behave or sound as a drum part.
This is the solution used by Finale NotePad.

Import the part as a percussion part and try to guess the drum set mapping,
e.g. by assuming the MuseScore default drum set is similar. This is a lot
more work, probably results in a somewhat working percussion part, is
strictly speaking not conform the spec and very well may result in drum
instruments that are incorrectly mapped (and thus sound incorrect).

Unless someone has a better idea, I will try to implement the second option
within a few days and hope to be in time for 2.0.1.





--
View this message in context: 
http://dev-list.musescore.org/How-to-import-file-with-missing-drum-set-tp7579160p7579181.html
Sent from the MuseScore Developer mailing list archive at Nabble.com.

------------------------------------------------------------------------------
BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM EDT
Develop your own process in accordance with the BPMN 2 standard
Learn Process modeling best practices with Bonita BPM through live exercises
http://www.bonitasoft.com/be-part-of-it/events/bpm-camp-virtual- event?utm_
source=Sourceforge_BPM_Camp_5_6_15&utm_medium=email&utm_campaign=VA_SF
_______________________________________________
Mscore-developer mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mscore-developer

Reply via email to