lilypond-user
[Top][All Lists]
Advanced

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

Re: Repeat with alternatives


From: Richard Shann
Subject: Re: Repeat with alternatives
Date: Sat, 03 Oct 2015 09:43:37 +0100

On Fri, 2015-10-02 at 22:47 -0500, David Wright wrote:
> > > > Would this be understood by the average musician?
> > > > 
> > > >    |: fixed part 1 |1 alterrnative 1 |2 alternative 2 | fixed
> part 2 :|
> > > 
> > > Understood? Well "my" attached "partial solution" (which I've
> > > completed only by using inkscape)
> > 
> > Did you resort to inkscape to get the because you wanted an
> > end-of-second-time marker? LilyPond doesn't give one with this
> syntax
> 
> Absolutely. Earlier in the thread I wrote: "However, my partial
> solution fails to close the 2nd alternative's volta bracket, and I
> don't see any way of doing so. Perhaps someone more expert could help
> there with some sort of tweak." 

I thought I was missing the point :) this gets closer

\version "2.19.25"
{
a'8 b' c' e' c'2
a'4 b' 
\set Score.repeatCommands = #'((volta "1"))
d'4 g' 
\set Score.repeatCommands = #'((volta #f)) 
\set Score.repeatCommands = #'((volta "2"))
\set Timing.measurePosition = #(ly:make-moment -1/2) d'8 e' f' g' 
\set Score.repeatCommands = #'((volta #f))
%\once \hide  BarLine 
\once \override Score.BarLine.stencil = ##f  
\bar ":|."        
\grace {s8}   \bar "|"
d''4 c'' b' a'
%5
a' b' c'' d'' \bar ":|."}

but the spacing looks suspicious to me ...
The commented out \hide command didn't work, that I don't understand.

Richard








reply via email to

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