Modifying Note Names to identify notes in different octaves
Hi all
I've been trying to modify the Notes Names plugin so that I can assign numbers to notes, however for this instrument in question, I'd like to identify notes that are an octave apart. So for example, a low C might have the number 1 assigned to it, but a higher C might have a 1* assigned to it. I've modified the plugin so that it's numbered but the A is assigned the same number regardless of where it is on the staff. Does each note have an id by any chance, that would help me achieve this?
Thanks
D
Comments
Each note has a pitch, divide it by 12 to get the octave.
In reply to Each note has a pitch,… by jeetee
Thanks!
This is how I do (I skipped some part of that function related to getting note head, accidentals, ...).
I put that in a note sub object (that I call
extname
, up-to-you to exploit that as you want)