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: lilypond-user-bounces+carsonmark=ca.rr....@gnu.org 
[mailto:lilypond-user-bounces+carsonmark=ca.rr....@gnu.org] On Behalf Of 
s.p.korzil...@gmail.com
Sent: Wednesday, September 30, 2015 6:22 AM
To: lilypond-user@gnu.org
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

_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to