"Christopher R. Maden" <cr...@maden.org> writes: > On 08/04/2011 01:21 PM, Patrick Karl wrote: >> I discovered that the \repeat unfold 2 in: >> >> \relative a' { \repeat unfold 2 {a' b c} } >> >> is not equivalent to: a' b c a' b c >> >> but rather to: a' b c a b c >> >> That surprised me. I have not been able to find any documentation in >> Notation about this behavior. > > The opposite would have surprised me; if my repeats climbed an octave on > every iteration, it would make life difficult. I’d run out of buttons > on my concertina pretty quickly. (-: > > Without delving into the internals, I have a very strong suspicion that > the notes are given their absolute pitch before the repeat is unfolded. > If you want to climb an octave with each iteration, you’ll need to > explicitly say so or write some kind of function.
blurb = {a' b c} \new Voice { \time 3/4 \relative a' { \blurb \blurb } \relative a' \repeat unfold 2 \blurb } The difference _is_ interesting. -- David Kastrup _______________________________________________ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user