lilypond-devel
[Top][All Lists]
Advanced

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

Re: Repeat alternative count


From: Dan Eble
Subject: Re: Repeat alternative count
Date: Mon, 7 Sep 2020 10:03:25 -0400

On Aug 29, 2020, at 13:34, Aaron Hill <lilypond@hillvisions.com> wrote:
> 
> On 2020-08-29 9:02 am, Dan Eble wrote:
>> On Aug 29, 2020, at 10:06, Kieren MacMillan
>> <kieren_macmillan@sympatico.ca> wrote:
>>> Hi all,
>>>> On Aug 29, 2020, at 10:00 AM, Aaron Hill <lilypond@hillvisions.com> wrote:
>>>> %%%%
>>>> \repeat volta 5 {
>>>> ...
>>>> }
>>>> \alternative 1,3 {
>>>> ...
>>>> }
>>>> \alternative 2,4,5 {
>>>> ...
>>>> }
>>>> %%%%
>>> That's pretty nice.
>>> K.
>> Considering trying not to stray too far from the current syntax,
>> what's your opinion of this?
>>    \repeat volta 5 {
>>      …
>>    } \alternative {
>>      \volta 1,3 { … }
>>      \volta 2,4,5 { … }
>>    }
> 
> Ah, of course.  I forget that \alternative only occurs once and has nested 
> music inside it.  If it were called \alternatives (plural), I'd probably get 
> it right for once.

You might be interested in the proposed \volta regression tests at 
https://gitlab.com/lilypond/lilypond/-/merge_requests/386#note_408536934 .  Use 
within \alternative{} seems to work fine, but there are some rough edges in 
other cases.
— 
Dan




reply via email to

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