Hello.

In the attached file, I want to stack two "PianoStaff" (each with their
own lyrics and figured bass lines). [See attached pdf.]
But I can't figure out why the lyrics and figures intended for the first
piano (setup in lines 58-59) come *after* the second piano. [And if I add
those to the second piano I get 4 lines below the second piano.]

I'm probably missing something obvious :-{

Thanks,
Gilles
\version "2.6.0"

soprano = \relative c'' {
  \time 4/4
%
  e4
%
  \bar "|."
}

alto = \relative c'' {
%
  g4
}

tenor = \relative c {
%
  c'4
}

basse =  \relative c {
%
  \override Score.RehearsalMark #'padding = #2.0
  \mark \markup { "C major" }
%
  c4 
}

degrees = \lyricmode {
  I 
}

realizationFigures = \figuremode {
%
  \override FiguredBass.BassFigure #'direction = #-1
  \override FiguredBass.BassFigure #'kern = #-0.5
%
  <5 3>4 
}

upper = \context Staff = "Upper" {
  \clef G
  \key c \major
  <<
    \context Voice = "Soprano" { \voiceOne \soprano }
    \context Voice = "Alto" { \voiceTwo \alto }
  >>
}

lower = \context Staff = "Lower" {
  \set Staff.instrument = \markup{ \column { " " { "C.F." } } \hspace #2 }
  \set Staff.instr = \markup{ \column { " " { "C.F." } } \hspace #2 }
  \clef F
  \key c \major
  <<
    \context Voice = "Tenor" { \voiceOne \tenor }
    \context Voice = "Basse" { \voiceTwo \basse }
    \lyricsto "Basse" \new Lyrics \degrees
    \new FiguredBass { \realizationFigures }
  >>
}

pianoStaff = \context PianoStaff = "Piano" <<
  \upper
  \lower
>>

upperCorrection = \context Staff = "UpperCorrection" {
  \clef G
  \key c \major
  <<
    \context Voice = "SopranoCorrection" { \hideNotes \voiceOne \soprano }
    \context Voice = "AltoCorrection" { \hideNotes \voiceTwo \alto }
  >>
}

lowerCorrection = \context Staff = "LowerCorrection" {
  \set Staff.instrument = \markup{ \column { " " { "C.F." } } \hspace #2 }
  \set Staff.instr = \markup{ \column { " " { "C.F." } } \hspace #2 }
  \clef F
  \key c \major
  <<
    \context Voice = "TenorCorrection" { \hideNotes \voiceOne \tenor }
    \context Voice = "BasseCorrection" { \voiceTwo \basse }
%    \lyricsto "BasseCorrection" \new Lyrics \degrees
%    \new FiguredBass { \realizationFigures }
  >>
}

pianoStaffCorrection = \context PianoStaff = "PianoCorrection" <<
  \upperCorrection
  \lowerCorrection
>>

doublePianoStaff = <<
  \pianoStaff
  \pianoStaffCorrection
>>

\score {
  \doublePianoStaff
  \layout  {}
}

Attachment: test2.pdf
Description: Adobe PDF document

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

Reply via email to