P. Kayex wrote:
I start with a partial and I have a volta 2 section (with no alternate) and the next bar after the repeat is 'measured' correctly from the preceding bar. However in the next section where there is an alternate volta section, the bar after the first repeat is broken incorrectly (as I see it) and I get a bar check failure. I am expecting it to put a bar before the last dotted minim.

Hi, Pete,

the semantics for repeats with upbeats are explained in

http://lilypond.org/doc/v2.13/Documentation/notation/Long-repeats#Normal-repeats

In essence, you need the following layout (note the positions and durations of the \partials):

TrumpetUpper = {
  \key f \major
  \time 2/2
  \partial 4
  \repeat volta 2 { c4 | c c c c | c r r }

  \repeat volta 2  { a | a a a a | a a a a }
  \alternative {
    { | g g g g | \partial 2. g g g }
    { | f f f f | f f f }
  }
  e | e e e
}

\score {
  \new Staff \relative c'' { \TrumpetUpper }
}


Cheers,
Alexander


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

Reply via email to