Menu

#1410 Rest in lower voice should be placed above notes in in upper if voices are crossed.

Verified
nobody
Ugly
2012-01-08
2010-11-17
Anonymous
No

Originally created by: *anonymous

Originally created by: RalphBug...@gmail.com
Originally owned by: k-ohara5...@oco.net

\version "2.13.39"
%% rests in one voice crossing other voice

<<
{c4 c}\\
{ [r8] c'' r c''}
>>

%% Rests in mixed (rests+notes) columns don't obey Rest 'direction = #UP:
<<
{c4 c}\\
{\override Rest #'direction = #UP [r8] c'' r c''}
>>

%% wanted output
<<
{c4 c}\\
{\stemNeutral \override Stem #'neutral-direction = #UP [r8] c'' r c''}
>>

Related discussions and threads:
http://lists.gnu.org/archive/html/lilypond-user/2007-06/msg00350.html
https://code.google.com/p/lilypond/issues/detail?id=384
http://lists.gnu.org/archive/html/lilypond-user/2010-11/msg00014.html

Related

Issues: #4012

Discussion

  • Google Importer

    Google Importer - 2010-12-14

    Originally posted by: PhilEHol...@googlemail.com

    (No comment was entered for this change.)

    Labels: Priority-Medium

     
  • Google Importer

    Google Importer - 2010-12-30

    Originally posted by: x.sche...@gmail.com

    Isn't the snippet #732 actually a fix for this?
    http://lsr.dsi.unimi.it/LSR/Item?id=732

    Could you implement it by default in LilyPond?

    Cheers,
    Xavier

     
  • Google Importer

    Google Importer - 2011-08-25

    Originally posted by: percival.music.ca@gmail.com

    (No comment was entered for this change.)

    Labels: -Type-Other -Priority-Medium Type-Ugly

     
  • Google Importer

    Google Importer - 2011-12-19

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

    Snippet #732 is not a fix, because the documentation and consistency imply that Rest #'direction should determine which way the rest moves.

    http://codereview.appspot.com/5496080/

    Labels: Patch-new
    Status: Started

     
  • Google Importer

    Google Importer - 2011-12-20

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

    Patchy the autobot says: LGTM.

    Labels: Patch-review

     
  • Google Importer

    Google Importer - 2011-12-20

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

    (No comment was entered for this change.)

    Labels: -Patch-review Patch-countdown
    Owner: k-ohara5...@oco.net

     
  • Google Importer

    Google Importer - 2011-12-22

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

    Counted down to the Winter Solstice 20111222, please push

    Labels: -Patch-countdown Patch-push

     
  • Google Importer

    Google Importer - 2011-12-24

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

    Probably fixed to what it should be.

    The original example, first line, uses the implicit voicing shorthand for
    \new Staff << {\voiceOne c4 c}  {\voiceTwo [r8] c'' r c''} >>
    so the rests in voiceTwo still print below the notes in voice One.

    The explicit Rest #'direction, in the second line of the example, is now honored.

    Also, the natural way to set this: << {\stemDown [r8] c'' r c''} \\ {\stemUp c4 c} >>
    now works as expected, putting the voiceOne rests above the voiceTwo notes.

    For backward compatibility with the trick from snippet #732, if the Rest #'direction is not set, LilyPond continues to check the 'stem direction' of the rest.

    Labels: -Patch-push fixed_2_15_24
    Status: Fixed

     
  • Google Importer

    Google Importer - 2012-01-08

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

    Verified 2.15.24

     
  • Google Importer

    Google Importer - 2012-01-08

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

    (No comment was entered for this change.)

    Status: Verified