lilypond-user
[Top][All Lists]
Advanced

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

Re: "bitonal" key signatures


From: N. Andrew Walsh
Subject: Re: "bitonal" key signatures
Date: Wed, 10 Feb 2016 16:34:00 +0100

Also, another matter that's somewhat related: the key change in the right hand goes back to "\key es \major" at the end of a system, right before which is a note with a phrasing slur extending into the next system. Something like this:

\version "2.19.36"

rhMusic = \relative c'' {
    \key c \major
    \time 4/8
    \phrasingSlurUp
    r8 r r g\( | \bar "||"\break
    \key es \major
    \mark \default g8. f16 es8 g | as4 es8 as | g4 es8 es | f2\)
}

\score {
\rhMusic
}

NB: "\phrasingSlurUp" is there because this is a voice part and I didn't want to crowd the lyrics. 

I also see a bunch of the message:
programming error: no solution found for Bezier intersection
continuing, cross fingers

in the log when this is in a larger piece, but not in this MWE. Regardless: is there a way to change the placement of that curve? It seems the ideal solution would be either 1) keep the slope and raise it vertically, or 2) change the slope (likely to something pretty steep) to avoid the collision. However, this is also a grob that's connected to the phrasing slur on the next line, and I don't want to affect that placement (it looks fine to me?). 

What's the best way to go about this?

Cheers,

A

On Wed, Feb 10, 2016 at 3:51 PM, N. Andrew Walsh <address@hidden> wrote:
Thanks for the tips. Another question: how can I force a display of the "natural" time signature, so that it's clear the right hand is in a different tonality than the left? Right now there's just blank space. 

Cheers,

A

On Wed, Feb 10, 2016 at 2:54 PM, Pierre Perol-Schneider <address@hidden> wrote:
I just tried it.
Strangely, you still have to slightly extra-offset the LH key to get a proper alignment.
~Pierre

2016-02-10 14:42 GMT+01:00 Pierre Perol-Schneider <address@hidden>:
Yep, much smarter Phil.

2016-02-10 14:40 GMT+01:00 Phil Holmes <address@hidden>:
Better would be to add \tweak X-extent #'(0 . 0) just before the C major key sig in the right hand?


--
Phil Holmes


----- Original Message ----- From: Pierre Perol-Schneider
To: N. Andrew Walsh
Cc: lilypond-user
Sent: Wednesday, February 10, 2016 1:19 PM
Subject: Re: "bitonal" key signatures



... but is probably not the "better" way!



2016-02-10 14:18 GMT+01:00 Pierre Perol-Schneider <address@hidden>:

Hi Andrew,


In lhMusic mes.2 try :
...
\tweak X-extent #'(0 . 0)
\tweak extra-offset #'(-3 . 0)
\key es \major
....


Cheers,

Pierre




2016-02-10 13:36 GMT+01:00 N. Andrew Walsh <address@hidden>:

Hi List (again),

here's another question, more general: I have a piano part in which the upper voice is to have one key signature, the lower to retain another one (namely, the right hand has \key c \major, while the left hand has \key es \major, which was also declared at the start of the piece). Something like this:


\version "2.19.36"




beambreakOn = {
 \set subdivideBeams = ##t
 \set baseMoment = #(ly:make-moment 1/8)
 \set beatStructure = #'(2 2 2 2)
}


beambreakOff = {
 \set subdivideBeams = ##f
 \set baseMoment = #(ly:make-moment 1/8)
 \set beatStructure = #'(2 2 2 2)
}


rhMusic = \relative c'' {
   \key es \major
 \time 4/8
 r16 bes d bes d bes d bes |
 \key c \major
 \beambreakOn \tuplet 3/2 { es,\( f g } \tuplet 3/2 { a b cis } dis4\) |
}


lhMusic = \relative c {
 \clef bass
     \key es \major
 \time 4/8
 <<
     { r16 d f d f d f d | }
     \\
     { bes2 | }
   >>
 \key es \major
 <<
   { es,16 bes' es bes g' d g d | }
   \\
   { es,2 | }
 >>
}


\score {


 \new PianoStaff <<
   \new Staff = "RH"  <<
     \rhMusic
   >>
   \new Staff = "LH" <<
    \lhMusic
   >>
 >>
}
------------

My issue is as follows: the engraver in charge of key signatures is displacing that second "\key es \major" _expression_ in the left hand, presumably because there was already one in place from the beginning (or perhaps because it's assuming a possible collision with the "\key c \major" _expression_ in the right hand). In either case, what I would prefer is that both new key signatures are not displaced horizontally, so that the second "\key es \major" is, in effect, merely a cautionary repetition of the one from the start and aligned underneath the naturals of the "\key c \major" _expression_ in the right hand.



Is there a better way to do this?


Cheers,


A


_______________________________________________
lilypond-user mailing list
address@hidden
https://lists.gnu.org/mailman/listinfo/lilypond-user









_______________________________________________
lilypond-user mailing list
address@hidden
https://lists.gnu.org/mailman/listinfo/lilypond-user





reply via email to

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