bug-lilypond
[Top][All Lists]
Advanced

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

Re: Possible bug with new \partial


From: Mats Bengtsson
Subject: Re: Possible bug with new \partial
Date: Sun, 16 Aug 2015 22:38:03 +0200
User-agent: Mozilla/5.0 (X11; Linux i686; rv:31.0) Gecko/20100101 Thunderbird/31.8.0

I just realized that if i swap \partial and \time, it works as expected, at least if I explicitly specify the bar line:
\version "2.19.25"
\relative c'{
\time 4/4
\partial 4
c |
d e f g |
f2.
\bar "||"  %Removing this line still gives ugly collisions!
\time 3/4
\partial 4*3
R2.*3 |
f4 ( a f ) |
f2.
R2.*3 |
}

In a way, this is logical, since the \partial relates to the new time signature, not the previous one. Still, I'm confused that the problem only showed up when using a multimeasure rest directly after the \partial.

    /Mats


On 08/16/2015 10:32 PM, Mats Bengtsson wrote:


On 08/16/2015 10:05 PM, Simon Albrecht wrote:
Hello Mats,

IIUC \partial serves to insert an additional amount of time, however in this example we actually need to skip a beat – thus call \partial with a negative duration, which is impossible :-) So you need to insert \set Timing.measureLength = #(ly:make-moment 3/4) before the second bar in your example. Is this documented differently? Else I wouldn’t consider it a bug, rather an inherent limitation.
Please note that \partial has been changed very recently in the 2.19 versions. The documentation for 2.19.25, http://lilypond.org/doc/v2.19/Documentation/notation/displaying-rhythms#index-_005cpartial-1 says that the duration specifies the remaining length of the current measure, which in my example is zero. Note also that my example works fine if I remove the R2*3 line directly below \time 3/4.

    /Mats

Yours, Simon

Am 16.08.2015 um 21:28 schrieb Mats Bengtsson:
Hi,

I tried version 2.19.25 to typeset a piece that changes from 4/4 with an upbeat to 3/4 without an upbeat, in the middle of the piece. The new \partial handling worked for all parts, except a part that started with a multimeasure rest. Here's a small example illustrating the problem. Uncommenting the \bar line makes things slightly better but still wrong.
\version "2.19.25"
\relative c'{
\time 4/4
\partial 4
c |
d e f g |
f2.
%\bar "||"
\partial 4*0
\time 3/4
R2.*3 |
f4 ( a f ) |
f2.
R2.*3 |
}


   /Mats


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



--
=============================================
        Mats Bengtsson
        Signal Processing
        School of Electrical Engineering
        Royal Institute of Technology (KTH)
        SE-100 44  STOCKHOLM
        Sweden
        Phone: (+46) 8 790 8463                         
        Fax:   (+46) 8 790 7260
        Email: address@hidden
        WWW: http://www.ee.kth.se/~mabe
=============================================




reply via email to

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