tromboneNotes = \relative c { c16 c c8-. r c16 c d d d8-. r d16 d e e e8-. r e16 e f f f8-. r f16 f e16 e e8-. r e16 e d d d8-. r d16 d e e e8-. d16 d d8-. e16 e e8-. d16 d d8-. } trombone = { \time 4/4 \set Staff.instrument = #"Trombone" \set Staff.midiInstrument = "trombone" \clef bass \repeat volta 20 { \context Staff << \tromboneNotes >> } } drumNotes = \drummode { hh8 sn hh sn hh sn hh sn hh8 sn hh sn hh sn hh sn hh8 sn hh sn hh sn hh sn hh8 sn hh sn hh sn hh sn } drumContents = { \set DrumStaff.instrument = #"Drums" \repeat volta 20 { \time 4/4 << \new DrumVoice { \voiceOne \drumNotes } >> } } \score { << \context Staff = trombone \trombone \new DrumStaff { \drumContents } >> \layout { } } \score { \unfoldrepeats << \new DrumStaff { \drumContents } \context Staff = trombone \trombone >> \midi { \tempo 4=120 } }