Tobias:

My understanding, which is certainly limited, is that Lilypond reads the
first alternate ending and sees only three beats and assumes that the second
alternate starts (read not played) with the fourth beat. Again a case when a
human performer is smarter than a computer!
So we have to tell Lily that the second alternative starts on the first of
four (that's where the 1/4 comes in) beats.

Mark

-----Original Message-----
From: Tobias Braun [mailto:lists.tob...@braun-abstatt.de] 
Sent: Tuesday, May 05, 2015 2:57 PM
To: Mark Stephen Mrotek
Cc: lilypond-user@gnu.org
Subject: Re: Problem with repeats: stray bar line

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

Reply via email to