Replace chord symbols

EDIT3: This new version allows for a list of chord symbols to be replaced.
In the default configuration it changes all double accidentals and also B#, Cb, E# & Fb to their enharmonic.
To customize: In a plain text editor look for "var replist" . Add your own choices (if not sure consult the examples right above replist, and delete or comment out (add // at the beginning of a line) items you don’t want.


EDIT2: If you ask for replace 'G#' with 'Ab' (both symbols without a 'tail'), replacement will be global, i.e. all symbols containing 'G#' will be replaced, e.g. 'G#7#11' becomes 'Ab7#11' etc
EDIT: This new version allows in addition:
1. Things like F -> FMaj. Symbols after a slash “/” are not altered even if they match the criterion. Thus Ab/C becomes AbMaj/C
2. Global enharmonic replacement, e.g. Dbdim -> C#dim; replaces all instances of Dbdim with C#dim

Update: Slash chords were not handled correctly.

“Is it possible to do a global find and replace on a particular chord symbol?“ was requested at
https://musescore.org/en/node/350541.

This MU 3.6 plugin does just that.

In a plain text editor look for "var replace" and "var rwith" and change the 2 lines with the desired replacement. Enter a full chord symbol but replacement will be global, e.g. if you ask to replace Dm7 with D- it will also replace all other m7 chord symbols. If you run the plugin from the plugin creation window you will see a list of the replacements.

This plugin is brand new & may be buggy. Make a copy of the files you test, but ctrl-Z should undo changes made by the plugin.

The plugin uses smartQuit and 'should' work in MU4, thanks to Jojo Schmitz. I’m not running MU4 so I can’t test that and say for sure.

Issue Tracker

API compatibility
3.x
4.x
Upload
Attachment Size
ReplaceChordSyms.qml 7.42 KB