lilypond-user
[Top][All Lists]
Advanced

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

Re: note collision - shift voiceOne to left


From: Jakob Pedersen
Subject: Re: note collision - shift voiceOne to left
Date: Tue, 1 Aug 2023 19:29:02 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Betterbird/102.13.0

Hello Carolyn,

I think what you are asking for is making it look something like this:



I made that using a graphics program, not lilypond.

While I get why you'd want it to look the same as similar places, I think that 1) this is harder to read, because it looks like the first crotchet is positioned where the second beat of the measure would be, and 2) the lilypond placement on the left of the dotted minim is the "right" or at least standard way of typesetting this type of collision.

Best wishes,
Jakob

On 01.08.2023 16.11, Carolyn Beeton wrote:
Thanks Abraham

I have read that section again and I am still a bit confused at what I am seeing in this attempt at a MWE.  In bar 2 the voiceTwo notes are shifted right, but in bar 5 the voiceOne note, a dotted note, is being shifted to the right.  I have tried using the Staff.NoteCollision.prefer-dotted-right override but that doesn’t seem to help.  In bar 7 there is a different construct with temporary voices and there the shifting looks like what I want.  I am trying to get the dotted stemUp note in bar 5 to be shifted left.

PastedGraphic-1.png

\version "2.24.0"

\include "english.ly"


SopranoMusic = \relative c'

{

  fs4 fs e | d d d | b'2 b4 | a d, e | d2.^\markup "why right?" | s2. | s2.

} 


AltoMusic = \relative  c'

{ 

  d4 d cs | b cs c | b2 d4 | d d cs | d4 d e | << { fs4 e d | e2. } \\ { d2 s4 | d b cs } >>

} 


\score {

      \new Staff

      <<

        \key d \major

        \time 3/4

        \new Voice = "sopranos"

        {

          \override Staff.NoteCollision.prefer-dotted-right = ##f

          \voiceOne

          <<  

            { \SopranoMusic }

          >>

        }

        \new Voice = "altos"

        { 

          \voiceTwo

          <<  

            { \AltoMusic }

          >>

        }

      >>

  \layout { }

}


Thanks,
Carolyn

On Jul 31, 2023, at 10:36 PM, Abraham Lee <tisimst.lilypond@gmail.com> wrote:

Hi, Carolyn!

On Mon, Jul 31, 2023 at 8:22 AM Carolyn Beeton <carolyn.beeton@icloud.com> wrote:
The default when there are two voices with colliding notes is to shift the voice with upstems (odd-numbered voices) to the right and voices with downstems to the left.  I would like the opposite - i.e. voiceOne, with stems up, shifted left.  Is this possible?  (not as a single override, but throughout the entire piece)

I trust you've seen this section in the NR on collision resolution, but if not, here it is:


Do any of these techniques not help? And if not, perhaps you could show a screenshot or provide a small example of the shifting you don't want so we can target the problem.

Hope that helps,
Abraham



reply via email to

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