lilypond-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Partial measure alignment at end of score


From: Nick Payne
Subject: Re: Partial measure alignment at end of score
Date: Fri, 25 Feb 2011 16:05:22 +1100
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.13) Gecko/20101208 Thunderbird/3.1.7

On 25/02/11 11:55, Ben Finney wrote:
Howdy all,

I'm writing a score that has a partial measure at the beginning and at
the end. LilyPond is complaining that the measure at the end fails its
bar check.

See the Known issues and warnings in the section of the Notation Reference on upbeats. \partial should only used at the start of a piece. You can use either Score.measureLength or Timing.measurePosition at the end:

\relative c' {
    \repeat volta 2 {
        \partial 8 c8 |
        c4 c c c |
        \set Score.measureLength = #(ly:make-moment 7 8) c c c c8 |
    }
}

\relative c' {
    \repeat volta 2 {
        \partial 8 c8 |
        c4 c c c |
        \set Timing.measurePosition = #(ly:make-moment -7 8) c c c c8 |
    }
}

Nick



reply via email to

[Prev in Thread] Current Thread [Next in Thread]