On Sat, Apr 20, 2024 at 3:02 PM Hajo Baess <[email protected]> wrote:
> 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.
>
A couple of points:
* Is there a reason you are writing " \time 3/4 \set
Staff.timeSignatureFraction = 9/8" and then scaling by 2/3 rather than just
writing "\time 9/8"?
* Why are you writing "\time 3/4 \set Staff.timeSignatureFraction = 3/4"
instead of just "\time 3/4"?
* "\scaleDuractions 1/1 {}" is doing nothing and can be removed.
Applying my suggestions to your music, you get this, which seems to work as
you want it to:
\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 9/8
\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 ) }
\time 3/4
cis4\trill cis2 d4 d4. c16 d e2 e4 f4 f4. g8 e2 e4 f d d ~ d8 cis d4 d4
\time 3/4
d2 d4\fermata
\bar "|."
}