[Top][All Lists]

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

Re: TimeSignature with note in denominator

From: Flaming Hakama by Elaine
Subject: Re: TimeSignature with note in denominator
Date: Fri, 12 Nov 2021 19:21:29 -0800

> ---------- Forwarded message ----------
> From: Jean Abou Samra <>
> To: Kieren MacMillan <>, Flaming Hakama by
> Elaine <>
> Cc: LilyPond development <>, David Kastrup <
> Bcc:
> Date: Fri, 12 Nov 2021 23:49:13 +0100
> Subject: Re: TimeSignature with note in denominator

> Humans can tolerate ambiguity, computers can't.

I would argue that for well-designed systems,
you don't want ambiguity for humans, either.

> Assuming that I am wrong and it could actually
> work in lyric mode, how would you parse the
> following?
> \lyrics { \time 4/4 + {4}/8 }
> It is already valid syntax.
> Best,
> Jean

So, I guess for me this is a 2- or 3-part trick question.

The first is, how is the usage of \time different in lyrics than anywhere

Frankly, I was not aware that using \time inside lyrics was a thing.
What is the reason to use \time inside lyrics?
It is a suggested practice, is it the only way of doing certain things?

If it is interpreted differently in lyrics than elsewhere,
is that a pattern that we want to keep?

Or should we fix it so that it behaves the same in both contexts?

The second has to do with the example syntax.
I don't suppose it will change your use case,
but just to be clear, I was proposing it might be possible
to distinguish a number from a duration by using {}

So, for one thing, you used it in the numerator
where I was suspecting it would only ever appear in the denominator,
so it would be more like;

\lyrics { \time 4/4 + 4/{8} }

But really, that was just for doing a shorthand notation, I was not
formally proposing that syntax.

Rather, I was rather suggesting that it be used in the syntax of

\lyrics { \compoundTime #{{4 4) (4 {8})) }

I suspect that using {} to distinguish number from duration is still not
going to cut it in this usage, either.

But I suspect that there could be some other kind of way to modify either
the data type (number vs string?) of that denominator argument so that it
was clear which representation was intended.

Elaine Alt
415 . 341 .4954                                           "*Confusion is
highly underrated*"
Producer ~ Composer ~ Instrumentalist ~ Educator

reply via email to

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