lilypond-user
[Top][All Lists]
Advanced

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

Re: stem directions in music for voice and guitar


From: Nick Payne
Subject: Re: stem directions in music for voice and guitar
Date: Sat, 16 Mar 2013 17:39:28 +1100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130308 Thunderbird/17.0.4

On 16/03/13 15:15, Mark Stephen Mrotek wrote:
Ivan:

When I write polyphony for the piano I use  << { %here pitches for top voice
} \\ { %here pitches for bottom voice} >>. Lilypond seems to take care of
the stem directions. 

I reset you example using this format. Some notes of the voices might need
to be adjusted.

\version "2.16.0"
\include "english.ly"
\score {
  <<
  \new Staff = "voice"
  {
    \clef "treble"
    \time 3/4
    \stemDown
    c''2             c''4
    d''2            e''4
    e''8 d''8 c''8 b'4  a'8
    b'2  r4
  }
  \new Staff = "guitar"
  {
    \clef "treble_8"
    \time 3/4
    <<{ c'2 c'4 | b2 a4 | c'8 d'8 e'4 f'4 | e'4 d'2 }
    \\
    { c2 c4 | g2 c'4 | r4 g'4 d'4 | g'4. fs'4.}
    >>
  }
  >>
} % score

Mark

-----Original Message-----
From: address@hidden
[mailto:address@hidden] On Behalf Of
address@hidden
Sent: Friday, March 15, 2013 8:52 PM
To: address@hidden
Subject: stem directions in music for voice and guitar


Attached is the beginning of an arrangement for voice and guitar.  The
guitar part is two part counterpoint in which I would like to control where
the steps go up or down.

(1) In the guitar part, even though I have \voiceOne marked with \stemUp and
\voiceTwo marked with \stemDown, why do the stems go down in both voices?

(2) Is this snippet considered an example of "best practice", or how might
others structure a file for such a group of instruments?

Thank you for your help.


\version "2.16.0"
\include "english.ly"


\score {

  <<
  \new Staff = "voice"
  {
    \clef "treble"
    \time 3/4

    \stemDown
    c''2             c''4
    d''2            e''4
    e''8 d''8 c''8 b'4  a'8
    b'2  r4
  }


  \new Staff = "guitar"
  {
    \clef "treble_8"
    \time 3/4
    <<
    \voiceOne
    {
     \stemUp
      c'2     c'4
      b2      a4
      c'8 d'8 e'4 f'4
      e'4 d'2
    }
    \voiceTwo
    {
     \stemDown
      c2   c4
      g2   c'4
      r4   g'4  d'4
      g'4.   fs'4.
    }
    >>
  }
  >>

} % score

I think it's better to use named voices. And in single staff polyphony, the stem direction is taken care of by the voices without having to explicitly set it - voiceOne and voiceThree default to stemUp, voiceTwo and voiceFour to stemDown.

\version "2.16.0"

\include "english.ly"

vocal = {
  c''2 c''4 |
  d''2 e''4 |
  e''8 d''8 c''8 b'4 a'8 |
  b'2 r4 |
}

guitarUpper = {
  c'2 c'4 |
  b2 a4 |
  c'8 d'8 e'4 f'4 |
  e'4 d'2
}

guitarLower = {
  c2 c4 |
  g2 c'4 |
  r4 g'4 d'4 |
  g'4. fs'4.
}

\score {
  <<
    \new Staff = "voice"
    {
      \clef "treble"
      \time 3/4
      \new Voice { \stemDown \vocal }
    }
    \new Staff = "guitar"
    {
      \clef "treble_8"
      \time 3/4
      <<
        \new Voice { \voiceOne \guitarUpper }
        \new Voice { \voiceTwo \guitarLower }
      >>
    }
  >>
} % score

reply via email to

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