2016-12-22 0:34 GMT+01:00 Klaus Blum <benbigno...@gmx.de>:
> Attention,
>
> Thomas Morley-2 wrote
>> hold = #(define-music-function (note) (ly:music?)
>>      #{
>>        $note \breve
>>      #})
>
> produces two notes:
>
> $note    will exactly produce the note given as parameter,
> \breve    will add an additional breve with the same pitch.
>
> Cheers,
> Klaus


Sorry, I spoke too early.

How about:

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

Cheers,
  Harm

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

Reply via email to