lilypond-user
[Top][All Lists]
Advanced

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

Re: elementary macro problem


From: caagr98
Subject: Re: elementary macro problem
Date: Fri, 21 Jul 2017 19:08:27 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.2.1

How about \repeat volta 2 { c1 d1 e1 \alternative {{d1} {f1}} }? IMO, that makes more sense both syntactically and semantically - the way I see it, that example is four measures repeated, with the last measure being different. With the current syntax, it's three measures repeated, and... wtf is going on there at the end? It doesn't make sense.

That would also allow support for volta brackets in the middle of a repeat without fiddling with repeat-commands, and would allow it to work with \unfoldRepeats as well. I can't say I've ever seen that notation in the wild, but its meaning is rather obvious IMO, and either way, flexibility is usually a good thing.

The only problem I see with that syntax would be placing the repeat barline correctly between the last volta brackets, but there are far more complicated pieces of magic already. There's also the problem of backwards compatibility to consider. I don't know what Lilypond's stance is on that.

On 07/21/2017 04:36 PM, David Kastrup wrote:
Basically, to give \repeat the kind of pliability that music functions
enjoy, one would need to come up with different syntax/semantics for
alternatives.



reply via email to

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