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 16:27:32 -0700

Stan,

 

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

  }

}

 

Mark

 

From: address@hidden [mailto:address@hidden On Behalf Of address@hidden
Sent: Wednesday, September 30, 2015 6:22 AM
To: address@hidden
Subject: Repeat with alternatives

 

Dear Sir / Madam,

 

I’m trying to write a piece that has repeats with alternatives. It seems that “\repeat volta 2” is the way to go with supplying the alternatives in “\alternative”. However, this seems to work only for alternative endings, while I have alternative middle parts.

 

I have tried to fix this manually with introducing volta brackets and repeat signs. Unfortunately Lilypond doesn’t recognize this as a repeat and counts the notes of the alternatives as if they are all played in one run (so that the first note after the alternatives does not start a new measure, as it should, see attachment).

 

Hope you can help me.

 

Kindest regards,

 

Stan Korzilius


reply via email to

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