%------------------------------
#(define mesDrums '(
(snare default #f -1)
(triangle default #f 1)))
up = \drummode { tri4 tri8 tri tri2 }
down = \drummode { sn8 sn sn4 sn16 sn sn8 }
\score {
\new DrumStaff \with {
\override StaffSymbol.line-count = #2
\override StaffSymbol.staff-space = #2
%\hide Stem
\override Stem.Y-extent = ##f
% instrumentName = "mes Drums "
drumStyleTable = #(alist->hash-table mesDrums)
}
<<
\new DrumVoice { \voiceOne \up }
\new DrumVoice { \voiceTwo \down }
>>
\layout { }
\midi { }
}
%---------------------------------------
doc ici comme le dit Jean
https://lilypond.org/doc/v2.22/Documentation/notation/common-notation-for-percussion#custom-percussion-staves