I'm unsure how to enter the following music:

                      ________     ________            ________    ________
                     [1.      ]   [2.                 [1.      ]  [2.
| x x x x | x x x x | x x x x :||: x x x x | x x x x | x x x x :|| x x x x |
     A         B         C            D         E         F           G

The correct order of performance/reading should be:
A B C A B D E F D E G

As you can see, the second repeat is part of the 2nd alternative of the first
repeat.  The logical way to enter this, at first glance, would be:

\version "2.12.1"
\repeat volta 2 { A B }
\alternative {
  { C }
  { \repeat volta 2 { D E }
    \alternative {
      { F }
      { G H I J ... }
    }
  }
}

but this seems very clunky, and in any case doesn't appear to work correctly. 
It generates the warning "already have a volta spanner, ending that one
prematurely".  Setting voltaSpannerDuration (to shorten the 2nd alternatives, as
illustrated above) generates the warning "cannot end volta spanner".

Am I simply doing this incorrectly? It seems like when the final alternative is
"go on to the rest of the piece", the rest of the piece shouldn't need to be
enclosed inside the \alternative, but this is the only (obvious) way to get the
volta bracket.



_______________________________________________
bug-lilypond mailing list
bug-lilypond@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-lilypond

Reply via email to