Why isn't this XML working
I took an xml file (aso-instruments.xml) and added some instruments by pasting the instruments from a score. (I opened it in mscx format with EditX-Pro)
Attachment | Size |
---|---|
aso-instruments.xml | 72.11 KB |
I took an xml file (aso-instruments.xml) and added some instruments by pasting the instruments from a score. (I opened it in mscx format with EditX-Pro)
Attachment | Size |
---|---|
aso-instruments.xml | 72.11 KB |
Do you still have an unanswered question? Please log in first to post your question.
Comments
The instruments in score are not having the exact same format as in instruments.xml.
Also your xml has errors:
error on line 940 at column 14: Opening and ending tag mismatch: Instrument line 0 and Part
In reply to The instruments in score are… by Jojo-Schmitz
Where can I learn about instruments.xml so I can make them without the pasting or learn how to edit the paste so it works?
In reply to Where can I learn about… by ♪𝔔𝔲𝔞𝔳𝔢𝔯 ℭ𝔯𝔞𝔣𝔱𝔢𝔯♪
Take existing entries from instruments.xml and modify those. I don't think you'll find Part and Staff tags there for example.
Have a look at https://musescore.org/en/developers-handbook/references/instruments.xml…
Also have a look at how the score does it, but don't blindly copy/paste stuff across. I for example use that to find the proper range of instruments, letting MuseScore translate an E2 onto the corresponding pitch
In reply to Take existing entries from… by Jojo-Schmitz
I've found that if on an instrument you delete the part under drumset you can paste a .drm file and it works fine.