X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=Documentation%2Fnotation%2Fpercussion.itely;h=da730eb5f3b944bf72299b193d0ced9cbf8eb5cd;hb=5d84bfad4626892bcffd05adcced53c8a2329047;hp=52e08335db9a83f16375e079ad4ecd86669cd0da;hpb=f25b23eb6fbbf83489dfac39f1908ab13a75b4b9;p=lilypond.git diff --git a/Documentation/notation/percussion.itely b/Documentation/notation/percussion.itely index 52e08335db..da730eb5f3 100644 --- a/Documentation/notation/percussion.itely +++ b/Documentation/notation/percussion.itely @@ -7,7 +7,7 @@ Guide, node Updating translation committishes.. @end ignore -@c \version "2.17.6" +@c \version "2.17.30" @node Percussion @section Percussion @@ -44,7 +44,7 @@ discussed in @ref{Showing melody rhythms}, and @ref{Instantiating new staves}. @item MIDI output is discussed in a separate section; please see -@ref{Percussion in MIDI}. +@ref{MIDI instruments}. @end itemize @@ -52,7 +52,7 @@ discussed in @ref{Showing melody rhythms}, and Notation Reference: @ref{Showing melody rhythms}, @ref{Instantiating new staves}. -@ref{Percussion in MIDI}. +@ref{MIDI instruments}. Snippets: @rlsr{Percussion}. @@ -78,10 +78,8 @@ which creates the correct context and entry mode for percussion: This is shorthand for: @lilypond[quote,verbatim] -\new DrumStaff { - \drummode { - hihat4 hh bassdrum bd - } +\new DrumStaff \drummode { + hihat4 hh bassdrum bd } @end lilypond @@ -100,19 +98,19 @@ be set explicitly. Other clefs may be used as well. @lilypond[quote,ragged-right,verbatim] \drums { \clef percussion - bd4 bd bd bd + bd4 4 4 4 \clef treble - hh4 hh hh hh + hh4 4 4 4 } @end lilypond There are a few issues concerning MIDI support for percussion -instruments; for details please see @ref{Percussion in MIDI}. +instruments; for details please see @ref{MIDI instruments}. @seealso Notation Reference: -@ref{Percussion in MIDI}, +@ref{MIDI instruments}, @ref{Percussion notes}. Installed Files: @@ -135,10 +133,10 @@ as described in @ref{Tremolo repeats}. @lilypond[quote,verbatim] \drums { \time 2/4 - sn16 sn8 sn16 sn8 sn8:32 ~ - sn8 sn8 sn4:32 ~ - sn4 sn8 sn16 sn16 - sn4 r4 + sn16 8 16 8 8:32 ~ + 8 8 4:32 ~ + 4 8 16 16 + 4 r4 } @end lilypond @@ -150,9 +148,9 @@ 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" 16^"R" 16^"L" 16^"L" 16^"R" 16^"L" 16^"R" 16^"R" \stemUp - sn16_"L" sn_"R" sn_"L" sn_"L" sn_"R" sn_"L" sn_"R" sn_"R" + sn16_"L" 16_"R" 16_"L" 16_"L" 16_"R" 16_"L" 16_"R" 16_"R" } } @end lilypond @@ -168,16 +166,13 @@ Snippets: @node Pitched percussion @unnumberedsubsubsec Pitched percussion -Certain pitched percussion instruments (e.g. xylophone, +Certain pitched percussion instruments (e.g., xylophone, 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 -@c pitched percussion sounds. -gp Notation Reference: -@ref{Percussion in MIDI}. +@ref{MIDI instruments}. Snippets: @rlsr{Percussion}. @@ -247,8 +242,7 @@ mus = \drummode { << \new DrumStaff \with { \remove "Bar_engraver" \remove "Time_signature_engraver" - \override Stem.transparent = ##t - \override Flag.transparent = ##t + \hide Stem \override Stem.Y-extent = ##f } \mus \new Lyrics \nam @@ -268,6 +262,37 @@ toms, simply select the toms that produce the desired result. For example, to get toms on the three middle lines you use @code{tommh}, @code{tomml}, and @code{tomfh}. +@item agostini-drums-style +Invented by the French percussionist Dante Agostini in 1965, this notation is +commonly employed in France but also elsewhere. + +@lilypond[quote,line-width=10.0\cm] +nam = \lyricmode { + cymc cyms cymr hh hhc hho hhho hhp + cb hc bd sn ss tomh tommh tomml toml tomfh tomfl } +mus = \drummode { + cymc cyms cymr hh hhc hho hhho hhp \break + cb hc bd sn ss tomh tommh tomml toml tomfh tomfl s16 } +\score { + << \new DrumStaff \with { + \remove "Bar_engraver" + \remove "Time_signature_engraver" + \hide Stem + \override Stem.Y-extent = ##f + drumStyleTable = #agostini-drums-style + } \mus + \new Lyrics \nam + >> + \layout { + \context { + \Score + \override LyricText.font-family = #'typewriter + \override BarNumber.transparent =##T + } + } +} +@end lilypond + @item timbales-style This typesets timbales on a two line staff: @@ -279,8 +304,7 @@ mus = \drummode { timh ssh timl ssl cb s16 } \new DrumStaff \with { \remove "Bar_engraver" \remove "Time_signature_engraver" - \override Stem.transparent = ##t - \override Flag.transparent = ##t + \hide Stem \override Stem.Y-extent = ##f \override StaffSymbol.line-count = #2 \override StaffSymbol.staff-space = #2 @@ -310,8 +334,7 @@ mus = \drummode { cgh cgho cghm ssh cgl cglo cglm ssl s16 } %% this sucks; it will lengthen stems. \override StaffSymbol.staff-space = #2 - \override Stem.transparent = ##t - \override Flag.transparent = ##t + \hide Stem \override Stem.Y-extent = ##f } \mus \new Lyrics { @@ -337,8 +360,7 @@ mus = \drummode { boh boho bohm ssh bol bolo bolm ssl s16 } %% this sucks; it will lengthen stems. \override StaffSymbol.staff-space = #2 - \override Stem.transparent = ##t - \override Flag.transparent = ##t + \hide Stem \override Stem.Y-extent = ##f } \mus \new Lyrics { @@ -361,8 +383,7 @@ mus = \drummode { tri trio trim gui guis guil cb cl tamb cab mar hc s16 } drumStyleTable = #percussion-style \override StaffSymbol.line-count = #1 \remove "Time_signature_engraver" - \override Stem.transparent = ##t - \override Flag.transparent = ##t + \hide Stem \override Stem.Y-extent = ##f } \mus \new Lyrics { @@ -431,8 +452,8 @@ woodstaff = { \drummode { \time 2/4 - wbl8 wbl16 wbl wbh8-> wbl | - wbl8 wbl16 wbh-> ~ wbh wbl16 r8 | + wbl8 16 16 8-> 8 | + wbl8 16 16-> ~ 16 16 r8 | } } @end lilypond @@ -445,27 +466,22 @@ delicate things have a look at @ref{Staff symbol}. A tambourine, entered with @q{tamb}: -@lilypond[quote,verbatim] +@lilypond[verbatim,quote] #(define mydrums '((tambourine default #t 0))) -tambustaff = { - \override Staff.StaffSymbol.line-positions = #'( 0 ) - \override Staff.BarLine.bar-extent = #'(-1.5 . 1.5) - \set DrumStaff.instrumentName = #"Tambourine" -} +\new DrumStaff \with { instrumentName = #"Tambourine" } -\new DrumStaff { - \tambustaff +\drummode { \set DrumStaff.drumStyleTable = #(alist->hash-table mydrums) + \override Staff.StaffSymbol.line-positions = #'( 0 ) + \override Staff.BarLine.bar-extent = #'(-1.5 . 1.5) - \drummode { - \time 6/8 - tamb8. tamb16 tamb8 tamb tamb tamb | - tamb4. tamb8 tamb tamb | - % the trick with the scaled duration and the shorter rest - % is neccessary for the correct ending of the trill-span! - tamb2.*5/6 \startTrillSpan s8 \stopTrillSpan | - } + \time 6/8 + tamb8. 16 8 8 8 8 | + tamb4. 8 8 8 | + % the trick with the scaled duration and the shorter rest + % is neccessary for the correct ending of the trill-span! + tamb2.*5/6 \startTrillSpan s8 \stopTrillSpan | } @end lilypond @@ -474,19 +490,14 @@ Music for Tam-Tam (entered with @q{tt}): @lilypond[quote,verbatim] #(define mydrums '((tamtam default #t 0))) -tamtamstaff = { - \override Staff.StaffSymbol.line-positions = #'( 0 ) - \override Staff.BarLine.bar-extent = #'(-1.5 . 1.5) - \set DrumStaff.instrumentName = #"Tamtam" -} +\new DrumStaff \with { instrumentName = #"Tamtam" } -\new DrumStaff { - \tamtamstaff - \set DrumStaff.drumStyleTable = #(alist->hash-table mydrums) +\drummode { +\set DrumStaff.drumStyleTable = #(alist->hash-table mydrums) +\override Staff.StaffSymbol.line-positions = #'( 0 ) +\override Staff.BarLine.bar-extent = #'(-1.5 . 1.5) - \drummode { - tt 1 \pp \laissezVibrer - } + tt 1 \pp \laissezVibrer } @end lilypond @@ -496,20 +507,16 @@ Two different bells, entered with @q{cb} (cowbell) and @q{rb} (ridebell) #(define mydrums '((ridebell default #t 3) (cowbell default #t -2))) -bellstaff = { - \override DrumStaff.StaffSymbol.line-positions = #'(-2 3) +\new DrumStaff \with { instrumentName = #"Different Bells" } + +\drummode { \set DrumStaff.drumStyleTable = #(alist->hash-table mydrums) + \override DrumStaff.StaffSymbol.line-positions = #'(-2 3) \override Staff.BarLine.bar-extent = #'(-1.5 . 1.5) - \set DrumStaff.instrumentName = #"Different Bells" -} -\new DrumStaff { - \bellstaff - \drummode { - \time 2/4 - rb8 rb cb cb16 rb-> ~ | - rb16 rb8 rb16 cb8 cb | - } + \time 2/4 + rb8 8 cb8 16 rb16-> ~ | + 16 8 16 cb8 8 | } @end lilypond @@ -554,22 +561,22 @@ drumsB = { \score { \new StaffGroup << - \new DrumStaff { - \set DrumStaff.instrumentName = \markup { + \new DrumStaff \with { + instrumentName = \markup { \column { "Tambourine" "et" "caisse claire s. timbre" } } - \set DrumStaff.drumStyleTable = #(alist->hash-table mydrums) - \drumsA - } - - \new DrumStaff { - \set DrumStaff.instrumentName = #"Grosse Caisse" - \set DrumStaff.drumStyleTable = #(alist->hash-table mydrums) - \drumsB } + drumStyleTable = #(alist->hash-table mydrums) + } + \drumsA + \new DrumStaff \with { + instrumentName = #"Grosse Caisse" + drumStyleTable = #(alist->hash-table mydrums) + } + \drumsB >> } @end lilypond @@ -589,35 +596,27 @@ Internals Reference: Ghost notes for drums and percussion may be created using the @code{\parenthesize} command detailed in @ref{Parentheses}. -However, the default @code{\drummode} does not include the -@code{Parenthesis_engraver} plugin which allows this. @lilypond[quote,ragged-right,verbatim] -\new DrumStaff \with { - \consists "Parenthesis_engraver" -} +\new DrumStaff << \context DrumVoice = "1" { s1 } \context DrumVoice = "2" { s1 } \drummode { << { - hh8[ hh] hh16 - < \parenthesize sn > hh - < \parenthesize sn > hh8 hh + hh8[ 8] hh16 + \parenthesize sn hh + \parenthesize sn hh8 hh } \\ { - bd4 r4 bd8 bd r8 bd + bd4 r4 bd8 8 r8 bd } >> } >> @end lilypond -@noindent -Also note that you must add chords (@code{< >} brackets) -around each @code{\parenthesize} statement. - @seealso Snippets: @rlsr{Percussion}.