lilypond-user
[Top][All Lists]
Advanced

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

Re: piano staves and lyrics


From: Patrick Schmidt
Subject: Re: piano staves and lyrics
Date: Sat, 18 Sep 2010 14:10:17 +0200

Hi Gerald,

\addlyrics can't handle polyphony. See NR v.2.13. You should use \lyricsto. You just forgot to add \new Lyrics:

\new Lyrics \lyricsto "soprano" { please help }

If you'd like to have the lyrics in between the two staves you have to add:

\layout { \context { \PianoStaff \accepts Lyrics } }

Hope this helps,
patrick

Am 18.09.2010 um 13:43 schrieb Gerard McConnell:

Hello,
I've included a minimal example below; why doesn't it work and how do I correct it?
(It works fine without the alto and tenor parts.)
Many thanks yet again,
Gerard

\version "2.12.2"

\score {
   \new PianoStaff {
      <<
      \new Staff {
       <<
       \new Voice="soprano" { \voiceOne
        \time 2/2
        \key d \major
        \relative c' {   fis2 e    }
        }
       \new Voice="alto" { \voiceTwo
        \relative c' {  d2 d4( cis)  }
       }
     >>
      }

   \addlyrics { please help }
% \lyricsto soprano { please help } also fails

  \new Staff {
       \clef bass
       <<
       \new Voice="tenor" { \voiceOne
        \time 2/2
        \key d \major
        \relative c' {  a2 g  }
       }
       \new Voice="bass" { \voiceTwo
        \relative c {  d2 ais  }
       }
             >>
      }
      >>
   }
}

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




reply via email to

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