]> git.donarmstrong.com Git - lilypond.git/blob - input/lsr/adding-drum-parts.ly
Merge branch 'master' of ssh://jomand@git.sv.gnu.org/srv/git/lilypond into lilypond...
[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.12.0"
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   texidocfr = "
21 Grâce à la puissance des outils préconfigurés tels que la fonction
22 @code{\\drummode} et le contexte @code{DrumStaff}, la saisie de 
23 parties pour percussions est extrêmement simplifiée : chaque composant
24 d'une batterie trouve sa place sur une portée dédiée (avec une clef 
25 spécifique) et les têtes de note sont spécifiques à chaque élément.  
26 Il est également possible d'affecter un symbole particulier à chaque 
27 élément, tout comme de restreindre le nombre de lignes de la portée.
28
29 "
30
31   doctitlefr = "Ajout de parties de batterie"
32
33
34   texidoc = "
35 Using the powerful pre-configured tools such as the @code{\\drummode}
36 function and the @code{DrumStaff} context, inputting drum parts is
37 quite easy: drums are placed at their own staff positions (with a
38 special clef symbol) and have note heads according to the drum.
39 Attaching an extra symbol to the drum or restricting the number of
40 lines is possible. 
41
42 "
43   doctitle = "Adding drum parts"
44 } % begin verbatim
45
46 drh = \drummode { cymc4.^"crash" hhc16^"h.h." hh hhc8 hho hhc8 hh16 hh hhc4 r4 r2 }
47 drl = \drummode { bd4 sn8 bd bd4 << bd ss >>  bd8 tommh tommh bd toml toml bd tomfh16 tomfh }
48 timb = \drummode { timh4 ssh timl8 ssh r timh r4 ssh8 timl r4 cb8 cb }
49
50 \score {
51   <<
52     \new DrumStaff \with {
53       drumStyleTable = #timbales-style
54       \override StaffSymbol #'line-count = #2
55       \override BarLine #'bar-size = #2
56     } <<
57       \set Staff.instrumentName = #"timbales"
58       \timb
59     >>
60     \new DrumStaff <<
61       \set Staff.instrumentName = #"drums"
62       \new DrumVoice { \stemUp \drh }
63       \new DrumVoice { \stemDown \drl }
64     >>
65   >>
66   \layout { }
67   \midi {
68     \context {
69       \Score
70       tempoWholesPerMinute = #(ly:make-moment 120 4)
71     }
72   }
73 }