Improving Plugin "Color Notes"
Hi there.
The actual plugin Plugin "Color Notes" only allows the score to have a fixed standard color set, i.e. C is always red, E is always yellow, etc.
However, Finale allows you to change the color as you wish.
Actually, I know a composer who argues that E has this violet color, basing on a theory of equivalency of frequency, which means that if A is 440 hz or 880 hz or 1760 hz, the color correspondent is the light frequency that will match an A octave. This means that if we follow this theory, the sound frequency for A correspond to the same frequency of the color yellow.
Anyway, the colors are nice for me to train my students who are playing C Clef ( I am a cello teacher ) - So it saves the time when they write the name of each note to not get lost in the reading.
Thank you.
Comments
You can change the colors by editing the plugin.
Having this as a full feature in the plugin would require a GUI, possible, but quite some programming work.
In reply to You can change the colors by… by Jojo-Schmitz
how can an average user edit the plugin? with the current sotware You can't change the colors
In reply to how can an average user edit… by Danilo Chaib
It is a plain text file, you can edit it with notepad. Or even with MuseScore‘s plugin editor. Only difficulty is encoding the colors, but there resoucres in the web to help with this.
In reply to It is a plain text file, you… by Jojo-Schmitz
thanks but,,, I am a cello player/teacher not a software developer - I have no idea how to do this - I thought this forum was made for requesting stuff you are in the need, not for me to make it through.
I thought it was made for request the feature and then one will get in the next version.
I mean, I know there are lot of wise tech guys around, but unfortunately I am not having this knowledge, apparently.
In reply to thanks but,,, I am a cello… by Danilo Chaib
Sure, some day some developer may come along and find this usefull and worth his time and implements such a color picker gui for this plugin.
But it really doesn't take a software developer to edit a text file to change a couple words.
If you can not, attach a score here with a scale you colored to your needs and I'll change the plugin to create these colors.
In reply to Sure, some day some… by Jojo-Schmitz
wow, thank you. I am attaching a scale now. Would this plugin be able to work on my musescore 2?
In reply to Sure, some day some… by Jojo-Schmitz
there you go, hope this will help
In reply to Sure, some day some… by Jojo-Schmitz
basically I want to make G yellow, and the other notes consequently following the pattern
In reply to basically I want to make G… by Danilo Chaib
I need a score, not Images.
Edit: Ah, these Images should do, they show the RGB values Just fine.
In [[https://github.com/musescore/MuseScore/blob/master/share/plugins/colorn…|lines 23-28 of that plugin]] there is an array of 12 hexadecimal RGB color codes, 1st element for C, 2nd for C#/Db, 3rd for D, etc.
For C this is "#e21c48", ("#rrggbb") as per the images you want decimal 91, 87, 166, this is hex 5b, 57, a6, so results in "#5b57a6", the other values change following this pattern.
You can ease the calculation by using MuseScore color picker, which does create thet "#rrggbb" string for you:
Let me know whether the attached qml file fits your needs
In reply to You can change the colors by… by Jojo-Schmitz
Hi.
Your advice is exactly what I need. I understood the principle but I cannot open the file. Please help me edit the plugin. I wrote all the necessary colors. Some of them are the same and this should be so. Many thanks for the help and advice.
In reply to Hi. Your advice is exactly… by Helen-kat
Can't open the file? And decent text editor can, also the plugin editor within MuseScore
In reply to Can't open the file? And… by Jojo-Schmitz
I opened it in a TXT format, but it’s difficult to edit. Now I opened through Musescore but it does not save changes. Then I created another plugin and put it in Musescore, but the color of the notes does not match what I need. I cannot understand where my mistake is. Please, help me solve the problem.
I need this
"#00d100", // C
"#00d100", // C#
"#ffff00", // Db
"#ffff00", // D
"#ffff00", // D#
"#026cc8", // Eb
"#026cc8", // E
"#fda900", // F
"#fda900", // F#
"#fa1000", // Gb
"#fa1000", // G
"#fa1000", // G#
"#b30ec8", // Ab
"#b30ec8", // A
"#b30ec8", // A#
"#919cb4", // Bb
"#919cb4" // B
In reply to I opened it in a TXT format,… by Helen-kat
No idea what your problem with editing this yourself is...
The attached is a copy of the one further up in this thread, and only works for MuseScore 2
In reply to No idea what your problem… by Jojo-Schmitz
and this here is for MuseScore 3
In reply to I opened it in a TXT format,… by Helen-kat
my new file
In reply to my new file by Helen-kat
A MuseScore 3 version. Should work there
In reply to A MuseScore 3 version… by Jojo-Schmitz
Thank you. Your file is the same as mine. But this also does not work ((( I would like to open any file from Musescore and in one click to make the color score. I can show the colors I need in the attached file. It seems to me I wrote everything correctly, but it does not work.
In reply to Thank you. Your file is the… by Helen-kat
Did you install and activate this plugin? And deavtivated the one with the same name that is part of MuseScore?
In reply to Did you install and activate… by Jojo-Schmitz
I even deleted old files from the folder "plugin" in Musescore. I left only the one you sent me. But I still see them in the plugin management section. But they are not active there, they are without a tick. What does it mean to activate? tick it?
In reply to I even deleted old files… by Helen-kat
Yes
In reply to Yes by Jojo-Schmitz
I did it. Only C in the right place (green) But D and E have the same color (yellow) And the rest notes are out of place
In reply to I did it. Only C in the… by Helen-kat
Of course. You invented pitches that don't exist. That plugin doesn't make a distinction between C# and Db or D# and Eb or F# and Gb or A# and Bb. There are just 12 different semitones available for
note.pitch
, your array has 17.Instead of
note.pitch
it probably needs to pick onnote.tpc
, tonal pitch class, check https://musescore.org/en/handbook/developers-handbook/plugin-developmen…, there are 35 of them (including ## and bb)In reply to Of course. You invented… by Jojo-Schmitz
Wow!!. It is interesting. This is a bit against the logic of music. The difference between C# and Db is very important. I'll think about how to get out of this situation. Perhaps they will stay black. Many thanks for helping me.
In reply to Wow!!. It is interesting… by Helen-kat
OK here is the tpc version for everyone :).
No need to specify Sharp or Flats, the plugin sets itself.
If you want to change colors: Just set the basic note colors in the first section.
Notice: The file "_test-colorNotes.mscz" doesn't contain coloring. This file is designed to test the plugin. And it contains all the sharps and flats and some dotted notes and a few grace notes.
In reply to OK here is the tpc version… by Ziya Mete Demircan
Incredible! How did you do it? ))))) Thank you very much. First I created my three plugins and then I saw your message. Of course, I will use your plugin. This is much more convenient than my three :) Thanks again!
In reply to Incredible! How did you do… by Helen-kat
I think I'm good at changing things.
I added Plugin to the plugin download page. https://musescore.org/en/project/colornotestpc
Download the zip there. There are good explanations in the text file.
I wish you successful work. 🎵
In reply to I think I'm good at changing… by Ziya Mete Demircan
You are really dood. :) Thank you.
In reply to I think I'm good at changing… by Ziya Mete Demircan
Greetings. Since this .qml file uses tonal pitch class, does it mean that I can't change the colors of C# or C flat? My goal is to produce colors in the attached color scheme. Thank you for your help.
In reply to Greetings. Since this .qml… by abarim
Sorry, you cannot use 12 different colors / notes in this plug-in.
Just basic 7 notes. And accidentals are calculated automatically.
This plug-in has been adapted to solve the problem in this topic.
(In fact, there are 35 different note definitions in tpc, not just 12.)
And what you want to do is on the wrong basis. (according to the image you added)
These are Major and Minor tones, aren't separate notes.
For example, what color should the note "Ax" be in the G#-minor?
and the difference between "A" and "Ab" is defined by color, but what color should be "A#"?
( I'd appreciate it if you just answered it according to the image you added, without adding anything new..)
In reply to Sorry, you cannot use 12… by Ziya Mete Demircan
Basicly, I would like to do the same thing that Danilo Chaib did, but with different colors.
Sorry, you cannot use 12 different colors / notes in this plug-in.
Just basic 7 notes. And accidentals are calculated automatically.
This plug-in has been adapted to solve the problem in this topic.
(In fact, there are 35 different note definitions in tpc, not just 12.)
And what you want to do is on the wrong basis. (according to the image you added)
These are Major and Minor tones, aren't separate notes.
Answer: yes I see your point. I wasn't very clear about it. In this colored circle of fifth graph, the tone color is the same as the note color.
For example, what color should the note "Ax" be in the G#-minor?
Answer: Ax color stays the same in every major and minor scale, Ax color is tan or "red EA green C0 blue 30."
and the difference between "A" and "Ab" is defined by color, but what color should be "A#"?
Answer: In this colored circle of fifth graph, the tone color is the same as the note color. I know it's note the same note, but in this graph, the color of A# is the same as that of Bb, purple, or B flat "red 89 green 44 blue 9D."
( I'd appreciate it if you just answered it according to the image you added, without adding anything new..)
Answer: thank you for trying to help me out. I really appreciate that.
C FA 06 06
G E6 5B 34
D F9 7A 07
A EA C0 30
E FA F8 07
B 27 F5 0C
F# 52 9E 44
C# 2C A6 CF
A flat 06 0B FA
E flat 36 18 94
B flat 89 44 9D
F FA 6A DC
In reply to Basicly, I would like to do… by abarim
What I am trying to achieve is to follow the color convention in this video.
https://www.youtube.com/watch?v=Viue81moXis
In reply to Basicly, I would like to do… by abarim
According to your definitions, here's your plugin:
I hope it helps.
In reply to According to your… by Ziya Mete Demircan
Thank you so much. This is exactly what I was trying to do but couldn't. You are a genius. Thank you so much. I really appreciate it. :)
In reply to OK here is the tpc version… by Ziya Mete Demircan
Ziya - are you able to assist with this? Thanks if you can?!
https://musescore.org/en/node/359726
In reply to Ziya - are you able to… by TaptapR
What's wrong with the regular color notes plugin, the one that comes with MuseScore?
In reply to What's wrong with the… by Jojo-Schmitz
Hello Jojo - The notes I have been learning have been given different colours compared to the ones that come with the regular colour notes plugin. I've been unable to find how I can successfully change the colours in that plugin despite many attempts.
In reply to Wow!!. It is interesting… by Helen-kat
Maybe against the logic of Music, but not against that of MIDI. These pitches are identical (enharmonic), there are just 12 different pitches in an octave
In reply to Maybe against the logic of… by Jojo-Schmitz
I did it!!!!! :) I created 3 plugins. One for tonality without signs C_dur and A_ moll. One only for sharp tonality and one only for flat tonality. Everything is working. I switch between plugins when it is necessary
Thanks again for the tips and help.
In reply to Thank you. Your file is the… by Helen-kat
Cbb, Cb, C, C# and C## are different TPCs
0 Cbb
7 Cb
14 C
21 C#
28 C##
In reply to Cbb, Cb, C, C# and C## are… by Jojo-Schmitz
5x7=35
😎😋😇
thank you!
So it does now what you need?
Thank you, yes, but I will report some limitation I've found: for some reason, it only "paints" the notes. Once I get the notes "painted", if I change some note , the color will be the same as it was. For example, if I did the plugin at the score I sent last comment, and then put all the notes of the first bar in G, I will have the original colors. To sum up, colors did not follow the "pitch" after applying the plugin. I think the original plugin has the same limitation, but I only have noticed now as I was testing it with yours. Thank you again!!
That is not a bug, but by design. To have what you want, the coloring would need to get integrated into the code rather than being a plugin.
Just run the plugin again and twice (and on the same selection), once to turn everything black and again to color to the current pitches
In reply to That is not a bug, but by… by Jojo-Schmitz
Hi Jojo-Schmitz,
I've tried to change the plugin this time to A=yellow
I did:
property variant colors : [
"#5b57a6", // D
"#9665ab", // D#/Eb
"#ee4d9b", // E
"#e21c48", // F
"#f37021", // F#/Gb
"#f99d1c", // G
"#ffcc32", // G#/Ab
"#fff32b", // A
"#d5e15b", // A#/Bb
"#62bb46", // B
"#009c13", // C
"#0077c0" // C#/Db
but something went wrong, as G still remained yellow
Can you help me?
Thank you
In reply to Hi Jojo-Schmitz,… by Danilo Chaib
Never Mind! I found it!
I did
And it worked!!
Thank you again!!!
In reply to Never Mind! I found it!… by Danilo Chaib
how did you do it? I can't specify the colors for semitones.By semitones, I mean sharp and flat.
here are my goals
red green blue
C FA 6 6
G E6 5B 34
D F9 7A 7
A EA C0 30
E FA F8 7
B 27 F5 C
F# 52 9E 44
C# 2C A6 CF
A flat 6 B FA
E flat 36 18 94
B flat 89 44 9D
F FA 6A DC
In reply to Never Mind! I found it!… by Danilo Chaib
Could you explain to me how you did it? I would like to do the same. but with my own colors.
red green blue
C FA 06 06
G E6 5B 34
D F9 7A 07
A EA C0 30
E FA F8 07
B 27 F5 0C
F# 52 9E 44
C# 2C A6 CF
A flat 6 B FA
E flat 36 18 94
B flat 89 44 9D
F FA 6A DC
In reply to Hi Jojo-Schmitz,… by Danilo Chaib
You wrote: I am a cello player/teacher not a software developer
That's no longer true ;-)
Nice job.
Regards.
In reply to Hi Jojo-Schmitz,… by Danilo Chaib
G still remained yellow.
(Probably the other notes did not change, as well.)
It is the array of RGB values that matters, not the names of the pitches. The note names serve as a guide for humans. Double slashes are the tipoff. The first value in that array is for note C - even if you happen to write 'D' (or anything else) there.
Regards.