I am four measures away from finishing this Debussy Prelude and measure 50
is kicking my butt.

I can't get the cross-staff stems to work and I need to have ottavation in
just one voice in the lower staff.  Here
<https://drive.google.com/file/d/0B_aEseOV9KTXcGE3LTJDOWllUk0/view?usp=sharing>
is how it should look.  Here is my best try:

\version "2.19.15"
\language "english"

hideTimeSignature = \once \override Staff.TimeSignature.stencil = ##f

global = {
  \key a \major
  \accidentalStyle piano
}

% --- Four Voices

upperStaffTop = \relative c'' {
  \hideTimeSignature \time 5/4
  a2. ~ a2 |
  \hideTimeSignature \time 3/4
  \voiceOne r8 <cs a' cs> ~ q4 r
}

upperStaffBottom = \relative c' {
  \hideTimeSignature \time 5/4
  cs2. ~ cs2 |
  \hideTimeSignature \time 3/4
  \acciaccatura { <ds fs>8 } <cs e>8^. ^( q8^. ) ~ q2 |
}

lowerStaffTop = \relative c {
  \hideTimeSignature \time 5/4
  e2. ~ e2
  \hideTimeSignature \time 3/4
  \stemDown
  \acciaccatura { <fs b>8 } <e a>8 \crossStaff { q8 ~ q2 } |
}

lowerStaffBottom = \relative c {
  \hideTimeSignature \time 5/4
  a2. ~ a2
  \hideTimeSignature \time 3/4
  \voiceFour r4 \ottava #-1 a,, \ottava #0 r
}

% --- Biolerplate

upperStaff = {
  \clef treble
  \global
  <<
    \new Voice { \voiceOne \upperStaffTop }
    \new Voice { \voiceTwo \upperStaffBottom }
  >>
}

lowerStaff = {
  \clef bass
  \global
  <<
    \new Voice { \voiceThree \lowerStaffTop }
    \new Voice { \voiceFour \lowerStaffBottom }
  >>
}

\score {
  \new PianoStaff <<
    \new Staff = "upper" { \upperStaff }
    \new Staff = "lower" { \lowerStaff }
  >>
  \layout {
    \context {
      \PianoStaff
      \consists #Span_stem_engraver
    }
  }
}

Knute Snortum
(via Gmail)
_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to