lilypond-user
[Top][All Lists]
Advanced

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

Re: partcombine and multi-measure rests


From: Gilberto Agostinho
Subject: Re: partcombine and multi-measure rests
Date: Wed, 14 Oct 2015 11:41:30 -0700 (MST)

Something just crossed my mind and this works out well: by using \repeat
unfold N R1 we can solve this problem, as it creates N individual R1's
instead of enlarging a single one. For the lazy ones (like me), defining a
function \RN makes life even easier:

\version "2.17.95" 

RN = #(define-music-function 
            (parser location N) 
            (integer?) 
            #{ 
              \repeat unfold $N R1 
            #}
            ) 

{
  \RN 10
}



--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/partcombine-and-multi-measure-rests-tp182372p182375.html
Sent from the User mailing list archive at Nabble.com.



reply via email to

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