On 22.12.2016 00:51, Thomas Morley wrote:
hold = #(define-music-function (note) (ly:music?)
      #{
        \withMusicProperty #'duration ##{ \breve #}
        $note
      #})

Wow! Always so much to discover in LilyPond :-)
And look how much the function definition can be simplified:

hold = #(define-music-function (note) (ly:music?)
          (withMusicProperty 'duration breve note))

Though maybe it’s less confusing as

hold = #(define-music-function (note) (ly:music?)
          (withMusicProperty 'duration (ly:make-duration -1 0) note))


Best, Simon

_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to