Previous: Custom percussion staves, Up: Common notation for percussion


2.5.1.7 Ghost notes

Ghost notes for drums and percussion may be created using the \parenthesize command detailed in Parentheses. However, the default \drummode does not include the Parenthesis_engraver plugin which allows this.

     
     \new DrumStaff \with {
       \consists "Parenthesis_engraver"
     } <<
       \context DrumVoice  = "1"  { s1 *2 }
       \context DrumVoice  = "2" { s1 *2 }
       \drummode {
         <<
           {
             hh8[ hh] <hh sn> hh16
             < \parenthesize sn > hh
             < \parenthesize sn > hh8 <hh sn> hh
           } \\ {
             bd4 r4 bd8 bd r8 bd
           }
         >>
       }
     >>

[image of music]

Also note that you must add chords (< > brackets) around each \parenthesize statement.

See also

Snippets: Percussion.

This page is for LilyPond-2.11.58 (development-branch).

Report errors to http://post.gmane.org/post.php?group=gmane.comp.gnu.lilypond.bugs.

Your suggestions for the documentation are welcome.

Other languages: français, español, deutsch.