]> git.donarmstrong.com Git - lilypond.git/blob - Documentation/snippets/adding-drum-parts.ly
Merge branch 'translation' of ssh://git.sv.gnu.org/srv/git/lilypond into translation
[lilypond.git] / Documentation / snippets / adding-drum-parts.ly
1 %% DO NOT EDIT this file manually; it is automatically
2 %% generated from LSR http://lsr.dsi.unimi.it
3 %% Make any changes in LSR itself, or in Documentation/snippets/new/ ,
4 %% and then run scripts/auxiliar/makelsr.py
5 %%
6 %% This file is in the public domain.
7 \version "2.15.32"
8
9 \header {
10   lsrtags = "preparing-parts, specific-notation, percussion, really-simple, rhythms"
11
12 %% Translation of GIT committish: b482c3e5b56c3841a88d957e0ca12964bd3e64fa
13   texidoces = "
14 Mediante la utilización de las potentes herramientas preconfiguradas
15 como la función @code{\\drummode} y el contexto @code{DrumStaff}, la
16 introducción de partes para percusión es muy fácil: las percusiones se
17 sitúan en sus propias posiciones de pentagrama (con una clave
18 especial) y tienen las cabezas correspondientes al instrumento.  Es
19 posible añadir un símbolo adicional a la percusión o reducir el número
20 de líneas.
21
22 "
23   doctitlees = "Escritura de partes de percusión"
24
25
26 %% Translation of GIT committish: 3b125956b08d27ef39cd48bfa3a2f1e1bb2ae8b4
27   texidocfr = "
28 Grâce à la puissance des outils préconfigurés tels que la fonction
29 @code{\\drummode} et le contexte @code{DrumStaff}, la saisie de
30 parties pour percussions est extrêmement simplifiée@tie{}: chaque
31 composant d'une batterie trouve sa place sur une portée dédiée (avec une
32 clef spécifique) et les têtes de note sont spécifiques à chaque élément.
33 Il est également possible d'affecter un symbole particulier à chaque
34 élément, tout comme de restreindre le nombre de lignes de la portée.
35
36 "
37   doctitlefr = "Ajout de parties de batterie"
38
39
40   texidoc = "
41 Using the powerful pre-configured tools such as the @code{\\drummode}
42 function and the @code{DrumStaff} context, inputting drum parts is
43 quite easy: drums are placed at their own staff positions (with a
44 special clef symbol) and have note heads according to the drum.
45 Attaching an extra symbol to the drum or restricting the number of
46 lines is possible.
47
48 "
49   doctitle = "Adding drum parts"
50 } % begin verbatim
51
52
53 drh = \drummode { cymc4.^"crash" hhc16^"h.h." hh hhc8 hho hhc8 hh16 hh hhc4 r4 r2 }
54 drl = \drummode { bd4 sn8 bd bd4 << bd ss >>  bd8 tommh tommh bd toml toml bd tomfh16 tomfh }
55 timb = \drummode { timh4 ssh timl8 ssh r timh r4 ssh8 timl r4 cb8 cb }
56
57 \score {
58   <<
59     \new DrumStaff \with {
60       drumStyleTable = #timbales-style
61       \override StaffSymbol #'line-count = #2
62       \override BarLine #'bar-extent = #'(-1 . 1)
63     } <<
64       \set Staff.instrumentName = #"timbales"
65       \timb
66     >>
67     \new DrumStaff <<
68       \set Staff.instrumentName = #"drums"
69       \new DrumVoice { \stemUp \drh }
70       \new DrumVoice { \stemDown \drl }
71     >>
72   >>
73   \layout { }
74   \midi {
75     \tempo 4 = 120
76   }
77 }
78