lilypond-user
[Top][All Lists]
Advanced

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

Re: Repeat with alternatives


From: David Kastrup
Subject: Re: Repeat with alternatives
Date: Fri, 02 Oct 2015 03:33:37 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux)

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