lilypond-user
[Top][All Lists]
Advanced

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

Re: Fold out repeats with alternatives


From: David Kastrup
Subject: Re: Fold out repeats with alternatives
Date: Sat, 21 Jul 2012 18:22:02 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.1.50 (gnu/linux)

Johan Vromans <address@hidden> writes:

> David Kastrup <address@hidden> writes:
>
>> If you don't want the flow of notes interrupted, what will mark the
>> location where <some notes1> and <some notes2> are to be spliced in?
>
> That's why I used \repeat to illustrate:
>
>   \repeat unfold 2 {
>     big series of notes
>     \alternative { { some notes 1 } { some notes 2 } }
>     another series of notes
>   }
>
> It does interrupt the flow but in a way we are already familiar with.

Not really familiar.  You would need to change the normal repeat into
\repeat volta 2 {
  big series of notes
  \alternative { { some notes 1 } { some notes 2 } }
}

and how is
\repeat volta 2 {
  big series of notes
  \alternative { { some notes 1 } { some notes 2 } }
  another series of notes
}
supposed to look?

Mind you, the trailing \alternative is a pain in the parser and I'd not
mind moving it inside of the repeat, but it is not easy to design a good
non-unfolded look for trailing notes.

-- 
David Kastrup




reply via email to

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