lilypond-user
[Top][All Lists]
Advanced

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

Re: Problem with repeats: stray bar line


From: Simon Albrecht
Subject: Re: Problem with repeats: stray bar line
Date: Wed, 06 May 2015 00:26:36 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.6.0

And, an obvious point: If you modify measureLength, you’d have to modify it again after the second alternative, else all following music (if there were any) would go on with 3/4 time (without a printed change of TimeSignature!).

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 <address@hidden>:

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: address@hidden
[mailto:address@hidden On Behalf Of
Tobias Braun
Sent: Tuesday, May 05, 2015 2:07 PM
To: address@hidden 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
address@hidden
https://lists.gnu.org/mailman/listinfo/lilypond-user




reply via email to

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