lilypond-devel
[Top][All Lists]
Advanced

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

Re: TimeSignature with note in denominator


From: David Kastrup
Subject: Re: TimeSignature with note in denominator
Date: Sat, 13 Nov 2021 19:15:03 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

Aaron Hill <lilypond@hillvisions.com> writes:

> On 2021-11-13 7:15 am, Aaron Hill wrote:
>> It makes perfect sense that it could be generalized to accept any
>> music.
>
> Continuing my trend for hastily written/researched code, consider the
> attached.  There is almost certainly an easier way of doing things,
> and who knows what I have broken in the process.
>
> For reference, here is what the user would be able to do:
>
> %%%%
> \fixed c' {
>   \time 3/4                  | g4 a b
>   \time 7/8                  | g4 a b8 a b
>   \time \kieren 5 8          | g4 a8 b a
>   \time \kieren 3 4.         | g4 a8 b4. a
>   \time \kieren 2 { 8[ 8.] } | g4 a16 b a b8.
>
>   \bar "||"
>   \break
>
>   \override Score.TimeSignature.style = #'kieren
>
>   \time 3/4                  | g4 a b
>   \time 7/8                  | g4 a b8 a b
>   \time \kieren 5 8          | g4 a8 b a
>   \time \kieren 3 4.         | g4 a8 b4. a
>   \time \kieren 2 { 8[ 8.] } | g4 a16 b a b8.
>
>   \bar "|."
> }
> %%%%
>
> Cosmetically, I do not like the alignment in some in the fractions.  I
> believe the dot should have no effect on the horizontal alignment of
> the note head with the number, but I am out of time to refine further.
> I suspect \markup \score might not be the best tool for the job in the
> long run, though it certainly allows for very permissive ly:music? as
> a denominator.  (I should test with \tuplets...)
>
> P.S.  Kieren: I apologize if my naming things "kieren" in the code
> offends.  Hopefully, you would consider it an honor for the feature to
> carry your name, as you are certainly the strong voice for its
> inclusion.

I think that where a feature is not generally associated with a
particular name, it's not really helpful to use a name in that manner.
So I'd rather use something like \musicFraction or so to indicate this
kind of construct.

-- 
David Kastrup



reply via email to

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