Ghost notes for drums and percussion may be created using the
@code{\parenthesize} command detailed in @ref{Parentheses}.
-However, the default @code{\drummode} does not include the
-@code{Parenthesis_engraver} plugin which allows this.
@lilypond[quote,ragged-right,verbatim]
-\new DrumStaff \with {
- \consists "Parenthesis_engraver"
-}
+\new DrumStaff
<<
\context DrumVoice = "1" { s1 }
\context DrumVoice = "2" { s1 }
<<
{
hh8[ hh] <hh sn> hh16
- < \parenthesize sn > hh
- < \parenthesize sn > hh8 <hh sn> hh
+ \parenthesize sn hh
+ \parenthesize sn hh8 <hh sn> hh
} \\
{
bd4 r4 bd8 bd r8 bd
>>
@end lilypond
-@noindent
-Also note that you must add chords (@code{< >} brackets)
-around each @code{\parenthesize} statement.
-
@seealso
Snippets:
@rlsr{Percussion}.