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:24:31 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.6.0

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 <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]