Adding drum parts: Difference between revisions

Import snippet from LSR
 
m Replace version="2.24.0" with version="2.24" now that the LilyWiki extension supports auto-selecting the latest release in a stable series
Line 1: Line 1:
Using the powerful pre-configured tools such as the <code>\drummode</code> function and the <code>DrumStaff</code> context, inputting drum parts is quite easy: drums are placed at their own staff positions (with a special clef symbol) and have note heads according to the drum. Attaching an extra symbol to the drum or restricting the number of lines is possible.
Using the powerful pre-configured tools such as the <code>\drummode</code> function and the <code>DrumStaff</code> context, inputting drum parts is quite easy: drums are placed at their own staff positions (with a special clef symbol) and have note heads according to the drum. Attaching an extra symbol to the drum or restricting the number of lines is possible.


<lilypond version="2.24.0">
<lilypond version="2.24">
drh = \drummode {
drh = \drummode {
         cymc4.^"crash" hhc16^"h.h." hh hhc8 hho hhc8 hh16 hh
         cymc4.^"crash" hhc16^"h.h." hh hhc8 hho hhc8 hh16 hh