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: Fri, 20 Jul 2012 20:45:15 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.1.50 (gnu/linux)

Johan Vromans <address@hidden> writes:

> Hi,
>
> Sometimes I feel the need to make life easier in situations like this:
>
>   <big series of notes> <some notes1> <another series of notes>
>   <big series of notes> <some notes2> <another series of notes>
>
> Something similar to:
>
>   \repeat unfold 2 {
>     big series of notes
>     \alternative { { some notes 1 } { some notes 2 } }
>     another series of notes
>   }
>
> It's not a big deal -- it's just that it would be handy.

bla = { <big series of notes> \tag #'here {} <another series of notes> }

\pushToTag #'here { <some notes1> } \bla
\pushToTag #'here { <some notes2> } \bla

-- 
David Kastrup




reply via email to

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