|
From: | Mark Stephen Mrotek |
Subject: | RE: mid-measure key change |
Date: | Sun, 15 Dec 2013 20:20:42 -0800 |
Alex Loomis, Thank you for your reply and the instructions. I see that it works. I shall need some time to connect each command to its result in the score. Mark From: address@hidden [mailto:address@hidden On Behalf Of Alex Loomis If this is something you're composing, general practice would suggest you move it to the beginning or end of the bar. That said, you could make time signatures and bar lines temporarily invisible and represent that internally as two bars of 2/2. \version "2.16.2" global = { \key c \major \numericTimeSignature \time 4/2 \hideNotes \grace g \unHideNotes \once \override Score.TimeSignature #'transparent = ##t \time 2/2 \override TupletBracket #'bracket-visibility = ##f \override TupletNumber #'stencil = ##f } rightOne = \relative c'' { \global g1 \key ges \major c,1\fz } rightTwo = \relative c'' { \global \times 2/3 { r8 g, bes d bes g bes g bes d bes g \once \override Score.BarLine #'color = #white \bar "'" \change Staff = "left" \stemUp aes\rest c, ges' beses ges c, ges' c, ges' beses ges c, } } left = \relative c' { \global bes,,1 ( \key ges \major eeses ) } \score { \new PianoStaff << \new Staff = "right" << \rightOne \\ \rightTwo >> \new Staff = "left" { \clef bass \left } >> \layout { } } On Sun, Dec 15, 2013 at 9:50 PM, Mark Stephen Mrotek <address@hidden> wrote: 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? Thank you. Mark
|
[Prev in Thread] | Current Thread | [Next in Thread] |