lilypond-user
[Top][All Lists]
Advanced

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

RE: Cross staff stems for beamed notes


From: Mark Stephen Mrotek
Subject: RE: Cross staff stems for beamed notes
Date: Thu, 26 Apr 2018 07:43:22 -0700

Helga,

It has to do with the \voiceOne.

\version "2.19.81"

\layout {
  \context {
    \PianoStaff
    \consists #Span_stem_engraver
  }
}

{
  \new PianoStaff <<
    \new Staff {
      \time 6/8
      r8 <a' a''> <a' a''>
      \voiceOne <a' a''> [<a' a''>]
      \voiceTwo <a' a''>
      
    }
    \new Staff {
      \clef bass
      \time 6/8
      \voiceOne
      r8 a a
      \autoBeamOff
      \crossStaff {a8 a}
      \autoBeamOn
      a
      
    }
  >>
}

Mark

-----Original Message-----
From: lilypond-user
[mailto:address@hidden On Behalf Of
Helge Kruse
Sent: Wednesday, April 25, 2018 10:28 PM
To: address@hidden
Subject: Cross staff stems for beamed notes

I need to add cross staff stems and used the approach found in
http://lilypond.org/doc/v2.19/Documentation/snippets/staff-notation.html#sta
ff-notation-cross-staff-stems

Unfortunately this doesn't give the expected result for eighth notes.
- If the stem points down, cross staff is not working
- The beam is visible in both staves.
- If I use manual beaming to remove the beam, the eighth note is displayed
as a fourth.

How can I resolve all three problems?

Regards,
Helge

\version "2.19.81"

\score {
  <<
    \new PianoStaff <<
      \new Staff { \time 6/8 fis'4. \stemDown a' }
      \new Staff { \time 6/8 \clef bass \crossStaff { <fis fis,>4. < a!
a,!> } }
    >>
    \new PianoStaff <<
      \new Staff { \time 6/8 r8 <a' a''> q \stemUp q[ q] \stemDown q  }
      \new Staff { \time 6/8 \clef bass r8 \crossStaff { a8 a  \stemUp a[ a]
\stemDown a } }
    >>
  >>

  \layout {
    \context {
      \PianoStaff
      \consists #Span_stem_engraver
    }
  }
}

_______________________________________________
lilypond-user mailing list
address@hidden
https://lists.gnu.org/mailman/listinfo/lilypond-user




reply via email to

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