Hi list,

\tripletFeel doesn’t automatically work with \partial. IIUC, \tripletFeet x is just a shortcut for \applySwing x #'(2 1) and one can use \applySwingWithOffset for music with upbeat. I tried that but cannot get it to work properly. In the following code, left and right hand are offset against each other. What am I (or LilyPond) doing wrong?

I’m writing this to the bug list because it’s a 2.21 feature and at least from the existing documentation I’m not able to produce correct output which is a program or documentation bug ;)

Cheers,
Malte

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

\version "2.21.0"
\language "deutsch"
\include "swing.ly"

perdido = \new PianoStaff <<
  \new Staff \relative {
    \key b \major
    \partial 8
    c'8 es f~ 2 r8 c es f4 c8 es f4 b,8 d f~ 2 r8
    b, d f4 b,8 d f4 c8 es f~ 2 r8 c es f d' c~ 4. f,8 g b~ 2.~ 2 r4 r8
    \bar "|."
  }
  \new Staff \relative {
    \clef bass
    \key b \major
    r8 c4 c c c f, f f f b b b b d d g, g c c c c f, f f f b b b b b2 r4 r8
  }
>>

\book {
  \bookOutputSuffix "perdido"
  \header { title = "Perdido" }
  \score { \perdido }
\score { \applySwingWithOffset 8 #'(2 1) #(ly:make-moment 1/8) \perdido \midi { } }
}

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

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

Reply via email to