Convert Chord Symbols To Nashville numbers or Roman numerals

EDIT 19Aug2024: To convert Chord Symbols To Roman Numerals use HeadOnlyHarmony2Roman.qml
Head only means e.g. Dbx in Key Ab wil convert to IVx where x can be ‘anything’


EDIT 18Aug2024: Bug fix: Removed a spurious throw new Error


EDIT 08Aug2024: Bug fix: Last chord in score was not processed


EDIT: Fixed a bug upon key changes


EDIT: If you only want to convert the main chord symbols to Nashville numbers, but keep the original extensions, see
https://musescore.org/en/node/351796#comment-1251412
& following, & use HeadOnlyHarmony2Nash.qml (the version posted here)


This plugin changes normal chord symbols into Nashville numbers.
Before you start:
1. make sure all chord symbols have notes or rests under them (see https://musescore.org/en/node/307565)
2. Use Jazz Style Chord Symbols (Format>Style>Chord Symbols)

If you run the plugin in MU3.6 from the Plugin Creator window you will see:
Warning: QFont::setPointSizeF: Point size <= 0 (0.000000), must be greater than 0
This warning can be safely ignored.

There are many styles of chord symbols and the plugin supports most (or all) of what MuseScore supports. Unrecognized chord symbol extensions are returned as (incorrect) extensions of the Nashville number.
To add your own style of chord symbols: open the .qml file in Notepad++ or any text editor. Search for: var tails. You can add your own using the same style as the others.

I use b2 etc. rather that #1. If you prefer the other style uncomment (= remove // at the beginning of the line) line 149 // flat = 0
To remove the original chord symbols (not recommended : you will not easily see errors)
Uncomment line 277 //removeElement(annotation);

Test the plugin on the enclosed NashAllKeys.mscz
Please report problems at https://musescore.org/en/node/351796

Issue Tracker

API compatibility
3.x
4.x
Upload