lilypond-user
[Top][All Lists]
Advanced

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

Re: Start music at specified measure without having to fill the previous


From: Carl Sorensen
Subject: Re: Start music at specified measure without having to fill the previous.
Date: Mon, 18 Jul 2016 03:15:08 +0000
User-agent: Microsoft-MacOutlook/14.6.5.160527


On 7/17/16 9:40 AM, "dtsmarin" <address@hidden> wrote:

>Hello,
>
>I'm working with a lot of time signature changes and it's very frustrating
>to calculate all the rests needed to fill the measures before.
>Is it possible to tell Lilypond start inserting music after a specified
>number of measures even if they have different time signatures?

Can you define the time signatures to put in parallel with some other
content?

timesigs = {
\time 3/4
\repeat unfold 7 s1*3/4
\time 6/8
\repeat unfold 6 s1*6/8
\time 5/8
}


mynotes = {
\repeat unfold 103 c'8
}

\score {
  \new Staff
  <<
     \timesigs
     \mynotes
  >>
}


By using s1*<TIME FRACTION> you get a full measure skip.
By using \repeat unfold N, you N measures.

I realize that it is not quite as nice as saying "set the skip at measure
73", but it seems to me to not be that hard.

It would also be not too hard to create a Scheme function that could take
a list of (measure number, time signature) pairs and return something like
the timesigs variable above.  This would automate the process and get
almost exactly what you want.

HTH,

Carl




reply via email to

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