bug-lilypond
[Top][All Lists]
Advanced

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

\tripletFeel and \partial


From: Malte Meyn
Subject: \tripletFeel and \partial
Date: Sat, 28 Sep 2019 16:57:35 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.1.1

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 { } }
}

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



reply via email to

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