lilypond-user
[Top][All Lists]
Advanced

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

Re: Misplaced rests


From: Malte Meyn
Subject: Re: Misplaced rests
Date: Wed, 16 Sep 2015 11:31:11 +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:17 schrieb Erich Neuwirth:
%% The rests in the third voice in the middle phrase    {b,8 r8 c r}
%% are placed way too high, close to the triplet beam
%% Can I correct this?

Yes, this is possible. Have a look at the Notation Reference or Learning Manual about polyphony. You will see that LilyPond wants the voices of a polyphonic section in a special order:

<<
  highest
  \\
  lowest
  \\
  second-to-highest
  \\
  second-to-lowest
  \\
  ...
>>

So you should switch the “b8 r c r” and “g4~ g” voices. Then you’ll see that the “g4~ g” voice has its stems up. You can correct that by writing \voiceFour (default behaviour of the third is like \voiceThree).

%%%%%%%%%%%%%%%%%%%%%%%%%%
\version "2.19.27"

lower = \relative c' {
  \clef bass
  \key g \major
  \time 2/4
  <<
    \tuplet 3/2 {b8 d g}
    \\
    {
      g, r
    }
  >>
  <<
    {
      \tuplet 3/2 {g8 d' g}
      \tuplet 3/2 {g,8 e' g}
    }
    \\
    {
      b,,8 r8 c r
    }
    \\
    {
      \voiceFour
      g'4~ g4
    }
  >>
  <<
    \tuplet 3/2 {g8 c g'}
    \\
    {
      e, r
    }
  >>
}

\score {
  <<
    \new Staff  {
      \lower
    }
  >>
}



reply via email to

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