lilypond-user
[Top][All Lists]

## Re: Parallel notation and volta repeats

 From: Paolo Cantamessa Subject: Re: Parallel notation and volta repeats Date: Wed, 9 Jan 2019 13:27:03 +0100

Hi Vinicius,
other solution can be:

%enter first part
\parallelMusic #'(A B) \relative c'' {
c4 c g' g a a g2 f4 f e e d d c2 |
c,4 c' e c f c e c d g, c g b g c c, |
}

%make repeat for first part
AA = \repeat volta 2 \A
BB = \repeat volta 2 \B

%enter second part
\parallelMusic #'(A B) \relative c'' {
g'4 g f f e e d2 g4 g f f e e d2 |
e4 g, d' g, c g b g e' g, d' g, c g b g |
}

%make repeat for second part and merge with first part
AA = { \repeat volta 2 \AA \repeat volta 2 \A }
BB = { \repeat volta 2 \BB \repeat volta 2 \B }

\score {
<<
\new Staff \AA
\new Staff \BB
>>
}

 Sender notified by Mailtrack 09/01/19, 13:26:10

Il giorno mer 9 gen 2019 alle ore 13:10 David Kastrup <address@hidden> ha scritto:

> Hey y’all, I’m trying to write music in parallel
> <http://lilypond.org/doc/v2.18/Documentation/notation/multiple-voices#writing-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
> <http://lilypond.org/doc/v2.18/Documentation/notation/long-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.

Try just a single \repeat volta.  For more detailed answers, try
actually including working code
<http://lilypond.org/tiny-examples.html>.

--
David Kastrup

_______________________________________________
lilypond-user mailing list