I have messed around with this little lab specimen here, and I have
found a solution, but it is weird. You obviously (after having scaled
some rhythm just once) have to explicitly unscale the rhythm  e v e r y
time you want it to appear in the staff. I have extended the example
with a short quote from the piece I am typesetting. this is what
obviously works:

> \version "2.24.2"
> \language "deutsch"
> 
> \relative c''  {
>       \time 3/4 c4 c c c2 c4
>       \time 3/4 c4 c c c2 c4
>       \omit Score.TimeSignature
>       \time 3/4 c4 c c c2 c4
>       \undo \omit Score.TimeSignature
>       \time 3/4 c4 c c c2 c4
>       \time 3/4 \set Staff.timeSignatureFraction = 9/8
>       \scaleDurations 2/3 {
>               \repeat unfold 3 { f8 ( d a ) }  \repeat unfold 3 {
> e' ( cis a ) } \repeat unfold 3 { f'8 ( d a ) }
>               \repeat unfold 3 { g' ( e c ) } \repeat unfold 3 {
> a' ( f c ) } \repeat unfold 3 { g' ( e c ) }
>               \repeat unfold 3 { f8 ( d a ) }
>       } %\override Score.TimeSignature.stencil = ##f
>       \time 3/4  \set Staff.timeSignatureFraction = 3/4
>       \scaleDurations 1/1
>       {
>               cis4\trill cis2 d4 d4. c16 d e2 e4 f4 f4. g8 e2 e4 f
> d d ~ d8 cis d4 d4
>       }
>       \time 3/4 \set Staff.timeSignatureFraction = 3/4
>       \scaleDurations 1/1
>       { d2 d4\fermata}
>       \bar "|."
> }

If you just type "\time 3/4" at the end for instance, you won't get
your time signature shown. At least this prodecure is completely
unintuitive, I think.

Am Samstag, dem 20.04.2024 um 14:02 -0700 schrieb Knute Snortum:
> On Sat, Apr 20, 2024 at 1:32 PM Hajo Baess <[email protected]> wrote:
> 
> > What you suggest sounds all so common-sense, but LilyPond still
> > does
> > not get it...
> > If I implant "\omit Score.TimeSignature" and "\undo \omit
> > Score.TimeSignature" into my code instead of the previous commands,
> > I
> > get this - see screenshot.
> > 
> > But if I do something really basic like:
> > 
> > \version "2.24.2"
> > \language "deutsch"
> > 
> > \relative c''  {
> >         \time 3/4 c4 c c c2 c4
> >         \time 3/4 c4 c c c2 c4
> >         \omit Score.TimeSignature
> >         \time 3/4 c4 c c c2 c4
> >         \undo \omit Score.TimeSignature
> >         \time 3/4 c4 c c c2 c4
> >         \bar "|."
> > }
> > 
> > it works as expected. It really seems to have something to do with
> > the
> > scaled rhythms - that is my guess.
> > 
> 
> This is where tiny examples (https://lilypond.org/tiny-examples.html)
> are
> important.  Build an example of the problem with as little other
> stuff as
> possible.  It's difficult sometimes, but it will sometimes lead you
> to an
> answer, and it certainly helps anyone trying to assist you.
> 
> 
> --
> Knute Snortum
> 
> 
> 
> 
> --
> Knute Snortum
> 
> 
> 
> 
> --
> Knute Snortum
> 
> 
> 
> 
> --
> Knute Snortum

Reply via email to