Hi Bart,

But this results in a situation where the 8ths are not lined up as 4ths, which is what I need.

Anyone here who knows how it might be done?

Maybe something like this?

\version "2.23.0"

music = \relative c' {c'4 c c c }
musicTwo = \relative c' {c'8 c c c }

\score {
  <<
    \new Staff {
      \time 4/4
      \set Timing.measureLength = #(ly:make-moment 4/8)
      \scaleDurations 1/2 \music
    }
    \new Staff {\time 4/8 \musicTwo}

  >>
  \layout {
    \context {
      \Score
      \remove "Timing_translator"
      \remove "Default_bar_line_engraver"
    }
    \context {
      \Staff
      \consists "Timing_translator"
      \consists "Default_bar_line_engraver"
    }
  }
}

But in fact, I think one does not need to shift the Timing_translator to the staff context at all: It should suffice to use \scaleDurations and a manual tweak of the displayed time signature for one staff.

Lukas


Reply via email to