lilypond-user
[Top][All Lists]
Advanced

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

Re: First time Voices user


From: peter
Subject: Re: First time Voices user
Date: Sun, 21 Dec 2014 16:20:01 +1100
User-agent: Wanderlust/2.15.9 (Almost Unreal) SEMI-EPG/1.14.7 (Harue) FLIM/1.14.9 (Gojō) APEL/10.8 EasyPG/1.0.0 Emacs/24.4 (x86_64-pc-linux-gnu) MULE/6.0 (HANACHIRUSATO)

>>>>> "Br" == Br Samuel Springuel <address@hidden> 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 = ""
         }
       }
}       




reply via email to

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