lilypond-user
[Top][All Lists]
Advanced

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

Re: Skipping time without any output


From: Nick Payne
Subject: Re: Skipping time without any output
Date: Sat, 01 Jan 2011 06:13:10 +1100
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.13) Gecko/20101208 Thunderbird/3.1.7

On 01/01/11 02:25, Sven Axelsson wrote:
On 31 December 2010 15:48, Sven Axelsson<address@hidden>  wrote:
On 31 December 2010 15:32, Xavier Scheuer<address@hidden>  wrote:
On 31 December 2010 14:59, Sven Axelsson<address@hidden>  wrote:
Is there another way of just skipping time with no output whatsoever?
This is quite often needed when padding a partial bar in an
\alternative, for instance. I have dealt with this by using a scaling
duration on the last note in the bar, and that works, but frankly it
can be a bit hard to calculate the correct duration sometimes. And it
would be nicer if there was an explicit command available.
What do you want to do?
Maybe if you provide a minimal example of code we could give some
suggestions.

Have you read  NR 1.4.1 Long repeats>  Normal repeats ?
It provides 2 examples (snippets) showing how to handle partial and
alternatives.
http://lilypond.org/doc/v2.13/Documentation/notation/long-repeats.html#normal-repeats
Oh my, sometimes the obvious solution is not so obvious. As I said, I
need to pad partial bars in an alternative, and that can be done by
using - partial! As can be seen in one of the examples in 1.4.1. For
some reason it never occured to me to use partial in alternative.
However, for something like

\relative c'' {
     \repeat volta 2 {
         \partial 4 b4
         c c c c | c c c c
     } \alternative {
         { c4 c c c | b b b4*2 }
         { c4 c c c | d d d d }
     }
}

I really have to use a scaling duration, right? The whole point with
this is of course to avoid extra whitespace at the end of the bar.
I think you would use \set Score.measureLength = #(ly:make-moment 3 4) in the alternative if you want three quarter notes in the bar. See s.1.2.6 on time administration in the NR.

Nick



reply via email to

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