lilypond-devel
[Top][All Lists]
Advanced

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

Re: Repeat alternative count


From: David Kastrup
Subject: Re: Repeat alternative count
Date: Mon, 31 Aug 2020 13:42:35 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

Christopher Heckman <christopher.heckman@asu.edu> writes:

> On Sun, Aug 30, 2020 at 11:59 AM David Kastrup <dak@gnu.org> wrote:
>>
>> Christopher Heckman <christopher.heckman@asu.edu> writes:
>>
>> > How about allowing modifying the syntax of \alternative to include the
>> > possibility of a number, which means to repeat that ending? This would
>> > look like
>> >
>> > \alternative {
>> >   { c1 }
>> >   1
>> >   { d1 }
>> >   1
>> >    }
>> >
>> > Which would be interpretted as: the 1st, 2nd, and 4th endings are c,
>> > and the 3nd  ending is d.
>>
>> That is already valid syntax and makes the first and second alternative
>> c1 and the third and fourth alternative d1 .
>>
>> Extending LilyPond syntax is not really a matter of arbitrarily
>> inventing something: a lot of stuff is already taken.
>>
>> --
>> David Kastrup
>
> If Lilypond already does this, it ought to be documented. (It isn't,
> not on the website anyway.)

It does something entirely different.  If it sees an isolated duration
in a sequential music expression, it creates a note event taking the
pitch from the previous note.

That is documented.

-- 
David Kastrup



reply via email to

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