Hello,

Whilst typesetting a partition with a duple meter in the upper part and
a triple one in the lower (in the form of triplets), I find that the
upper 16ths are not properly positionned horizontally: they should come
after the 3rd beat of the triplet (3/4 > 2/3), but they are sometimes
either vertically aligned or even coming before the last triplet chord!

Is there a workaround for this, or am I doing something wrong?

See the attached .ly and .png.  I'm using 2.8.6.

Thanks for your help,
Raphael
\version "2.8.6"
TimeKey = { \time 2/4 \key g \minor }
VoiceOne = \relative c'' {
  g4^\( g8. g16 | a4 a8. a16 | bes4 bes8. bes16 | c8. c16 c4\) |
}
VoiceTwo = \relative c {
  \set tupletSpannerDuration = #(ly:make-moment 1 4)
  \times 2/3 {
        \repeat unfold 2 { r8\sustainDown <g bes d> <g bes d>\sustainUp } |
        \repeat unfold 2 { r8\sustainDown <fis g d> <fis g d>\sustainUp } |
        \repeat unfold 2 { r8\sustainDown <g bes d> <g bes d>\sustainUp } |
        \repeat unfold 2 { r8\sustainDown <g c ees> <g c ees>\sustainUp } |
  }
}
VoiceThree = \relative c {
  g4 g | d d | g g | ees ees |
}
Music = \new PianoStaff <<
  \context Staff = up {
        #(set-accidental-style 'modern)
        \clef treble \TimeKey
        \VoiceOne
        \bar "|."
  }
  \context Staff = down <<
        #(set-accidental-style 'modern)
        \clef bass \TimeKey
        \context Voice = two { \voiceOne \VoiceTwo }
        \context Voice = three { \voiceTwo \VoiceThree }
  >>
>>

\score {
  \Music
  \header {
        piece = "Badly positionned 16th in upper voice"
  }
  \layout {}
}

Attachment: bug.png
Description: PNG image

_______________________________________________
bug-lilypond mailing list
bug-lilypond@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-lilypond

Reply via email to