lilypond-user
[Top][All Lists]
Advanced

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

Re: triplet beam between staves


From: Malte Meyn
Subject: Re: triplet beam between staves
Date: Wed, 16 Sep 2015 11:43:54 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.2.0



Am 16.09.2015 um 11:33 schrieb Erich Neuwirth:
%% Can I get the beams of the triplets between the staves
%% such that the stems are up up down?

Stem directions can be manually changed by the commands \stemDown, \stemUp, \stemNeutral and by \voiceOne, \voiceTwo, \voiceThree, \voiceFour, \oneVoice. The latter also change tie and dot directions and some other things. You can just use “\once \stemUp” in front of your “g'”s.

Slightly offtopic: It’s easier to use the two voices for the whole measure (or even longer parts of music), you don’t need a << \\ >> for every note:
%%%%%%%%
lower = \relative c' {
  \clef bass
  \key c \major
  \time 2/4
  <<
    {
      \tuplet 3/2 {b8 c  \change Staff = "upper" \once \stemDown g'}
      \change Staff = "lower"
      \tuplet 3/2 {g,8 c \change Staff = "upper" \once \stemDown g'}
      \change Staff = "lower"
    }
    \\
    {
      g,4 d
    }
  >>
}
%%%%%%%%

%% 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

It’s not really LilyPond’s fault: << music othermusic >> tries to make chords from music and othermusic, while << music \\ othermusic >> makes true polyphony. So just add \\ like you did in the first half of the measure.



reply via email to

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