\version "2.12.0" \header { texidoc = "Midi can create drums." } \score { \new DrumStaff << \drummode { bd4 sn4 bd4 sn4 << {\voiceOne \repeat unfold 16 hh16 } \new DrumVoice { \voiceTwo bd4 sn4 bd4 sn4 } >> \oneVoice } >> \layout {} \midi {} }