bug-lilypond
[Top][All Lists]
Advanced

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

Re: Minor barcheck and \partial interaction bug


From: Erik Sandberg
Subject: Re: Minor barcheck and \partial interaction bug
Date: Tue, 9 Aug 2005 19:48:01 +0200
User-agent: KMail/1.8.1

On Thursday 28 July 2005 14.11, Trevor Baca wrote:
> Hello,
>
> I didn't think I'd ever need a partial measure in the middle of an
> ongoing line of music, but, as it happens, the 7th Bach chorale melody
> changes from 4/4 to 3/4 after measure 4 and begins the 3/4 section
> with a 1 beat \partial in the middle of the line.
>
> LilyPond handles this fine, with the exception that the barcheck
> following the midline \partial works in the first staff (in lex order)
> in the input file and then fails on following staves.
>
> Here's the example with the pitches changed ...
>
> \score {
>    \new PianoStaff <<
>       \new Staff {
>          \clef treble
>          \time 4/4
>          d'4 d'4 d'4 d'4 \bar ":|" | % this barcheck works fine
>          \time 3/4
>          \partial 4 e'4 |
>          f'4 f'4 f'4 \bar "|." |
>       }
>       \new Staff {
>          \clef bass
>          \time 4/4
>          d4 d4 d4 d4 \bar ":|" | % this barcheck fails
>          \time 3/4
>          \partial 4 e4 | % the barchecks start working here again
>          f4 f4 f4 \bar "|."
>       }
>
>    \layout {raggedright = ##t}
> }
>
> All this under 2.7.0, btw.
>
> The workaround is simply to omit that one particular barcheck in the bass.


Thanks, added to CVS as warning-barcheck-partial.ly.

%
%Trevor Baca
\version "2.6.0"

\header {
  texidoc = "Incorrect barcheck warnings are sometimes issued if a \\partial 
is done in the beginning of a bar."
  reportedin = "2.6.0"
}

\layout{raggedright=##t}
<<
 { c1 | \partial 4 c4 c1 }
 { c1 | c4 c1 }
>>

-- 
Erik Sandberg
Maintainer of the Lilypond bug CVS archive,
http://savannah.gnu.org/cgi-bin/viewcvs/lilypond/lily-bugs/bugs/
http://lilypond.org/doc/v2.5/bugs/out/index.html




reply via email to

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