lilypond-user
[Top][All Lists]
Advanced

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

Re: arbitrary repeat counter


From: David Kastrup
Subject: Re: arbitrary repeat counter
Date: Mon, 06 Jun 2022 15:10:26 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux)

Wols Lists <antlists@youngman.org.uk> writes:

>> What do you mean? Something like
>> \relative {
>>    \repeat unfold 2 { c' g' }
>> }
>> gives the attached output. As you can see, notes are made
>> relative in order without taking the repeat into account,
>> so both repeats play at the same octave. This is not
>> equivalent to
>> \relative {
>>    c' g' c' g'
>> }
>> 
> Ah. So now if you do a relative repeat, the contents of the braces are
> converted to absolute before the unfold? That's neat.
>
> It never used to be like that, Han Wen wrote that "reset octave"
> thingy for me yonks ago (2.4?) because I ran in to that very problem.

Unfolded repeats worked via an iterator (and thus were not having the
\relative problem since the music is not being duplicated) as early as
1.5.66 whereas the first occurence of resetRelativeOctave appears to be
2.9.8.

You probably were thinking about a different problem.

-- 
David Kastrup



reply via email to

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