lilypond-user
[Top][All Lists]
Advanced

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

triplet beam between staves


From: Erich Neuwirth
Subject: triplet beam between staves
Date: Wed, 16 Sep 2015 11:33:12 +0200

%% Can I get the beams of the triplets between the staves
%% such that the stems are up up down?
%% The second triplet wrongli incorporates the quarternote d,4
%% and the beam also shuld be above the first two notes,]
%% like in the first triplet


\header{
        title = "Triplets across staves, beam between staves"
}


upper = \relative c' {

  \clef treble
  \key c \major
  \time 2/4
  c'2
}

lower = \relative c' {
  \clef bass
  \key c \major
  \time 2/4

    <<
        {\tuplet 3/2 {b8 c  \change Staff = "upper" g'} \change Staff = "lower" 
} \\
    {g,4}
    >>
   <<
        {\tuplet 3/2 {g8 c \change Staff = "upper" g'} \change Staff = "lower" }
    {d,4}
    >>

}

\score {
  <<
    \new PianoStaff  <<
     \new Staff = "upper" \upper
      \new Staff = "lower" \lower
        >>
 >>
 \layout {
    \context { \Staff \RemoveEmptyStaves }
  }
}

Attachment: signature.asc
Description: Message signed with OpenPGP using GPGMail


reply via email to

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