Op donderdag 05 februari 2009, schreef Maarten Deen:
> I'm posting this bug here because the bug posting to
> gmane.comp.gnu.lilypond.bugs is broken (it says that I'm top-posting with
> the message below and will not post it).

This is not a bug ....

> If you render the following snippet to PDF, the 16th lines connecting the
> fis16 to the e16 are not rendered, making the fis16 look like a f4.
> I've tested this in lilypond 2.10 and the latest 2.12.2-1, on Windows XP.
> I have my rendering attached.
>
> \paper {
>    ragged-right = ##t
> }
>
> \layout {
>
> }
> \new Score <<
>       \new Staff
>       <<      \set Staff.instrumentName="Strange things"
>               {       \voiceOne
>                       \relative c'' {as2~ as2}
>               }
>               {       \voiceTwo
>                       \relative c' {fis16 e16 d16 e16~ e4~ e2}
>               }
>       >>
> >>

There is a small mistake in your input syntax. When you want two voices to be 
polyphonic, you should either at least instantiate (one of) them as a \new 
Voice, or use the \\ voice separator. The first way looks like this:

\new Score <<
        \new Staff
        <<      \set Staff.instrumentName="Strange things"
                \new Voice {
                        \voiceOne
                        \relative c'' {as2~ as2}
                }
                \new Voice {
                        \voiceTwo
                        \relative c' {fis16 e16 d16 e16~ e4~ e2}
                }
        >>
>>

And the second way (which I often use when possible) (I'd also remove the \new 
Score and rather use the \score { } construct:

\score {
        \new Staff <<
                \relative c'' {as2~ as2}
                \\
                \relative c' {fis16 e16 d16 e16~ e4~ e2}
        >>
}

The \voiceOne and \voiceTwo commands are not necessary in this case, as the \\ 
voice separator creates this automatically. See:
http://lilypond.org/doc/v2.12/Documentation/user/lilypond/Multiple-voices

best regards,
Wilbert Berendsen

-- 
Frescobaldi, LilyPond editor for KDE: http://www.frescobaldi.org/


_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to