>> {a4 r}*4
>>
>> Wouldn't be great?
> 
> I remember a discussion about this long time ago. A possible workaround
> is described in
> 
> http://lists.gnu.org/archive/html/lilypond-devel/2009-11/msg00362.html

That would have been my solution, too. With a recent version, you can
also write:

\version "2.18.2"

u = #(define-music-function (parser location times music) (number? ly:music?)
      #{ \repeat unfold $times $music #})

\u 4 { a4 r }

Cheers,
Joram




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

Reply via email to