lilypond-user
[Top][All Lists]

## Re: Parallel notation and volta repeats

 From: Pierre Perol-Schneider Subject: Re: Parallel notation and volta repeats Date: Wed, 9 Jan 2019 11:36:46 +0100

Hi Vinicius,
HTH,
Pierre

Le mer. 9 janv. 2019 à 10:44, Vinicius Mascarenhas <address@hidden> a écrit :
Hey y’all, I’m trying to write music in parallel but the thing that’s always stopped me was that I can’t figure out how to use it with volta repeats. For example, I was thinking something like this:

\parallelMusic #'(voiceA voiceB)
{
\repeat volta 2 { \A
\repeat volta 2 { \C

\B }
\D }
}

Would produce the same as this:

voiceA = \repeat volta 2 { \A \B } }

voiceB = \repeat volta 2 { \C \D } }

But that’s not the case. The result is something crazy, and every minor change in the code explodes into something far too unexpected and unpredictable. So as an alternative, I’ve tried using \bar ":|."  but I’m really trying to stick to repeats that go beyond visual tweaking of a regular bar because I need numbered brackets, midi block with \unfoldRepeats and all. So I need Lilypond to actually know this is a genuine repeat.

So are parallel notation and true volta repeats simply incompatible with each other due to the linear way Lilypond reads code? Or am I missing something that makes them work together?