Adding chord to stdchords.xml

• Apr 19, 2015 - 19:46

I've talked about a similar subject to this before, but that was during 1.3. Now with MuseScore 2 and the new way chord names are rendered, I thought I would bring this up again.

Originally, I edited the stdchords.xml file so that the chords in my score rendered "M" for major chords rather than "Maj". I also lowered the bass note position for easier reading.

Everything seemed to be rendering appropriately until I realized that one of my chords--EbMaj7(no 3)--still rendered as "Maj" instead of "M". I checked the list of chords in the xml file to see if this one was present, but it was not. However, I did notice the chord "Maj9(no 3)" was on the list and figured adding a similar one would be easy, so I added my chord to the end of the list .

Basically, I followed the sequence of id numbers and added to the end of the list (which originally ended at 241) and then changed the "9" to a "7". I then saved it appropriately as a seperate xml file, updated my scores chord symbols style file to the new one, and then checked to see if it had changed. It did not change, but all my other changes remained changed.

What might I be doing wrong? I have attached the xml file below.

Windows 7
MuseScore 2
Score imported from 1.3

Attachment Size
stdchords_.xml 13.89 KB

Comments

For 2.0, everything has changed and id numbers are no required or recommended - only the old obsolete files like stdchords.xml need use them. And it should no longer be necessary to use cusotm files just to get unexpected chords to be recognized. If you want EbM7, simply type EbM7 - no need to define use a custom XML file, and in fact, it is now *counterproductive* to do do in most cases. Similarly, EbM7(no3) will be recognized and rendered correctly with no customziation whatsoever.

So my first advice is to simply stop using custom XML files - it causes more problems than it solves now. Chords will be recognized and rendered better if you don't use them than if you do. The only benefit to a custom file in your case at this point is to get the lower bass note, so if you must use a custom XML file, have it do this and nothing else. That is, use the new chords_std.xml as your starting pont, not the old obsolete stdchords.xml.

For the record, the reasn your file doesn't work is that it contains only "render" instructions but nothing to say how the chord is recognized. Again, though, none of this is necessary any more. You can now get EbM7(no3) with no customizations whatsoever - just use the default "Standard" chord symbol style rather than a custom one.

Do you still have an unanswered question? Please log in first to post your question.