David, I tried your snippet with a different meter and it gives some weird results. It seems to produce additional bars - I changed the bar after the compound meter to double bar so we can see the extraneous bars. And the notes are not placed properly. Am I doing something totally foolish here?
%%%%%%%%%%%%%%%% \version "2.18.2" musicA = { \compoundMeter #'((2 4) (4 4)) \relative c' { c'2. d4 b2. c4 a2. b4 g2. a4 f2. g4 } } patterning = { \repeat unfold 8 { \set Staff.completionUnit = #(ly:make-moment 2 4) s4. \bar "!" \set Staff.completionUnit = #(ly:make-moment 4 4) s4 \bar "||" } } \score { \new Staff << \new Voice \musicA \new Voice \patterning >> \layout { \context { \Voice \override SpacingSpanner.uniform-stretching = ##t \remove Note_heads_engraver \consists Completion_heads_engraver \remove Rest_engraver \consists Completion_rest_engraver } } } %%%%%%%%%%%%%%% [image: Inline image 1]
_______________________________________________ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user