Guide, node Updating translation committishes..
@end ignore
-@c \version "2.12.0"
+@c \version "2.14.0"
@node Percussion
@section Percussion
@node References for percussion
@unnumberedsubsubsec References for percussion
-TODO add more.
+@c TODO add more references.
@itemize
@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
+@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.
@ref{Percussion notes}.
File:
-@file{ly/@/drumpitch@/-init@/.ly}
+@file{ly/drumpitch-init.ly}
Snippets:
@rlsr{Percussion}.
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
\remove Time_signature_engraver
\override Stem #'transparent = ##t
\override Stem #'Y-extent = ##f
- \override VerticalAxisGroup #'minimum-Y-extent = #'(-4.0 . 5.0)
} \mus
\new Lyrics \nam
>>
@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!
- \override Staff.BarLine #'bar-size = #3
+ % This is necessary; if not entered, the barline would be too short!
+ \override Staff.BarLine #'bar-extent = #'(-1.5 . 1.5)
}
\new DrumStaff {
@end lilypond
Note that in this special case the length of the barline must
-altered with @code{\override Staff.BarLine #'bar-size #number}.
+altered with @code{\override Staff.BarLine #'bar-extent #'(from . to)}.
Otherwise it would be too short. And you have also to define the
positions of the two stafflines. For more information about these
delicate things have a look at @ref{Staff symbol}.
tambustaff = {
\override Staff.StaffSymbol #'line-positions = #'( 0 )
- \override Staff.BarLine #'bar-size = #3
+ \override Staff.BarLine #'bar-extent = #'(-1.5 . 1.5)
\set DrumStaff.instrumentName = #"Tambourine"
}
tamtamstaff = {
\override Staff.StaffSymbol #'line-positions = #'( 0 )
- \override Staff.BarLine #'bar-size = #3
+ \override Staff.BarLine #'bar-extent = #'(-1.5 . 1.5)
\set DrumStaff.instrumentName = #"Tamtam"
}
bellstaff = {
\override DrumStaff.StaffSymbol #'line-positions = #'(-2 3)
\set DrumStaff.drumStyleTable = #(alist->hash-table mydrums)
- \override Staff.BarLine #'bar-size = #3
+ \override Staff.BarLine #'bar-extent = #'(-1.5 . 1.5)
\set DrumStaff.instrumentName = #"Different Bells"
}
However, the default @code{\drummode} does not include the
@code{Parenthesis_engraver} plugin which allows this.
-@lilypond[quote,ragged-right,verbatim,fragment]
+@lilypond[quote,ragged-right,verbatim]
\new DrumStaff \with {
\consists "Parenthesis_engraver"
}