Yes, that would work, but in my application the midi file creation and the
notation file creation are in separate files included by the file where the
notes are specified. It would add some extra communication complexity to
pass along the starting offset. It turns out that adding an invisible
eighth rest is a simpler and cleaner solution in this case.

On Sun, Mar 16, 2025 at 1:24 AM David Kastrup <d...@gnu.org> wrote:

> 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 .
>
>
>
> --
> David Kastrup
>

Reply via email to