On Sun, Sep 16, 2012 at 8:01 PM, Christopher R. Maden <cr...@maden.org> 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.

_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to