\version "2.15.22" legoss = \drummode { \compressFullBarRests \override MultiMeasureRest #'expand-limit = #1 \set countPercentRepeats = ##t % intro R1*8 % couplet 1 \bar"||" R1*8 % refrain \bar"||" R1*9 % couplet 2 \bar"||" \repeat percent 8 { \voiceOne << { hh4:16 hh16 hh hh \times 2/3 { hh32 hh hh } hh4:16 hh4:16 } % fin de voiceOne \context Voice="1" { \voiceTwo bd4 r r2 \oneVoice } >> } % fin du repeat percent % refrain \bar"||" \repeat percent 8 { \voiceOne << { hh4:16 hh16 hh hh \times 2/3 { hh32 hh hh } hh4:16 hh4:16 } % fin de voiceOne \context Voice="1" { \voiceTwo bd4 r r2 \oneVoice } >> } % fin du repeat percent r1 r1 } % fin de drummode \score { \new DrumStaff \with { % drumStyleTable = #(alist->hash-table mydrums-style) \override StaffSymbol #'staff-space = #(magstep 2) } << \set DrumStaff.instrumentName = "Drums" % \set Staff.shortInstrumentName = "Dr" % \set DrumStaff.midiInstrument = "standard kit" \new DrumVoice { \legoss } >> \layout { } } %%%%%%%%%%%%