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: Mark Stephen Mrotek
Subject: RE: Problem with repeats: stray bar line
Date: Tue, 5 May 2015 16:21:33 -0700

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:address@hidden 
Sent: Tuesday, May 05, 2015 2:57 PM
To: Mark Stephen Mrotek
Cc: address@hidden
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 <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
> 




reply via email to

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