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 suchwhat's the name of this plugin in MS 4.5.1 ?
I use fedora linux, and can't seem to find anything w note_names, notenames, 'note names' on my
/home/MYUSER/.local/share/MuseScore/MuseScore4
> find . -type f ( -name "name" -o -name "note" )
also inside the
/home/MYUSER/.local/share/MuseScore/MuseScore4/Plugins
i only have this dir "musescore_dynamicsactions"
My wish/goal is to tune the Bs into Hes
In reply to what's the name of this… by traditions
In the Plugin Manager
On windows in C:\Program Files\MuseScore 4\plugins\note_names\
Is this the official AppImage or something unsupported like FlatPak?
In reply to In the Plugin Manager … by Jojo-Schmitz
I'm using the AppImage , the plugin was pre-installed
In reply to I'm using the AppImage , the… by traditions
the filename is notenames.qml
In reply to what's the name of this… by traditions
There's also the version from https://musescore.org/en/project/note-names
(here the filename is note_names.qml)
In reply to There's also the version… by Jojo-Schmitz
yes, notenames.qml is the correct file.
I managed to disable the built-in Note Names plugin, and replaced it w the one from your github, which then can be edited and does the magic (B > H).
Thank you!
In reply to yes, notenames.qml is the… by traditions
There it should even be automatic, following the language setting of MuseScore
In reply to There it should even be… by Jojo-Schmitz
thanks for the note.
And good to know that both things work.