LSR: Update.
[lilypond.git] / input / lsr / adding-drum-parts.ly
blob21ef19dfd8838826aff40df41c3b21811ba16c73
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.66"
5 \header {
6 lsrtags = "rhythms, percussion"
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.
18 doctitlees = "Escritura de partes de percusión"
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.
29 doctitle = "Adding drum parts"
30 } % begin verbatim
32 drh = \drummode { cymc4.^"crash" hhc16^"h.h." hh hhc8 hho hhc8 hh16 hh hhc4 r4 r2 }
33 drl = \drummode { bd4 sn8 bd bd4 << bd ss >> bd8 tommh tommh bd toml toml bd tomfh16 tomfh }
34 timb = \drummode { timh4 ssh timl8 ssh r timh r4 ssh8 timl r4 cb8 cb }
36 \score {
38 \new DrumStaff \with {
39 drumStyleTable = #timbales-style
40 \override StaffSymbol #'line-count = #2
41 \override BarLine #'bar-size = #2
42 } <<
43 \set Staff.instrumentName = #"timbales"
44 \timb
46 \new DrumStaff <<
47 \set Staff.instrumentName = #"drums"
48 \new DrumVoice { \stemUp \drh }
49 \new DrumVoice { \stemDown \drl }
52 \layout { }
53 \midi {
54 \context {
55 \Score
56 tempoWholesPerMinute = #(ly:make-moment 120 4)