[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: bar in incorrect place when using \partial and \alternate volta repe
From: |
Alexander Kobel |
Subject: |
Re: bar in incorrect place when using \partial and \alternate volta repeats |
Date: |
Mon, 30 Nov 2009 20:49:01 +0100 |
User-agent: |
Thunderbird 2.0.0.23 (X11/20090817) |
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