I don't know all the ins and outs if the problem you are trying to fight.
But there is a default drumset globally defined, smDrumset. You could use
it. I know the guitar pro import uses the other one gpDrumset.
See
https://github.com/musescore/MuseScore/blob/master/libmscore/drumset.cpp#L151
lasconic
2015-04-12 10:56 GMT+02:00 Leon Vinken <[email protected]>:
> This question concerns a pert of MuseScore that I am not familiar with.
> Issue
> 55436 contains two files where drum parts are present but no drum set
> definition is available. Currently the MusicXML importer handles this
> situation by setting the staff type to percussion but it does not create a
> drum set for the instrument in this staff.
>
> Question is: is this the best strategy to handle this situation, or is
> there
> a better way ? E.g. would it be better to assume standard MIDI mapping for
> the drum set and create a default set ?
>
>
>
> --
> View this message in context:
> http://dev-list.musescore.org/How-to-import-file-with-missing-drum-set-tp7579160.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
>
------------------------------------------------------------------------------
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