Re: Multiple context NoteNames

2019-09-17 Thread Jay Vara
Wow! Fantastic! Thanks Aaron! -- Sent from: http://lilypond.1069038.n5.nabble.com/User-f3.html ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user

Re: Multiple context NoteNames

2019-09-17 Thread Aaron Hill
On 2019-09-17 5:52 am, Aaron Hill wrote: myNoteNamesWithOld = #(lambda (grob) (let* ((default-name (ly:grob-property grob 'text)) (new-name (assoc-get default-name newnames))) (ly:grob-set-property! grob 'text #{ \markup \override #'(baseline-skip . 1.5)

Re: Multiple context NoteNames

2019-09-17 Thread Aaron Hill
On 2019-09-17 3:20 am, Jay Vara wrote: Now, some of the student also want to see the names of notes C, D, E, F, G, A, B. Is there a way to show both the note names I have defined and the english note names? Ideally, one would be below the other. Simplest option is to just define another

Multiple context NoteNames

2019-09-17 Thread Jay Vara
I have defined alternate note names using the following method: newnames = #`(("c" . "S") ("d" . "R") ("e" . "G") ("f" . "M") ("g" . "P") ("a" . "D") ("b" . "N")) myNoteNames = #(lambda (grob) (let* ((default-name (ly:grob-property grob 'text)) (new-name (assoc-get