Translation of GIT committish: FILL-IN-HEAD-COMMITTISH
When revising a translation, copy the HEAD committish of the
- version that you are working on. See TRANSLATION for details.
+ version that you are working on. For details, see the Contributors'
+ Guide, node Updating translation committishes..
@end ignore
@c \version "2.12.0"
and both can be used in input files. The full list of percussion
note names may be found in @ref{Percussion notes}.
-Note that the normal notation of pitches (such as @code{cis4}) in
-a @code{DrumStaff} context will cause an error message.
-Percussion clefs are added automatically to a @code{DrumStaff}
-contex, but other clefs may also be used.
+@cindex clef, percussion
+@cindex percussion clef
+
+Note that the normal notation of pitches (such as @code{cis4}) in a
+@code{DrumStaff} context will cause an error message. Percussion clefs
+are added automatically to a @code{DrumStaff} context but they can also
+be set explicitly. Other clefs may be used as well.
+
+@lilypond[quote,ragged-right,verbatim]
+\drums {
+ \clef treble
+ hh4 hh hh hh
+ \break
+ \clef percussion
+ bd4 bd bd bd
+}
+@end lilypond
+
There are a few issues concerning MIDI support for percussion
instruments; for details please see @ref{Percussion in MIDI}.
The above example shows verbose polyphonic notation. The short
polyphonic notation, described in @rlearning{I'm hearing Voices},
-can also be used if the voices are instantiated by hand first.
+can also be used.
For example,
@lilypond[quote,verbatim]
\new DrumStaff <<
- \new DrumVoice = "1" { s1*2 }
- \new DrumVoice = "2" { s1*2 }
\drummode {
bd4 sn4 bd4 sn4
<< {
property @code{drumStyleTable} in context @code{DrumVoice}. The
following variables have been predefined:
-@c FIXME: decide what to do about this table. (ie verbatim or not)
+@c TODO: decide what to do about this table. (ie verbatim or not)
@table @code
@item drums-style
@lilypond[quote,verbatim]
#(define mydrums '(
- (bassdrum default #f -1)
- (snare default #f 0)
- (hihat cross #f 1)
- (pedalhihat xcircle "stopped" 2)
- (lowtom diamond #f 3)))
-up = \drummode { hh8 hh hh hh hhp4 hhp }
+ (bassdrum default #f -1)
+ (snare default #f 0)
+ (hihat cross #f 1)
+ (halfopenhihat cross "halfopen" 1)
+ (pedalhihat xcircle "stopped" 2)
+ (lowtom diamond #f 3)))
+up = \drummode { hh8 hh hhho hhho hhp4 hhp }
down = \drummode { bd4 sn bd toml8 toml }
\new DrumStaff <<
@snippets
-FIXME: MOVE ALL THESE TO LSR! -gp
+@c TODO: MOVE ALL THESE TO LSR! -gp
Here are some examples:
% It also defines the positions of the two lines.
\override Staff.StaffSymbol #'line-positions = #'(-2 3)
- % This is neccessary; if not entered, the barline would be too short!
+ % This is necessary; if not entered, the barline would be too short!
\override Staff.BarLine #'bar-size = #3
}