lilypond-user
[Top][All Lists]
Advanced

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

Re: Differently headed does not merge.


From: Pierre Perol-Schneider
Subject: Re: Differently headed does not merge.
Date: Thu, 13 Nov 2014 12:34:07 +0100

Hi Peter, Hi Joram,

2014-11-13 10:05 GMT+01:00 Peter Terpstra <address@hidden>:

Dear People,
Found a problem with merging differently headed in the next example:

\version "2.18.2"
\relative c {
  \key d \major
  \clef "treble_8"
  \mergeDifferentlyHeadedOn
  \mergeDifferentlyDottedOn
<< { <a''-2>2 ~ a8<d-4>8<cis-3><a-4> }\\
   { d,,,8 a' <fis'-2><cis'-3> b2 }\\
   { d,,2 s } >>
}

Is there a solution to this?

Defing voices would help.
Here's what you're looking for :

\version "2.18.2"
% your notation:
\relative c {
  \key d \major
  \clef "treble_8"
  <<
    { <a''-2>2 ~ a8<d-4>8<cis-3><a-4> }\\
    \voiceTwo {
      \tweak NoteHead.stencil ##f d,,,8 a'
      <fis'-2><cis'-3> b2
    }\\
    \voiceThree { d,,2 s }
  >>
}

% here's how I'd do:
{
  \key d \major
  \clef "treble_8"
  <<
    { <a'-2>2 ~ q8 <d''-4>8 <cis''-3> <a'-4> }\\
    \voiceThree {
      \set fingeringOrientations = #'(left)
      \tweak NoteHead.stencil ##f
      d,8 a, <fis-1> <cis'-3> s2
    }\\
    \voiceTwo { d,2 b }
  >>
}


Cheers,
Pierre


reply via email to

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