[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: \repeat unfold behavior
From: |
David Kastrup |
Subject: |
Re: \repeat unfold behavior |
Date: |
Thu, 04 Aug 2011 20:35:30 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) |
"Christopher R. Maden" <address@hidden> 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
Re: \repeat unfold behavior, Phil Holmes, 2011/08/04
Re: \repeat unfold behavior, Ralph Palmer, 2011/08/04