How to customize my own version of Note Names plugin?
The goal is to customize the Note Names plugin so that
1) it can display 1, 2, 3 for Do Re Mi...
2) more advanced: it can show a dot below 1, if it is the lower Do, and a dot above 1, if it is the upper Do. And best if it is be 2 dots or 3 dots... if we have 2 dots, that means 5 octaves, and we have 60 notes (piano keyboard keys), and 7 octaves, we have 84 notes and it is comparable to an 88 key piano
3) It can auto adjust the Do Re Mi or 1, 2, 3, if the song is in E Major, and then note is E, then it shows the name as Do, not a Mi
I tried to first find the plugin on a Mac at
/Applications/MuseScore 3.app/Contents/PlugIns
/Users/myusername/Documents/MuseScore3/Plugins
but they don't seem to be there.
I even tried to find it:
$ grep -ri notenames "/Applications/MuseScore 3.app/Contents/PlugIns"
but nothing can be found....
Can somebody tell me how to find the file, and I suppose step 2 is to copy and paste that code into our newly created plugin, and then figure out how to modify it so that it outputs 1, 2, 3?
P.S. Ideally, I hope to find the code as on my computer, but it seems there is one version of it on github: https://github.com/Jojo-Schmitz/notenames/blob/master/notenames.qml
but ideally, if I can modify the one I am already running on the computer, it may be best.
Comments
Check https://musescore.org/en/handbook/3/plugins#mac-os-x, it states:
Pre-installed plugins can be found in the MuseScore bundle in /Applications/MuseScore 3.app/Contents/Resources/plugins (to reveal files in the app bundle, right-click on MuseScore 3.app and choose "Show package contents"), and in ~/Library/Application Support/MuseScore/MuseScore 3/plugins. These folders should not be modified
In reply to Check https://musescore.org… by Jojo-Schmitz
oh I should have searched for the whole app folder, and so I did:
$ grep -Ilri "note names" /Applications/MuseScore\ 3.app
/Applications/MuseScore 3.app/Contents/Resources/plugins/notenames-interactive.qml
/Applications/MuseScore 3.app/Contents/Resources/plugins/notenames.qml
/Applications/MuseScore 3.app/Contents/Resources/styles/chords_jazz.xml
In reply to oh I should have searched… by kennethpiano
And you'd want /Applications/MuseScore 3.app/Contents/Resources/plugins/notenames.qml
In reply to And you'd want /Applications… by Jojo-Schmitz
But rather a copy of that, for it to not getting lost on a reinstall or update
In reply to But rather a copy of that,… by Jojo-Schmitz
cool, thanks. It worked for me to translate it to 1 2 3...
maybe a notenamesSelect can be created, to use the language default or use 1 2 3 or Do Ray Me ... Ti (some countries use Ti instead of Si)...
Is it advisable to edit the language translation, such as if I use English US, can I modify the English GB to use 1 2 3?
In reply to cool, thanks. It worked for… by kennethpiano
For your customized version you should rather not use the translations: you can't change them, except by changing the language MuseScore itself uses. And the translations for 3.x (and older) can't get modified anymore either, as the translation round for MuseScore 4 has begun a short while ago.
In reply to cool, thanks. It worked for… by kennethpiano
So when in that plugin you see
qsTranslate("InspectorAmbitus", "F")
, change it to just"Fa"
or "4" or whatever else you want thereIn reply to But rather a copy of that,… by Jojo-Schmitz
Fot that also better change
menuPath: "Plugins.Notes." + "Note Names"
tomenuPath: "Plugins.Notes." + "My Special Note Names"
or some such