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