bug-lilypond
[Top][All Lists]
Advanced

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

Re: clef change confuses manual key signature


From: james
Subject: Re: clef change confuses manual key signature
Date: Tue, 14 Aug 2012 22:58:57 +0200

On Aug 14, 2012, at 5:00 PM, David Kastrup wrote:

> james <address@hidden> writes:
> 
> So I fail to make _any_ sense of your example.  If I had to guess, I'd
> say the octave specifications are there for overriding the default
> octaves chosen by the key signature engraver, but without being fixed to
> a certain octave concerning their effect on the music.
> 
> However, with _that_ interpretation, a clef change like you propose
> above leads to accidentals displayed up in the sky in ledger line
> domain.  What's the key engraver to do in this case?  Transpose the
> whole octave-enriched key signature down by entire octaves (thus keeping
> the arrangement of the scale) until it starts making sense again?  Leave
> it in the sky with ledger lines?  Without?
> 
> What is your expectation?  For what kind of music and situation is this
> useful?
> 
> Without an answer to that question, I don't really know the direction
> the fix should be taking properly.

Honestly, what's most important to me is where the sharps/flats in the key 
signature are placed. I attach the image of what I expect:
\include "deutsch.ly"
\version "2.12.3"
\score {
   <<
      \new Staff <<
         \relative c'{
            \time 1/4
            \set Staff.keySignature = #`((9 . ,FLAT))
            c4*1/3 d es f g a h a g f es d c4
         }
      >>
      \new Staff <<
         \relative c' {
            a4*1/3 h c d e fis gis fis e d c h a4
         }
         {  %% Key Signatures
            \clef bass
            \set Staff.keySignature = #`(((-1 . -3) . ,SHARP) ((-1 . -4) . 
,SHARP))
            s4*2  | %1-18
            \clef treble
            \set Staff.printKeyCancellation = ##f
            \set Staff.keySignature = #`(((0 . 4) . ,SHARP) ((0 . 3) . ,SHARP))
         }
      >>
   >>
   \layout {}
}
\score {
   <<
      \new Staff <<
         \relative c'{
            \time 1/4
            \set Staff.keySignature = #`((9 . ,FLAT))
            c4*1/3 d es f g a h a g f es d c4
         }
      >>
      \new Staff <<
         \relative c' {
            a4*1/3 h c d e fis gis fis e d c h a4
         }
         {  %% Key Signatures
            \clef bass
            \set Staff.keySignature = #`((4 . ,SHARP) (3 . ,SHARP))
            s4*2  | %1-18
            \clef treble
            \set Staff.printKeyCancellation = ##f
            \set Staff.keySignature = #`((4 . ,SHARP) (3 . ,SHARP))
         }
      >>
   >>
   \layout {}
}

I should note that making minor changes (like to the rhythm) may also solve the 
problem, but the important thing, for me at least, is that it shouldn't happen, 
regardless.

Attachment: key signatures_2.12.pdf
Description: Adobe PDF document


reply via email to

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