Mr. Bailey,

 

Again thank you for your detailed suggestions. I "opened" both of them and
the second appeared closer to what I want. In addition your
commentary/explanation got me to ask "What if?" So I tried a few other
things and came up with the attached snippet.

 

As a teacher I appreciate what you have done to help me, a learner.

 

Mark

 

From: bina...@gmail.com [mailto:bina...@gmail.com] On Behalf Of Simon Bailey
Sent: Sunday, September 08, 2013 11:30 AM
To: Mark Stephen Mrotek
Cc: lilypond-user Mailinglist
Subject: Re: Extra Bar

 

hi,

 

On Sun, Sep 8, 2013 at 8:11 PM, Mark Stephen Mrotek <carsonm...@ca.rr.com>
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. 

\relative c'' {
  \time 3/4
  \set Timing.measurePosition = #(ly:make-moment -5/16)
  e16^\markup { \bold "Minuetto" } e8. e16 |
  \repeat volta 2 {
    e4 e e 
  }
  \alternative {
    { e4 r8. e16 e8. e16 | }
    { e4 r8 }
  }
  \repeat volta 2 {
  \key ees \minor
  bes8^\markup { \bold "Trio" } [ ges ees ] | 
  
  d4 d d }
}
  
_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to