Urs Liska <[email protected]> writes:

> If someone might want to have a second look at the actual code it's
> (currently) in
> https://github.com/openlilylib/snippets/blob/just-intonation-stub/notation-snippets/just-intonation/definitions.ily,
> towards the end where it reads "(append (color-music col) ..."

Well, obviously you could just write

#{ #@(color-music col) $pitch $duration -#(format "~@f" cent) #}

instead of

    (make-music
     'SequentialMusic
     'elements
     (append
      (color-music col)
      (list
       (make-music
        'NoteEvent
        'articulations
        (list (make-music
               'TextScriptEvent
               'text (format "~@f" cent)))
        'pitch pitch
        'duration ji-duration))))

And it would likely result in somewhat better point-and-click behavior
out of the box (of course, one can fix the above make-music calls for
the same effect if it's a matter of professional pride).

-- 
David Kastrup

_______________________________________________
lilypond-user mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to