Menu

#3043 Avoiding collisions involving full-bar rests

Accepted
nobody
None
Ugly
2015-12-06
2012-12-19
Anonymous
No

Originally created by: *anonymous

Originally created by: ma...@gregoriana.sk

Reported by Daniel Rosen:
http://lists.gnu.org/archive/html/bug-lilypond/2012-12/msg00060.html

In the example below, LilyPond should automatically push the full-bar rest in
the lower voice down vertically to avoid having it collide with the notehead in
the upper voice.

:::TeX
\version "2.16.1"
\new Staff <<
  \new Voice { \time 3/4 \voiceOne e' e' e' }
  \new Voice { \voiceTwo R1*3/4 }
>>
1 Attachments

Discussion

  • Google Importer

    Google Importer - 2013-04-12

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

    Other types of rests move to avoid the notes.  It is a little more complicated for full-measure rests, because they center themselves in the measure after the note-spacing is worked out, and only then is it clear which notes they need to avoid.  (Imagine an example with a more complicated rhythm.)
    Full-measure rest would need to be positioned after the note-spacing is determined, when beams and slurs are positioned.

     
  • Trevor Daniels

    Trevor Daniels - 2015-09-26
    • Description has changed:

    Diff:

    --- old
    +++ new
    @@ -9,8 +9,11 @@
     the lower voice down vertically to avoid having it collide with the notehead in
     the upper voice.
    
    +~~~~
    +:::TeX
     \version "2.16.1"
    -\new Staff &lt;&lt;
    -&nbsp; \new Voice \{ \time 3/4 \voiceOne e' e' e' \}
    -&nbsp; \new Voice \{ \voiceTwo [r1]\*3/4 \}
    -&gt;&gt;
    +\new Staff <<
    +  \new Voice { \time 3/4 \voiceOne e' e' e' }
    +  \new Voice { \voiceTwo R1*3/4 }
    +>>
    +~~~~
    
    • Needs: -->
    • Patch: -->
     
  • Trevor Daniels

    Trevor Daniels - 2015-09-26
     
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.