lilypond-user
[Top][All Lists]
Advanced

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

Re: Force LilyPond to show same time signature again


From: Mark Knoop
Subject: Re: Force LilyPond to show same time signature again
Date: Sat, 20 Apr 2024 11:41:24 +0100
User-agent: mu4e 1.12.4; emacs 29.3

This line:

\override Score.TimeSignature.stencil = ##f

means that the time signature will not be displayed (its stencil is set
to false). Either remove it, or if you need it for some other reason,
prefix with \once.

Regards,

Mark

At 10:13 on 20 Apr 2024, Hajo Baess wrote:
> This time  w i t h   screenshot attached - sorry about that... Delete
> the previous one ;-)

> Unfortunately this does not work - because I have tried exactly this
> one, and there is no time signature. I attach a screenshot of the
> passage. My piece is in 3/4, and in the top part in bar 185, I have to
> do some rhythmical scaling, whereas the other parts continue in 3/4. I
> could as well have written triplets, of course, to achieve the same
> musical result, but I wanted to keep the original 'flavor'.
> I bar 199, for the top part, I want to revert to the original 3/4, but
> \time 3/4 does not do the trick. It even does not show a time signature
> which is different from the previous one, although LilyPond typesets it
> ok. As you will notice, I have set a (nonsensical) 6/4 signature there
> in all the parts for testing purposes.
> There must be some other mechanism involved which prevents the time
> signature from being indicated, but which one?

> Here's the top part code for the passage in the screenshot:

>> d2.
>> \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 cis4\trill cis2
>> \set Staff.timeSignatureFraction = 9/8
>>         \scaleDurations 2/3
>>         \repeat unfold 3 { d8 ( a f ) } \time 3/4 cis'4\trill cis2
>> \set Staff.timeSignatureFraction = 9/8
>>         \scaleDurations 2/3 \repeat unfold 3 { d8 ( a f ) }
>>         \time 3/4 e'4 e2 \time 3/4 \set Staff.timeSignatureFraction
>> = 9/8
>>         \scaleDurations 2/3
>>         {\repeat unfold 3 { f8 ( c a ) } \repeat unfold 3 { e' ( c g
>> ) }}
>>         \time 6/4 f8 d' cis4. d8 d2. 

> Could it have something to do with the scaling applied before?


> Am Freitag, dem 19.04.2024 um 17:44 -0700 schrieb Knute Snortum:
>> On Fri, Apr 19, 2024 at 4:31 PM Hajo Baess <habae@posteo.de> wrote:
>> 
>> > Hello all,
>> > 
>> > I look for a way to force LilyPond to show the same time signature
>> > again, although there is no change - just as a reminder. I could
>> > not
>> > find anything in the NR and in the Snippet Repository.
>> > 
>> > 
>> Unless I'm misunderstanding, just repeating the \time should do it:
>> 
>> \version "2.24.3"
>> \score {
>>   \new Staff {
>>     \relative {
>>       \time 4/4
>>       \repeat unfold 8 { c'8 } |
>>       \time 4/4
>>       \repeat unfold 8 { c8 } |
>>     }
>>   }
>> }
>> 
>> 
>> --
>> Knute Snortum


> [2. image/png; Auswahl_081.png]...

-- 
Mark Knoop



reply via email to

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