Creating chords from notes of a broken chord within a bar

• Mar 1, 2022 - 17:46

I have a lot (thousands) of broken chords written in musescore for use as sight reading flash cards. Is there a way (plugin or anything) to change the broken chord in each bar into a chord? This will save me a lot of time

If there is none, I would like to have a beginner course (qml) on how to target the individual notes in every bar, storing the notes in an array, delete the notes in the bar and create a chord with the notes in the array.

Attachment Size
change.png 64.59 KB

Comments

The attached plugin change.qml does what you want and will get you started. Qml files are just text files with code in javascript (lots of tutorials on the internet). Open them in Visual Studio Code (free software). Study the code and the code of other MuseScore plugins and you will get the hang of it pretty quickly. Run the plugin via the Plugin Creator menu, File Open, so you’ll see the console.log messages.
Coding can be pretty frustrating but also lots of fun!

Attachment Size
change.qml 3.77 KB
change.mscz 4.66 KB

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