Guide, node Updating translation committishes..
@end ignore
-@c \version "2.13.36"
+@c \version "2.15.10"
@node Percussion
@section Percussion
@node References for percussion
@unnumberedsubsubsec References for percussion
-TODO add more.
+@c TODO add more references.
@itemize
@end itemize
-
@seealso
Notation Reference:
@ref{Showing melody rhythms},
@lilypond[quote,ragged-right,verbatim]
\drums {
- \clef treble
- hh4 hh hh hh
- \break
\clef percussion
bd4 bd bd bd
+ \clef treble
+ hh4 hh hh hh
}
@end lilypond
There are a few issues concerning MIDI support for percussion
instruments; for details please see @ref{Percussion in MIDI}.
-
@seealso
Notation Reference:
@ref{Percussion in MIDI},
@ref{Percussion notes}.
-File:
-@file{ly/@/drumpitch@/-init@/.ly}
+Installed Files:
+@file{ly/drumpitch-init.ly}.
Snippets:
@rlsr{Percussion}.
eighth notes are shown with two slashes (the beam being the
third), and drum rolls shorter than eighths have one stem slash to
supplement the beams. This is achieved with the tremolo notation,
-@code{:32}, as described in @ref{Tremolo repeats}. Here is an
-example of some snare rolls:
+as described in @ref{Tremolo repeats}.
@lilypond[quote,verbatim]
\drums {
}
@end lilypond
-Sticking can be indicated by placing @code{^"R"} or @code{^"L"}
-after the note. The @code{staff-padding} property may be
-overridden to achieve a pleasing baseline.
+Sticking can be indicated by placing a markup for @code{"R"}
+or @code{"L"} above or below notes, as discussed in
+@ref{Direction and placement}. The @code{staff-padding} property
+may be overridden to achieve a pleasing baseline.
@lilypond[quote,verbatim]
\drums {
\repeat unfold 2 {
- sn16 ^"L" sn^"R" sn^"L" sn^"L" sn^"R" sn^"L" sn^"R" sn^"R"
+ sn16^"L" sn^"R" sn^"L" sn^"L" sn^"R" sn^"L" sn^"R" sn^"R"
+ \stemUp
+ sn16_"L" sn_"R" sn_"L" sn_"L" sn_"R" sn_"L" sn_"R" sn_"R"
}
}
@end lilypond
-
@seealso
+Notation Reference:
+@ref{Tremolo repeats}.
+
Snippets:
@rlsr{Percussion}.
vibraphone, and timpani) are written using normal staves.
This is covered in other sections of the manual.
-
@seealso
@c TODO: possibly link to an alternate section of NR 3.5, if
@c "percussion in MIDI" gets a separate subsubsection for
\remove Bar_engraver
\remove Time_signature_engraver
\override Stem #'transparent = ##t
+ \override Flag #'transparent = ##t
\override Stem #'Y-extent = ##f
- \override VerticalAxisGroup #'minimum-Y-extent = #'(-4.0 . 5.0)
} \mus
\new Lyrics \nam
>>
\remove Bar_engraver
\remove Time_signature_engraver
\override Stem #'transparent = ##t
+ \override Flag #'transparent = ##t
\override Stem #'Y-extent = ##f
\override StaffSymbol #'line-count = #2
\override StaffSymbol #'staff-space = #2
%% this sucks; it will lengthen stems.
\override StaffSymbol #'staff-space = #2
\override Stem #'transparent = ##t
+ \override Flag #'transparent = ##t
\override Stem #'Y-extent = ##f
} \mus
\new Lyrics {
%% this sucks; it will lengthen stems.
\override StaffSymbol #'staff-space = #2
\override Stem #'transparent = ##t
+ \override Flag #'transparent = ##t
\override Stem #'Y-extent = ##f
} \mus
\new Lyrics {
\override StaffSymbol #'line-count = #1
\remove Time_signature_engraver
\override Stem #'transparent = ##t
+ \override Flag #'transparent = ##t
\override Stem #'Y-extent = ##f
} \mus
\new Lyrics {
\override Staff.StaffSymbol #'line-positions = #'(-2 3)
% This is necessary; if not entered, the barline would be too short!
- \override Staff.BarLine #'bar-size = #3
+ \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"
}
}
@end lilypond
-
@seealso
Snippets:
@rlsr{Percussion}.
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"
}
Also note that you must add chords (@code{< >} brackets)
around each @code{\parenthesize} statement.
-
@seealso
Snippets:
@rlsr{Percussion}.