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. 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?

Thanks in advance :)
- Vinicius
_______________________________________________
lilypond-user mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to