Eric Benson <ebseat...@gmail.com> writes: > Here's a minimal example: > > \include "swing.ly" > > > \score { > > \tripletFeel 8 { > > \partial 8 e8 | a2. \tuplet 3/2 { e8 e8 e8 } | > > } > > \midi{} > } > > produces > > xx.ly:5:19: warning: bar check failed at: 1/24
Sounds like a case for \applySwingWithOffset .
\include "swing.ly" tripletWithOffset = #(define-music-function (swingDiv offset music) (ly:duration? duration-or-music? ly:music?) #{ \applySwingWithOffset #swingDiv 2,1 \musicLength $offset #music #}) \score { \tripletWithOffset 8 8 { \partial 8 e8 | a2. \tuplet 3/2 { e8 e8 e8 } | } \midi{} }
-- David Kastrup