[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Suppressing staff
From: |
Helge Kruse |
Subject: |
Re: Suppressing staff |
Date: |
Mon, 24 Sep 2012 19:23:39 +0200 |
User-agent: |
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:10.0.2) Gecko/20120216 Thunderbird/10.0.2 |
Am 23.09.2012 19:26, schrieb Phil Holmes:
Give the piano the lyrics?
\score {
<<
\new Staff { << \new Voice = "one" \singer >> }
\new PianoStaff <<
\new Staff = "pianoRH" { << \pianoRight >> }
\new Lyrics \with { alignAboveContext = "pianoRH" } \lyricsto "1"
{ \words }
\new Staff { << \pianoLeft >> }
>>
>>
}
I've used the voice context "1" since you've used implicit voices in
your example.
Phil,
many thanks. That's nearly what I need. But there is one nasty thing I
could not solve. There are two measures where the rhythm is differs
between singer and piano right hand.
I have annotated this in the second measure with an ossia that would
have the singer's melody. But I have no idea how I can "connect" this
ossia notes to the lyrics.
I want to skip the singers staff to save space. Therefore I don't want
to print the ossia. It shows only how I want to deal with the lyrics
syllables. Any other (invisible) set of notes would do it. Can you help
here?
> You might want to name the voices explicitly, in which
> case the name would change.
Advice appreciated and accepted. ;-)
Regards Helge
\version "2.16.0"
common = { \key g\major \time 3/4 }
words = \lyricmode {
La, la la, la. Tra -- la -- la -- la }
singer = \relative c'' {
\common
b a g | fis g8 b c d }
pianoRightA = \relative c'' {
\common
\voiceOne b4 a g |
<< { fis g b }
\new Staff \with { alignAboveContext = #"pianoRH" fontSize = #-2
} { fis4 g8 b c d }
>>
}
pianoRightB = \relative c'' {
\common \voiceTwo
<e, c>2. | <d b> }
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 = "pianoRH" { << \new Voice="piano" \pianoRightA
\pianoRightB >> }
\new Lyrics \with { alignAboveContext = "pianoRH" } \lyricsto
"piano" { \words }
\new Staff { << \pianoLeft >> }
>>
>>
}