]> git.donarmstrong.com Git - lilypond.git/blob - input/lsr/adding-drum-parts.ly
Merge master into nested-bookparts
[lilypond.git] / input / lsr / adding-drum-parts.ly
1 %% Do not edit this file; it is auto-generated from LSR http://lsr.dsi.unimi.it
2 %% This file is in the public domain.
3 \version "2.11.62"
4
5 \header {
6   lsrtags = "rhythms, percussion"
7
8   texidoces = "
9 Mediante la utilización de las potentes herramientas preconfiguradas
10 como la función @code{\\drummode} y el contexto @code{DrumStaff}, la
11 introducción de partes para percusión es muy fácil: las percusiones se
12 sitúan en sus propias posiciones de pentagrama (con una clave
13 especial) y tienen las cabezas correspondientes al instrumento.  Es
14 posible añadir un símbolo adicional a la percusión o reducir el número
15 de líneas.
16
17 "
18   doctitlees = "Escritura de partes de percusión"
19
20   texidoc = "
21 Using the powerful pre-configured tools such as the @code{\\drummode}
22 function and the @code{DrumStaff} context, inputting drum parts is
23 quite easy: drums are placed at their own staff positions (with a
24 special clef symbol) and have note heads according to the drum.
25 Attaching an extra symbol to the drum or restricting the number of
26 lines is possible. 
27
28 "
29   doctitle = "Adding drum parts"
30 } % begin verbatim
31 drh = \drummode { cymc4.^"crash" hhc16^"h.h." hh hhc8 hho hhc8 hh16 hh hhc4 r4 r2 }
32 drl = \drummode { bd4 sn8 bd bd4 << bd ss >>  bd8 tommh tommh bd toml toml bd tomfh16 tomfh }
33 timb = \drummode { timh4 ssh timl8 ssh r timh r4 ssh8 timl r4 cb8 cb }
34
35 \score {
36   <<
37     \new DrumStaff \with {
38       drumStyleTable = #timbales-style
39       \override StaffSymbol #'line-count = #2
40       \override BarLine #'bar-size = #2
41     } <<
42       \set Staff.instrumentName = #"timbales"
43       \timb
44     >>
45     \new DrumStaff <<
46       \set Staff.instrumentName = #"drums"
47       \new DrumVoice { \stemUp \drh }
48       \new DrumVoice { \stemDown \drl }
49     >>
50   >>
51   \layout { }
52   \midi {
53     \context {
54       \Score
55       tempoWholesPerMinute = #(ly:make-moment 120 4)
56     }
57   }
58 }