lilypond-user
[Top][All Lists]
Advanced

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

Re: note head collisions


From: Francisco Vila
Subject: Re: note head collisions
Date: Thu, 30 Apr 2009 13:00:25 +0200

2009/4/30 Gerard McConnell <address@hidden>:
> Hello,
> Why am I getting overlapping note heads in this example, and what
> is the solution?
> Thanks for any help,
> Gerard
>
> \score {
>    \new Staff {
>       \time 4/4
>       \relative c' {
>       <<
>       \new Voice { \voiceOne b'4 \times 2/3 {c8 b c} d2 ~ d4 d8 c g4 c }
>       \new Voice { \voiceTwo s2 s4 e ~ e1 }
>       \new Voice { < g,, d' >1 < c g' > }
>       >>
>       }
>    }
> }

In this version I've changed the order of expressions to make them to
be voices 1,2 and 3 with no need to explicitly invoking new voice
commands.

\score {
   \new Staff {
      \time 4/4
      \relative c' {
      <<
 {  s2 s4 e' ~ e1 } \\
 {  < g,, d' >1  < c g' > } \\
 {  b'4 \times 2/3 {c8 b c} d2 _~ d4 d8 c g4 c }

      >>
      }
   }
}

I think the overlapping you obtained came from different noteheads on
the same column, a warning that was ignored.

That would be equivalent to have

      \new Voice ="3" { \voiceThree b'4 \times 2/3 {c8 b c} d2 ~ d4 d8 c g4 c }
      \new Voice ="1" { \voiceOne s2 s4 e ~ e1 }
      \new Voice ="2" { \voiceTwo < g,, d' >1 < c g' > }

but the tie in voice 3 still has to be tweaked.

Read about "The double backslash construct" in NR 1.5.2
-- 
Francisco Vila. Badajoz (Spain)
www.paconet.org




reply via email to

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