lilypond-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Quick Repeats


From: Noeck
Subject: Re: Quick Repeats
Date: Tue, 18 Nov 2014 20:30:00 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.2.0

>> {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






reply via email to

[Prev in Thread] Current Thread [Next in Thread]