lilypond-user
[Top][All Lists]
Advanced

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

Dotted notes and intervals of a second


From: Knute Snortum
Subject: Dotted notes and intervals of a second
Date: Sun, 9 Mar 2025 15:04:16 -0700

I've run into an interesting behavior of LilyPond (2.24.4 and 2.25.24) when you have dotted notes in a chord with an interval of a second.  The dotted note will shift right in some circumstances and shift left in others.  It seems to shift right to avoid writing a dot on a line.  Here is an MWE and I've attached a screenshot:

%%%
\version "2.24.4"

\relative {
  \time 6/8
  <<
    { c''4.^"default behavior" b | a4. g | }
    \\
    { b8 b b  a a a | g g g  f f f | }
  >>
}

moveDottedNoteA = \once {
  \override NoteColumn.force-hshift = -1.4
  \override Dots.extra-offset = #'(0 . 1)
}

\relative {
  \time 6/8
  <<
    { \moveDottedNoteA c''4.^"better?" b | \moveDottedNoteA a4. g | }
    \\
    { b8 b b  a a a | g g g  f f f | }
  >>
}
%%%

My question is, does the modified way look better?  Should it be LilyPond's default behavior?

--
Knute Snortum

Attachment: dotted-notes-in-seconds.png
Description: PNG image


reply via email to

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