Re: Automatic barline misplaced?

Kevin Barry <[email protected]>
Newsgroups gmane.comp.gnu.lilypond.bugs
Message-ID <[email protected]>
On Wed, Nov 23, 2022 at 12:22:14PM +0000, Mungo Carstairs wrote:
> <score sound="1"> \relative c' { \clef treble \key ees \major \time 12/8
> \tempo "Tempo molto moderato" \partial 8*5 bes4~\p\<( bes2.~ | bes4 ees8 f)
> bes4-- g-- ees8 f4.\fermata } </score>
> 
> I thought I might have a go at correcting it myself, despite knowing
> nothing (until today) about Lilypond. However I can see nothing in the
> markup that places the barline explicitly, so (with all due diffidence)
> wonder whether it is a bug. I did search GitLab for open issues without
> finding anything that seemed to match.

I don't think it's a bug. Looking at the code you quoted it seems the
anacrusis is 5 quavers, when it should be 8 (the same length as a
semibreve).

If you change `\partial 8*5` to `\partial 1` that should fix it.

(Barlines are usually placed automatically by LilyPond, and by setting
the anacrusis to 5 quavers LilyPond is putting the first barline in the
middle of the dotted minim - which is why you see the odd spacing where
the first crotchet afterwards is too far to the right.)

Kevin

_______________________________________________
bug-lilypond mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/bug-lilypond
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.