MusicXML file exported by Tux Guitar causes error when importing to Musescore 3
I was playing around with Tux Guitar because of it's Guitar Pro 7 importing capabilities. But it seems that if I use Tux Guitar to export a file to Music XML, this file then cannot be read properly by Musescore and causes an error. I've tried this file on the most recent Appimage (3.1) on Manjaro Linux and the error I get is:
Fatal erreur : ligne 10 colonne 26 Element creator is not defined in this scope.
My question is then, is Tux Guitar exporting an invalid Music XML file or is there something wrong with the import capabilities of Musescore?
I've attached the exported file as an example.
Attachment | Size |
---|---|
tab_test.xml | 3.21 KB |
Comments
MuseScore validates against the latest MusicXML standard, so it does seem that Tux Guitar creates something invalid.
You can ignore the error though and MuseScore will load the score
In reply to MuseScore validates agains… by Jojo-Schmitz
Musescore does load the score, however the 2nd staff with the tab part is missing. Is the tab part entirely missing from the MusicXML file?
In reply to Musescore does load the… by brettvachon
No, seems entirely unrelated. I don't see a 2nd staff in the xml
In reply to No, seems entirely unrelated… by Jojo-Schmitz
But just adding a linked tablature staff after the import should do
In reply to But just adding a linked… by Jojo-Schmitz
Yes, that mostly works, but sometimes specific string information is lost with this method. For example slides and alternate fingerings need to be re-added.
In reply to Musescore does load the… by brettvachon
The attached MusicXML file describes a single staff which is a mix between a normal staff and a tab staff: it has a G clef instead of a TAB clef, but is does contain string tuning. I am not quite sure if this is allowed by the spec and how it should be interpreted.
Furthermore, it contains many element written in incorrect order. This suggests to me the TuxGuitar authors did not do rigorous testing on their output.
In reply to The attached MusicXML file… by Leon Vinken
Thanks for clarifying - I was wondering why the staff contained 6 lines yet had a G clef.
Aside from familiarity, any reason for not simply opening up the Guitar Pro file directly with MuseScore?
In reply to Aside from familiarity, any… by jeetee
As per OP, Tux Guitar is capable of opening Guitar pro 7 files but Musescore currently cannot. So it's a workaround.
In reply to As per OP, Tux Guitar is… by brettvachon
Apologies, I was under the impression the work from https://github.com/musescore/MuseScore/pull/4706 had been finished and integrated, but it most obviously isn't yet..
In reply to Apologies, I was under the… by jeetee
Unfortunately, there is a large queue of pull requests (190 as of today). There were obviously be stale ones, but also lots of very useful updates are pending.
In reply to Apologies, I was under the… by jeetee
Also https://github.com/musescore/MuseScore/pull/3324, for #247546: [Guitar Pro 7] Support of the new .gp format