lilypond-user
[Top][All Lists]
Advanced

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

Re: omit time signature when time doesn't change


From: Urs Liska
Subject: Re: omit time signature when time doesn't change
Date: Wed, 21 May 2014 00:06:08 +0200
User-agent: Mozilla/5.0 (X11; Linux i686; rv:24.0) Gecko/20100101 Thunderbird/24.5.0

Hi Carlo,

when I asked that question I got this as a result :-)
https://bitbucket.org/beautifulscores/das-trunkne-lied/src/e29b4a0fdb61232ad0dfce1c27ec33d5f0270f0c/library/ly/to-lilylib/suppressRedundantTimeSigEngraver.ily?at=master

HTH
Urs

Am 20.05.2014 23:38, schrieb Carlo Vanoni:
Hi everyone!

I have a score with some time changes. I'm using variables for the various song 
section. Each section has it's own time (more useful than declaring it each 
time there is a time change). What happens is that the time signature will be 
printed any time it is declared, even when no time changes occurs. Here is a 
simple example:

%%%%%%%%%%%%%%%%%
\version "2.18.0"

verse = { \time 4/4 c2 c2 | c2 c2 | }
verseFirstEnd = { \time 4/4 d2 d2 | }
verseSecondEnd = { \time 2/4 c2 | }

song = {
     \new Staff
     {
         \relative c'
         {
             \verse  % First measure; print time signature, of course
             \verseFirstEnd  % Same time; I don't wont time signature printed
             \verse  % Same time; I don't wont time signature printed
             \verseSecondEnd  % Time change; print the new time signature
             \verse  % Time change; print the new time signature
         }
     }
}

\score {
   \song
}
%%%%%%%%%%%%%%%%%

I suppose (didn't tried yet) that I can use the an "omit" command (or similar) 
to omit it locally, but it is not very useful to operate this way (is just like declaring 
the time outside the variables when needed).
Is there any command that says "omit all time signature when there is no time 
changes"?

Thanks!
MIX



_______________________________________________
lilypond-user mailing list
address@hidden
https://lists.gnu.org/mailman/listinfo/lilypond-user





reply via email to

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