[Top][All Lists]

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

Re: mid-measure key change

From: David Kastrup
Subject: Re: mid-measure key change
Date: Mon, 16 Dec 2013 05:24:34 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux)

"Mark Stephen Mrotek" <address@hidden> writes:

> Hello,
> The key change in the upper staff can be properly aligned (after the "g") if
> I use \bar '' '' and \break. This disrupts Lilypond's auto-spacing.
> Is another solution possible?

I don't see an obvious solution (but then I don't understand the bug)
but I boiled down the example somewhat more, killing most of its
musicality but making the problem more apparent.  I was suspecting the
tuplets to be involved, but no.  In the following, outcommenting the
line with the Staff \change cures the problem.

If no other developer has a good lead, this should be picked up by the
bug squad and turned into a report.

As for a workaround while this bug is not fixed: does anybody have an
idea?  I've tried a few things with Y-extent without success, but that's
probably because I don't understand the bug in the first place.

\version "2.16.2"

rightOne = \relative c'' {
  \time 4/2
    g1 \key ges \major c,1\fz 

rightTwo = \relative c'' {
    r8 d bes g bes d bes g
  \change Staff = "left"

left = \relative c' {
  bes,,1 ( \key ges \major eeses )

\score {
  \new PianoStaff <<
    \new Staff = "right" << \rightOne \\ \rightTwo >>
    \new Staff = "left" { \clef bass \left }

PNG image

David Kastrup

reply via email to

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