On Fri, May 10, 2024 at 2:07 PM Dmitri Volkov <dmitri.s.vol...@gmail.com>
wrote:

> Apologies for all the emails, but I believe I figured it out. Using \set
> Staff.measureBarType = "" as follows seems to do the trick, although
> there still is a bit of gap where the barline would go.
>
> \version "2.24.3"
>
> stuff = \relative {
>      \set Staff.measureBarType = ""
>      \time 4/4
>      c4 d4 e4 f4 | \bar "|"
>      g4 f4 e4 d4 | \bar "|"
>      c1 | \bar "|"
> }
>
> \score {
>      <<
>          \new Staff \scaleDurations 1/1 \stuff
>          \new Staff \scaleDurations 8/9 \stuff
>      >>
>      \layout {
>          \context {
>              \Staff
>              \consists "Timing_translator"
>          }
>          \context {
>              \Voice
>              \remove "Forbid_line_break_engraver"
>          }
>      }
> }
>

You may want to add...

\layout {
  \enablePolymeter
}

...to your input file.  Have a look at:


https://lilypond.org/doc/v2.24/Documentation/notation/displaying-rhythms#polymetric-notation



--
Knute Snortum

Reply via email to