lilypond-user
[Top][All Lists]
Advanced

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

Re: arbitrary repeat counter


From: Jean Abou Samra
Subject: Re: arbitrary repeat counter
Date: Mon, 6 Jun 2022 12:46:53 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.9.1

Le 06/06/2022 à 12:17, Wols Lists a écrit :
On 01/06/2022 18:03, Simon Bailey wrote:
Here's a weird one. Using this definition in the c,-octave, I get a
really weird output. Each note in the music drops down an octave. In
the c-octave, it works normally. Using the untagged version of
\repeatCounting doesn't show this issue in either octave.

Any ideas?

No ideas what's causing the difference in behaviour, but if you need to fix it, there's the "reset ocatave" command, whatever the exact syntax is.



I've already provided a fix for this code. Didn't you receive
that message? It's archived here:

https://lists.gnu.org/archive/html/lilypond-user/2022-06/msg00039.html


Specifically written for relative-mode repeats where the first and last notes are a fifth or more apart, and give you that exact effect ...


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'
}

Best,
Jean

Attachment: relative_repeats.png
Description: PNG image


reply via email to

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