Well, in Lilypond we always try to represent the musical content appropriately, and contrary to what Steven suggested, the measure length doesn’t change here, only the second alternative ‘misses out one beat’ or starts at another measure position. So setting measurePosition is the way to go here. Although it /would/ be nice if Lily could do it right without explicitly telling her – but there are quite a few things we still have to teach her :-)

Concerning automatic language selection on the website: there is an explanation how to fix this on the bottom of every page. I hope it will help.

Yours, Simon

Am 05.05.2015 um 23:56 schrieb Tobias Braun:
Yes, it does, thank you!

But the docs tell me to use measureLength in some way. Is using 
measurePosition, as you suggested, just another way of doing the same thing? Or 
is my situation that much different from the docs so that a different property 
has to be modified?

Tobias


Am 05.05.2015 um 23:41 schrieb Mark Stephen Mrotek <carsonm...@ca.rr.com>:

Tobias:

Does this work?

\version "2.18.2"

\relative c' {
        \partial 4
        \repeat volta 2 { c4 | c c c c | c c c }
        \repeat volta 2 { d4 | d d d d | }
        \alternative { { e4 e e } {
          \set Timing.measurePosition = #(ly:make-moment 1/4)
          f4 f f } } }

Mark

-----Original Message-----
From: lilypond-user-bounces+carsonmark=ca.rr....@gnu.org
[mailto:lilypond-user-bounces+carsonmark=ca.rr....@gnu.org] On Behalf Of
Tobias Braun
Sent: Tuesday, May 05, 2015 2:07 PM
To: lilypond-user@gnu.org Group
Subject: Problem with repeats: stray bar line

Hi,

I have a weird problem with repeats that I just can't figure out. I've read
the docs and tried different things for hours now, to no avail. Here's my
minimal example:

%%%%%%%%%%%%%%%%%%%%%%%%%%

\version "2.18.2"

\relative c' {
        \partial 4
        \repeat volta 2 { c4 | c c c c | c c c }
        \repeat volta 2 { d4 | d d d d | }
        \alternative { { e4 e e } { f4 f f \bar "|." } } }

%%%%%%%%%%%%%%%%%%%%%%%%%%

Can anyone tell me why I get that stray bar line after the first note in the
second group of the \alternative expression?

Thanks,
Tobias


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


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

Reply via email to