lilypond-user
[Top][All Lists]
Advanced

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

Re: Multiple Endings Problem


From: Thomas Morley
Subject: Re: Multiple Endings Problem
Date: Fri, 2 Jan 2015 12:06:50 +0100

2015-01-02 10:34 GMT+01:00 Hans Aberg <address@hidden>:
>
>> On 2 Jan 2015, at 02:36, William Marchant <address@hidden> wrote:
>>
>> I am using the code below to set up two different endings for a song.  The 
>> code shown automatically puts
>> a Repeat Start bar line at the beginning of  of Bar 29.  I would like to 
>> suppress it but can only do so with a Tick Bar Line.  This looks a bit odd. 
>> No other Bar Line seems to work.  Is there a method for what I want to do?
>> Bill
>>
>> \repeat volta 2 {bf'8~ bf a a g4( f)| } %Bar 29
>>  \alternative{ { c2 e4( g4) |f1 |  r2 r4 g8( f) \bar ":|."} %Bar 30 31  32
>>                {c2 e4( d' | c1) |c4( c bf) a( |
>>                 c4. bf8 a4 bf)} %Bar 33 34 35 36
>>  }
>
> There may be a bug: with some bars added ahead, one should be able to use 
> \bar "|", but it still typesets \bar ".|:". One can use \bar "", though.
>
> The \bar ":|.” above is unnecessary. Also, if the \repeat volta does not 
> encompass all music repeated, \unfoldRepeats will not expand MIDI correctly.



\version "2.19.15"

\language "english"

\relative c' {
c1
\once \set Staff.whichBar = #"|"
\repeat volta 2 {  bf'8~ bf a a g4( f)| } %Bar 29
  \alternative{ { c2 e4( g4) |f1 |  r2 r4 g8( f) } %Bar 30 31  32
                {c2 e4( d' | c1) |c4( c bf) a( |
                 c4. bf8 a4 bf)} %Bar 33 34 35 36
  }
}

-Harm



reply via email to

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