[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Bar check fail with pick-ups in repeats
From: |
Nathan |
Subject: |
Re: Bar check fail with pick-ups in repeats |
Date: |
Sun, 16 Sep 2012 22:02:14 -0700 |
On Sun, Sep 16, 2012 at 8:01 PM, Christopher R. Maden <address@hidden> wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Why does the attached file fail?
>
> Simplified:
>
> c c c c | c c c |: c | c c c c | 1. c c c :| 2. c c c c | c c c c ||
>
> It seems to me, according to what (I recall that) I learned throughout
> school, that this is correct; and when unfolded, all the bar lines are
> fine. So why does LilyPond complain about this? (Specifically, that
> at the end of the first bar of the 2nd ending, the bar is 3/4 complete.)
>
> It appears that the incomplete bar in the first alternative is
> carrying over into the second, which is nonsensical.
>
> I’ve tried playing around with various combinations of \partial, but
> can’t seem to get anything to work right. Any suggestions would be
> most welcome.
>
> Thanks,
> Chris
Is this what you want?
\version "2.12.3"
\new Staff <<
\time 4/4
\relative c' {
c c c c | c c c
\repeat volta 2 {
c | c c c c |
}
\alternative {
{
\set Timing.measureLength = #(ly:make-moment 3 4)
c c c
}
{
\set Timing.measureLength = #(ly:make-moment 4 4)
c c c c |
}
}
c c c c \bar ".|"
}
>>
See
http://lilypond.org/doc/v2.16/Documentation/notation/long-repeats#normal-repeats
for more information.
Re: Bar check fail with pick-ups in repeats, Keith OHara, 2012/09/17