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: Lukas-Fabian Moser
Subject: Re: TimeSignature with note in denominator
Date: Sat, 13 Nov 2021 16:13:40 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.13.0

Hi Kieren,

See my “stylesheet” comment earlier in the thread: in a perfect world, a user 
should be able to take any existing score and simply add

    \override Score.TimeSignature.style = #'note-denom

and the output would be “as expected” — with a new function, a 
search-and-replace (with possible “fancy” manipulation of the arguments) is 
required every time the user wants to switch between styles. I personally 
consider that inelegant, or at the very least suboptimal, especially when 
Lilypond offers such a generous “global” context modification mechanism.

All that being said: The tide of resistance to finding the optimal 
implementation is evident, so I think I’ll just give up and add a new function 
in order to move the patch/feature forward.

Oh, please don't give up just yet! :-)

You can very well have both: A TimeSignature style that turns old-fashioned \time 3/4 into "3 over a crotchet", and a vast generalization of the \time machinery that also accepts durations, tied combinations of durations etc. (and which, for simple durations like 4,8,16 etc., falls back to standard \time 3/4 behaviour).

Question: What should happen if TimeSignature.style = #'note-denom is _not_ set, but the user does \time 4 { 8.~8 } ? Should this emit a warning "can't display this in current style", or ... ?

Lukas




reply via email to

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