lilypond-user
[Top][All Lists]
Advanced

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

Re: Quick Repeats


From: Marcos Press
Subject: Re: Quick Repeats
Date: Tue, 18 Nov 2014 16:42:41 -0300

Thanks.

Seams the way would be to just use the macro :) which its a great one ;)

2014-11-18 16:30 GMT-03:00 Noeck <address@hidden>:
>> {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
address@hidden
https://lists.gnu.org/mailman/listinfo/lilypond-user


reply via email to

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