Menu

#726 Request: accidentals in the same octave would look better not aligned (in some cases)

Accepted
nobody
None
Enhancement
2015-09-28
2009-01-11
Anonymous
No

Originally created by: *anonymous

Originally created by: v.villenave
Originally owned by: v.villenave

In the following example, the highest note is correctly printed in the first bar, but in the second bar the accidental is shifted to the left.

:::TeX
\version "2.12.1"

<<
  { gis''1 gis'' }
  \\
  { <fis' g'>1 <f' gis'> }
>>

Mark has done some extensive tests on http://lists.gnu.org/archive/html/bug-lilypond/2008-11/msg00039.html.

1 Attachments

Discussion

  • Google Importer

    Google Importer - 2009-01-11

    Originally posted by: v.villenave

    A related example from Mark:

    "An accidental may move away from its note if there is
    an interval of second nearby. The closer the second,
    the further the accidental moves. This looks weird!"

    :::TeX
    \relative {
      <g' a gis'!> <a b gis'!> <b c gis'!> <c d gis!>
      <<
        { gis'! gis! gis! gis! }
        \\
        { <g, a> <a b> <b c> <c d> }
      >>
    }
    

    Han-Wen:
    "Joe, maybe we should increase the slope for the accidental skylines?"

    Summary: Wrong accidentals alignment when a second occurs simultaneously
    Cc: joeneeman

     

    Last edit: Simon Albrecht 2015-09-28
  • Google Importer

    Google Importer - 2009-01-11

    Originally posted by: joenee...@gmail.com

    The behaviour for the first example is explained by the fact that we align accidentals belonging to the same octave. The second example is fixed in git.

    Labels: fixed_2_12_2
    Status: Fixed

     

    Last edit: Simon Albrecht 2015-09-28
  • Google Importer

    Google Importer - 2009-01-11

    Originally posted by: v.villenave

    Hmm. Looks a bit funny though; are we sure we want to keep this rule?

    New comment from Mark:
    Ted Ross (pp.130-135) demonstrates that the preference is overridden in the presence of a second. The preference to have the lower natural close to its note-head overrides the preference to align the octave. Even in the absence of a second, Ross gives cases where it makes more sense *not* to align the octaves.

    (see also attachment)

     

    Last edit: Simon Albrecht 2015-09-28
  • Google Importer

    Google Importer - 2009-01-11

    Originally posted by: v.villenave

    (No comment was entered for this change.)

    Summary: Request: accidentals in the same octave would look better not aligned (in some cases)
    Labels: -Type-Defect -Priority-Medium Type-Enhancement Priority-Low

     
  • Google Importer

    Google Importer - 2009-01-11

    Originally posted by: joenee...@gmail.com

    (No comment was entered for this change.)

    Labels: -fixed_2_12_2
    Status: Accepted

     
  • Simon Albrecht

    Simon Albrecht - 2015-09-28
    • Description has changed:

    Diff:

    --- old
    +++ new
    @@ -3,16 +3,17 @@
     *Originally created by:* [v.villenave](http://code.google.com/u/v.villenave/)
     *Originally owned by:* [v.villenave](http://code.google.com/u/v.villenave/)
    
    -% In the following example, the highest note is correctly printed in the
    -% first bar, but in the second bar the accidental is shifted to the left.
    +In the following example, the highest note is correctly printed in the first bar, but in the second bar the accidental is shifted to the left.
    
    +~~~~
    +:::TeX
     \version "2.12.1"
    
    -&lt;&lt;
    -&nbsp; \{gis''1 gis''\}
    -&nbsp; \\\
    -&nbsp; \{&lt;fis' g'&gt;1 &lt;f' gis'&gt;\}
    -&gt;&gt;
    +<<
    +  { gis''1 gis'' }
    +  \\
    +  { <fis' g'>1 <f' gis'> }
    +>>
    +~~~~
    
    -% Mark has done some extensive tests on
    -[http://lists.gnu.org/archive/html/bug-lilypond/2008-11/msg00039.html](http://lists.gnu.org/archive/html/bug-lilypond/2008-11/msg00039.html)
    +Mark has done some extensive tests on http://lists.gnu.org/archive/html/bug-lilypond/2008-11/msg00039.html.
    
    • Needs: -->
    • Patch: -->
     
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.