lilypond-user
[Top][All Lists]
Advanced

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

Suppressing staff


From: Helge Kruse
Subject: Suppressing staff
Date: Sun, 23 Sep 2012 18:25:13 +0200
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:10.0.2) Gecko/20120216 Thunderbird/10.0.2

Hello,

I have a piece for singer and piano. I want to write the notes for the piano. The words should be written above the piano notes as the would appear when the singer's staff is visible. But since the piano melody is mostly the same as the singer's melody the singers staff should be hidden in most lines. Two measures are different. Here I would like to write print the singer's notes.

How can I suppress the singers staff but keep the words above the piano staves?

\version "2.16.0"

common = { \key g\major \time 3/4 }
words = \lyricmode {
  La, la la, la. }
singer = \relative c'' {
  \common
  b a g fis }
pianoRight = \relative c'' {
  \common
<< {b a g fis } \\ { <e c>2. } >>  }
pianoLeft = \relative c {
  \common
  \clef bass d4. d8 d,4 g2 }

\score {
<<
    \new Staff { <<  \new Voice = "one" \singer >> }
    \new Lyrics \lyricsto "one" { \words }
    \new PianoStaff <<
      \new Staff { <<  \pianoRight >> }
      \new Staff { <<  \pianoLeft >> }
>>
>>
}




reply via email to

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