lilypond-user
[Top][All Lists]
Advanced

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

Re: Extra Bar


From: Simon Bailey
Subject: Re: Extra Bar
Date: Sun, 8 Sep 2013 20:29:41 +0200

hi,

On Sun, Sep 8, 2013 at 8:11 PM, Mark Stephen Mrotek <address@hidden> wrote:

At the end of the second alternative ending in the attached snippet an unwanted bar appears and disrupts the meter.

I have experimented with placing

\set Timing.measurePosition = #(ly:make-moment 3/8)
after the second alternative. Using it restores the meter. It does not remove the extra bar.

 

What other method should I try?


you have two possibilities:

first:
you have a partial upbeat, so you also have a partial first repeat bar. use the \set Timing.measurePosition in the first alternative like this:

<<<
\relative c'' {
  \time 3/4 
  \set Timing.measurePosition = #(ly:make-moment -5/16)
  \repeat volta 2 {
  e16 e8. e16 | e4 e e }
  \alternative {
    { 
      \set Timing.measurePosition = #(ly:make-moment -7/16)
      e4 r8. 
    }
    { 
      e4 r8 
      \key ees \minor
      bes8 [ ges ees ] |
    }
  }
   d4 d d |
}
>>>

however, you then have a key change in the middle of the second alternative. this is ugly. a more "correct" way of notating your example, avoiding partial bars after the first bar:

<<<
\relative c'' {
  \time 3/4
  \set Timing.measurePosition = #(ly:make-moment -5/16)
  e16 e8. e16 |
  \repeat volta 2 {
    e4 e e 
  }
  \alternative {
    { e4 r8. e16 e8. e16 | }
    { e4 r8 }
  }
  bes8 [ ges ees ] | 
  \key ees \minor
  d4 d d |
}
>>>  

regards,
sb
--
Do not meddle in the affairs of trombonists, for they are subtle and quick to anger.

reply via email to

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