lilypond-user
[Top][All Lists]
Advanced

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

Merge upStem quarter with downStem 16th


From: Knute Snortum
Subject: Merge upStem quarter with downStem 16th
Date: Tue, 3 Feb 2015 09:47:59 -0800

I am working on a Debussy prelude and I have an odd measure where the up-stem quarter note is merge with the down-stem sixteenth (first beat, see attached picture).


I have gotten this far with typesetting it, but as you can see, the stems aren't merged.


​Any ideas on how to get this to work?  Might source file is below:

\version "2.19.15"
\language "english"

upperStaffTop = \relative c' {
  cs4 <cs' cs'> <cs' cs'> |
}

upperStaffBottom = \relative c' {
  cs16 d fs gs cs d fs gs cs gs fs d |
}

lowerStaffTop = \relative c {
  <<
    \new Voice {
      \voiceThree \crossStaff { cs4 } s2 |
    }
    \new Voice {
      \voiceFour cs16 d fs gs \stemUp cs \clef treble d fs gs cs gs fs d |
    }
  >>  
}

lowerStaffBottom = \relative c,, {
  <cs cs'>4 <cs'' cs'> \clef treble <cs' cs'> |
}

% --- Biolerplate

global = {
  \key a \major
  \time 3/4
}

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 \upperStaff 
      \new Staff \lowerStaff  
    >>
  }
  \layout {
    \context {
      \PianoStaff
      \consists #Span_stem_engraver
    }
  }
}

Knute Snortum
(via Gmail)

reply via email to

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