Menu

#2852 horizontal spacing: columns with spacers are spaced differently than those with notes (see comment #4)

Accepted
nobody
None
Ugly
2013-04-07
2012-09-21
Anonymous
No

Originally created by: *anonymous

Originally created by: k-ohara5...@oco.net

Note-spacing involving spacer rests is strange enough that there might be a small bug or two.  I'll call this "Type-ugly" because it makes the simplest way of writing a delayed turn a bit ugly.

When we write explicit spacers, such as to place a delayed turn, we often want the columns created by these spacer rests to be spaced like normal note-columns.  That is, spaced as if there were non-interfering notes in some other voice or staff at the times of the spacers.  (This desire might conflict with LilyPond's current methods to support ligatures in ancient music, which use a lot of empty columns.)

\new Staff <<
  { a'2  a' | a' a' | d' d' } \\
  { s4 c' r s | r c' r c' | s s^\turn s s } >>

1 Attachments

Related

Issues: #522

Discussion

  • Google Importer

    Google Importer - 2012-10-01

    Originally posted by: dak@gnu.org

    One idea:

    \layout {
      \context { \Staff
             \consists
             #(make-engraver
               (listeners ((skip-event eng ev)
                   (ly:engraver-make-grob eng 'NonMusicalPaperColumn ev))))
             }
      }

     
  • Google Importer

    Google Importer - 2013-04-07

    Originally posted by: janek.li...@gmail.com

    Keith,
    do you consider the spacing of the quarter note in the first measure a problem, or is this issue only about the turn placement?

     
  • Google Importer

    Google Importer - 2013-04-07

    Originally posted by: k-ohara5...@oco.net

    The bug report says "might be a small bug or two".  The quarter note in the first measure is spaced differently than it is with regular notes and rests, but optically it looks fine.  I included that as an intermediate case, trying to figure out what affects the placement of the second beat in each measure.  It is only a bug if the spacing is different from what we or the original programmers wanted.

    The turn in the third measure is spaced in a way that surprises people who want to write a delayed turn.

     
  • Google Importer

    Google Importer - 2013-04-07

    Originally posted by: janek.li...@gmail.com

    Oh, i've just now discovered issue 3232.  As far as i can see, it covers the bad turn case from this issue; i'll write a detailed comment there.

    As for the quarter note spacing, there is actually a bug, but it gets visible only when the spacing gets tight:

    \version "2.17.13"

    \paper {
      % this is just to force lily to typeset the snippet tightly:
      system-count = 1
      ragged-right = ##f
      indent = 0
      line-width = 4.5\cm
    }

    \new Staff <<
      { a'2  a' | a' a' }
      \\
      { s4 c' r s | r c' r c' }
    >>

    So, let this issue track the problem with note spacing, not with the turn.

    Summary: horizontal spacing: columns with spacers are spaced differently than those with notes (see comment #4)

     
  • Google Importer

    Google Importer - 2013-04-07

    Originally posted by: janek.li...@gmail.com

    Actually, the turn thing is now issue 3299.