>>>>> "Br" == Br Samuel Springuel <rpspring...@gmail.com> writes:


Br> 1) Some notes that don't collide (to my eye), are getting shifted
Br> as if they did.  When the same pair of notes are set as a chord,
Br> there is no shift.  Clearly there's a difference between what
Br> lilypond considers a collision between notes in separate voices
Br> and within a chord.  Can some one explain that to me?

As both cases have the same stem direction one has to be shifted.
Usually if you want two voices you either give them separate staves,
or give one the \voiceOne and the other the \voiceTwo appellations.

This also fixes your articulation problem.

Changes are to use the `natural' articulation direction (- instead of
^) and add \voiceOne and \voiceTwo for standard short score notation.

As an aside, dutch note names and \relative make data entry MUCH
faster.  See below (part 2).  And I prefer to have bars present in a
longer piece, to allow line breaking and to allow bar checks to be
added in the source, so as to not lose myself when making amendments.

%%%%%%%%
\version "2.18.2"
\language "english"

mel = {bflat'2 bflat'4-- a'-- a'--}
harm = {g'2 g'4-- c'-- f'--}
global = { \key f \major }

\new Staff \with { \remove "Time_signature_engraver" }
     << \global
      \new Voice = "melody" {\voiceOne \global \mel}
      \new Voice = "harmony" {\voiceTwo \global \harm}
      >>


%%%%%%%%%%%

\version "2.18.2"

mel = \relative c'' {
    bes2 bes4-- a-- a--
}
harm = \relative c'' {
     g2 g4-- c,-- f--
}
global = {\key f \major}

\score {
       \new Staff <<
            \global
            \context Voice = "melody" {\voiceOne \mel}
            \context Voice = "harmony" {\voiceTwo \harm}
          >>
       \layout {
         \context {
           \Staff
           \remove "Time_signature_engraver"
         }
         \context {
           \Score
            defaultBarType = ""
         }
       }
}       


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

Reply via email to