lilypond-user
[Top][All Lists]
Advanced

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

Re: partial in the middle of piece


From: David Kastrup
Subject: Re: partial in the middle of piece
Date: Mon, 16 Jun 2014 16:02:36 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4.50 (gnu/linux)

"Karol Majewski" <address@hidden> writes:

> The following gives warning:
>
> warning: barcheck failed at: 3/4
>
> http://lilypond.1069038.n5.nabble.com/Partial-measures-in-middle-of-score-td154007.html
> https://code.google.com/p/lilypond/issues/detail?id=3645
>
> Is this is related to 3645?
>
>
> \version "2.19.7"
>
> upper = {
>   \time 4/4
>   \partial 4 c'4 c'1
>   c'1
>   \partial 4 c'4 c'1
>   c'1
> }
>
> lower = {
>   \time 4/4
>   \partial 4 r4 R1
>   R1
>   \partial 4 r4 R1
>   R1
> }
>
> \score {
>   \new PianoStaff <<
>     \new Staff = "upper" \upper
>     \new Staff = "lower" \lower
>   >>
> }

No, it is not related.  It is also very difficult to fix.  The reason
for that is is that R1 is basically | R1 | (namely having two bar
checks), and \partial repositions the measure position.  Since \partial
itself does not take up any time and is run in the iterator just like
bar checks are, the \partial in the upper voice executes before the
corresponding bar check in the second voice, so the bar check encounters
a partial measure instead of the measure end it expected.

You'd get the same by having two instances of | \partial 4 in parallel
voices: the second voice barcheck would then complain.

I have no convincing idea for fixing that.  \partial could set a flag
disabling bar checks at the current time step when it occurs at full
time.

However, that would also mean that \partial 4 | would not trigger an
error when \partial comes after a full measure.

-- 
David Kastrup



reply via email to

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