Re: Automatic barline misplaced?

Mark Knoop <[email protected]>
Newsgroups gmane.comp.gnu.lilypond.bugs
Message-ID <[email protected]>
Hi Mungo,

At 12:22 on 23 Nov 2022, Mungo Carstairs wrote:
> I noticed that at
> https://en.wikipedia.org/w/index.php?title=Symphony_No._5_(Sibelius),
> the first musical example has the last barline after 9 quavers, when
> it should be after 12 (time signature being 12/8).

> <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.

Well spotted. This simply has the incorrect argument to \partial. There
should be 8 quavers before the *first* barline, not 5, so try this:

<score sound="1">
\relative c' {
  \clef treble
  \key ees \major
  \time 12/8
  \tempo "Tempo molto moderato"
  \partial 8*8
  bes4~\p\<( bes2.~ |
  bes4 ees8 f) bes4-- g-- ees8 f4.\fermata
}
</score>

(This is not a lilypond bug, perhaps the user list would be better next time.)

--
Mark Knoop

_______________________________________________
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.