\version "2.19.82" \include "mark-line.ily" \layout { \context { \Score \remove "Timing_translator" \remove "Default_bar_line_engraver" \remove "Repeat_acknowledge_engraver" } \context { \name TimingGroup \type "Engraver_group" \alias StaffGroup \consists "Timing_translator" \consists "Default_bar_line_engraver" \consists "Repeat_acknowledge_engraver" \defaultchild "Staff" %\accepts "ChoirStaff" %\accepts "ChordNames" %\accepts "DrumStaff" %\accepts "FiguredBass" %\accepts "FretBoards" %\accepts "GrandStaff" %\accepts "Lyrics" \accepts "MarkLine" %\accepts "OneStaff" %\accepts "PianoStaff" %\accepts "RhythmicStaff" \accepts "Staff" %\accepts "StaffGroup" %\accepts "TabStaff" } \inherit-acceptability "TimingGroup" "StaffGroup" } timingOne = { \time 3/4 s2.*2 } marksOne = { \tempo 4 = 90 } musicOne = \context Bottom << \timingOne \fixed c' { c4 c c \repeat volta 2 { c c c } } >> timingTwo = { \time 2/4 \set Timing.measureLength = #(ly:make-moment 3/8) s4.*2 \repeat volta 2 { s4.*2 } } marksTwo = { \tempo 4 = 120 } musicTwo = \context Bottom << \timingOne \scaleDurations 3/4 \fixed c' { c4 c c c \repeat volta 2 { c c c c } } >> << \new TimingGroup << \new MarkLine \marksOne \new Staff \musicOne >> \new TimingGroup << \new MarkLine \marksTwo \new Staff \musicTwo \new Staff \musicTwo >> >>