lilypond-user
[Top][All Lists]
Advanced

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

RE: Repeat with alternatives


From: Mark Stephen Mrotek
Subject: RE: Repeat with alternatives
Date: Thu, 1 Oct 2015 19:02:42 -0700

David,

Thank you for the information.
My answer was determined by the version used.

Mark

-----Original Message-----
From: David Kastrup [mailto:address@hidden 
Sent: Thursday, October 01, 2015 6:34 PM
To: Mark Stephen Mrotek <address@hidden>
Cc: address@hidden; address@hidden
Subject: Re: Repeat with alternatives

"Mark Stephen Mrotek" <address@hidden> writes:

> Lilypond does handle mid-measure repeats, you just have to tell it that it
is mid-measure:
>
>  
>
> \version "2.18.2"
>
> \score {
>
>   \new Staff {
>
>     \time 4/4
>
>                 \repeat volta 2 {
>
>                 a'8 b' c' e' c'2
>
>                 a'4 b' }
>
>                 \alternative {
>
>                 {d' g'}
>
>                 {\set Timing.measurePosition = #(ly:make-moment -1/2)
>
>                   d'8 e' f' g'}}
>
>                 d''1
>
>   }
>
> }

Actually, with current developer versions the above works just fine even
without meddling with Timing.measurePosition in any manner.  That was issue
355, fixed in version 2.19.0 (though there were a few additional fixes
later) in November 2013.

--
David Kastrup




reply via email to

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