]> git.donarmstrong.com Git - lilypond.git/blob - Documentation/es/user/percussion.itely
Split WWW target in two stages WWW-1 and WWW-2
[lilypond.git] / Documentation / es / user / percussion.itely
1 @c -*- coding: utf-8; mode: texinfo; documentlanguage: es -*-
2 @c This file is part of lilypond.tely
3 @ignore
4     Translation of GIT committish: 2607a3536733d8d4a1e74176027a5cb01d4e776a
5
6     When revising a translation, copy the HEAD committish of the
7     version that you are working on.  See TRANSLATION for details.
8 @end ignore
9
10 @c \version "2.11.38"
11
12
13 @node Percussion
14 @section Percussion
15
16 @menu 
17 * TODO percussion node fix::
18 @end menu
19
20 @node TODO percussion node fix
21 @subsection TODO percussion node fix
22
23 La notación rítmica se emplea primordialmente para la percusión y la batería, pero también
24 se puede utilizar para mostrar los valores rítmicos una melodía.
25
26 @menu
27 * Showing melody rhythms::      
28 * Entering percussion::         
29 * Percussion staves::           
30 * Ghost notes::                 
31 @end menu
32
33
34 @node Showing melody rhythms
35 @subsubsection Showing melody rhythms
36
37 En ocasiones podría desear que se muestre sólo el ritmo de una melodía.  Esto
38 se puede hacer con la pauta rítmica.  Todas las alturas de las notas en dicha pauta
39 se muestran como una barra, y la pauta en sí tiene una sola línea.
40
41 @lilypond[quote,ragged-right,fragment,relative=1,verbatim]
42 \new RhythmicStaff {
43   \time 4/4
44   c4 e8 f g2 | r4 g r2 | g1:32 | r1 |
45 }
46 @end lilypond
47
48 @seealso
49
50 Referencia del programa: @rinternals{RhythmicStaff}.
51
52
53 @node Entering percussion
54 @subsubsection Entering percussion
55
56 @cindex percusión
57 @cindex batería
58
59
60 Las notas de percusión se pueden escribir en el modo @code{\drummode}, que es similar
61 al modo estándar para introducir notas.  Cada elemento de un set de percusión
62 lleva un nombre completo y un nombre abreviado, y los dos se pueden usar
63 en la entrada
64
65 @lilypond[quote,ragged-right,verbatim]
66 \drums {
67   hihat hh bassdrum bd
68 }
69 @end lilypond
70
71 La lista completa de nombre de instrumentos de percusión se encuentra en el archivo de inicio
72 @file{ly/@/drumpitch@/-init@/.ly}.
73 @c TODO: properly document this.
74
75 @seealso
76
77 Referencia del programa: @rinternals{note-event}.
78
79 @node Percussion staves
80 @subsubsection Percussion staves
81 @cindex percusión
82 @cindex batería
83
84 Una parte de percusión para más de un instrumento, normalmente utiliza una pauta
85 de varias líneas donde cada posición dentro de la pauta se refiere a un elemento
86 de percusión.
87
88
89 Para tipografiar la música, se deben interpretar las notas dentro de los contextos
90 @rinternals{DrumStaff} y @rinternals{DrumVoice}
91
92 @lilypond[quote,ragged-right,verbatim]
93 up = \drummode { crashcymbal4 hihat8 halfopenhihat hh hh hh openhihat }
94 down = \drummode { bassdrum4 snare8 bd r bd sn4 }
95   \new DrumStaff <<
96     \new DrumVoice { \voiceOne \up }
97     \new DrumVoice { \voiceTwo \down }
98   >>
99 @end lilypond
100
101 El ejemplo anterior muestra una notación polifónica prolija.  La notación
102 polifónica abreviada, descrita en @rlearning{I'm hearing Voices}, también se puede usar si
103 las @rinternals{DrumVoice}s se instancian primero a mano.  Por ejemplo,
104
105 @lilypond[quote,ragged-right,fragment,verbatim]
106 \new DrumStaff <<
107   \new DrumVoice = "1" { s1 *2 }
108   \new DrumVoice = "2" { s1 *2 }
109   \drummode {
110     bd4 sn4 bd4 sn4
111     <<
112       { \repeat unfold 16 hh16 }
113       \\
114       { bd4 sn4 bd4 sn4 }
115     >>
116   }
117 >>
118 @end lilypond
119
120
121 También existen otras posibilidades en lo referente a la disposición.  Para usarlas, establezca la
122 propiedad @code{drumStyleTable} en el contexto @rinternals{DrumVoice}.
123 Se han predefinido las siguientes variables:
124
125 @table @code
126 @item drums-style
127 Es la opción por defecto.  Tipografía un típico set de percusión sobre una pauta de cinco líneas
128
129 @lilypond[quote,line-width=10.0\cm]
130 nam = \lyricmode {
131   cymc cyms cymr hh hhc hho hhho hhp
132   cb hc bd sn ss tomh tommh tomml toml tomfh tomfl }
133 mus = \drummode {
134   cymc cyms cymr hh hhc hho hhho hhp \break
135   cb hc bd sn ss tomh tommh tomml toml tomfh tomfl s16 }
136 \score {
137   << \new DrumStaff \with {
138        \remove Bar_engraver
139        \remove Time_signature_engraver
140        \override Stem #'transparent = ##t
141        \override Stem #'Y-extent-callback = ##f
142        \override VerticalAxisGroup #'minimum-Y-extent = #'(-4.0 . 5.0)
143      } \mus
144      \new Lyrics \nam
145   >>
146   \layout {
147     \context {
148       \Score
149       \override LyricText #'font-family = #'typewriter
150       \override BarNumber #'transparent =##T
151     }
152   }
153 }
154 @end lilypond
155
156 El esquema de percusión contempla seis tambores graves (toms) distintos.  Cuando haya menos toms,
157 sencillamente seleccione aquellos que producen el resultado deseado, es decir, para tener toms
158 en las tres líneas centrales utilizará @code{tommh}, @code{tomml} y
159 @code{tomfh}.
160
161 @item timbales-style
162 Esto tipografía timbales en una pauta de dos líneas
163
164 @lilypond[quote,ragged-right]
165 nam = \lyricmode { timh ssh timl ssl cb }
166 mus = \drummode { timh ssh timl ssl cb s16 }
167
168 <<
169   \new DrumStaff \with {
170     \remove Bar_engraver
171     \remove Time_signature_engraver
172     \override Stem #'transparent = ##t
173     \override Stem #'Y-extent-callback = ##f
174     \override StaffSymbol #'line-count = #2
175     \override StaffSymbol #'staff-space = #2
176     \override VerticalAxisGroup #'minimum-Y-extent = #'(-3.0 . 4.0)
177     drumStyleTable = #timbales-style
178   } \mus
179   \new Lyrics {
180     \override LyricText #'font-family = #'typewriter
181     \nam
182   }
183 >>
184 @end lilypond
185
186 @item congas-style
187 Esto tipografía congas en una pauta de dos líneas
188
189 @lilypond[quote,ragged-right]
190 nam = \lyricmode { cgh cgho cghm ssh cgl cglo cglm ssl }
191 mus = \drummode { cgh cgho cghm ssh cgl cglo cglm ssl s16 }
192
193 <<
194   \new DrumStaff \with {
195     \remove Bar_engraver
196     \remove Time_signature_engraver
197     drumStyleTable = #congas-style
198     \override StaffSymbol #'line-count = #2
199
200     %% this sucks; it will lengthen stems.
201     \override StaffSymbol #'staff-space = #2
202     \override Stem #'transparent = ##t
203     \override Stem #'Y-extent-callback = ##f
204   } \mus
205   \new Lyrics {
206     \override LyricText #'font-family = #'typewriter
207     \nam
208   }
209 >>
210 @end lilypond
211
212 @item bongos-style
213 Esto tipografía bongos sobre una pauta de dos líneas
214
215 @lilypond[quote,ragged-right]
216 nam = \lyricmode { boh boho bohm ssh bol bolo bolm ssl }
217 mus = \drummode { boh boho bohm ssh bol bolo bolm ssl s16 }
218
219 <<
220   \new DrumStaff \with {
221     \remove Bar_engraver
222     \remove Time_signature_engraver
223     \override StaffSymbol #'line-count = #2
224     drumStyleTable = #bongos-style
225
226     %% this sucks; it will lengthen stems.
227     \override StaffSymbol #'staff-space = #2
228     \override Stem #'transparent = ##t
229     \override Stem #'Y-extent-callback = ##f
230   } \mus
231   \new Lyrics {
232     \override LyricText #'font-family = #'typewriter
233     \nam
234   }
235 >>
236 @end lilypond
237
238 @item percussion-style
239 Para tipografiar toda clase de percusiones simples sobre pautas de una línea.
240
241 @lilypond[quote,ragged-right]
242 nam = \lyricmode { tri trio trim gui guis guil cb cl tamb cab mar hc }
243 mus = \drummode { tri trio trim gui guis guil cb cl tamb cab mar hc s16 }
244
245 <<
246   \new DrumStaff \with{
247     \remove Bar_engraver
248     drumStyleTable = #percussion-style
249     \override StaffSymbol #'line-count = #1
250     \remove Time_signature_engraver
251     \override Stem #'transparent = ##t
252     \override Stem #'Y-extent-callback = ##f
253   } \mus
254   \new Lyrics {
255     \override LyricText #'font-family = #'typewriter
256     \nam
257   }
258 >>
259 @end lilypond
260 @end table
261
262 Si no le gusta ninguna de las listas predefinidas, puede definir su propia lista
263 al principio de su archivo
264
265 @lilypond[quote,ragged-right,verbatim]
266 #(define mydrums '(
267          (bassdrum     default   #f         -1)
268          (snare        default   #f         0)
269          (hihat        cross     #f         1)
270          (pedalhihat   xcircle   "stopped"  2)
271          (lowtom       diamond   #f         3)))
272 up = \drummode { hh8 hh hh hh hhp4 hhp }
273 down = \drummode { bd4 sn bd toml8 toml }
274
275 \new DrumStaff <<
276   \set DrumStaff.drumStyleTable = #(alist->hash-table mydrums)
277   \new DrumVoice { \voiceOne \up }
278   \new DrumVoice { \voiceTwo \down }
279 >>
280 @end lilypond
281
282
283 @seealso
284
285 Archivos de inicio: @file{ly/@/drumpitch@/-init@/.ly}.
286
287 Referencia del programa: @rinternals{DrumStaff}, @rinternals{DrumVoice}.
288
289 @knownissues
290
291 A causa de que el estándar General MIDI no contiene golpes de aro (rim shot), para este propósito se usa
292 el golpe lateral de baqueta (sidestick) en su lugar.
293
294
295 @c FIXME: check name -gp
296 @node Ghost notes
297 @subsubsection Ghost notes
298
299 Las notas fantasma para la batería e instrumentos de percusión se pueden crear utilizando la instrucción
300 @code{\parenthesize} detallada en @ref{Parentheses}.  Sin embargo,
301 el modo por defecto @code{\drummode} no
302 incluye el añadido grabador @code{Parenthesis_engraver} que permite
303 esto.
304 Debe escribir el grabador añadido explícitamente en la definición de contexto tal y como se explica detalladamente
305 en @ref{Changing context properties on the fly}.
306
307 @lilypond[quote,ragged-right,verbatim,fragment]
308 \new DrumStaff \with {
309   \consists "Parenthesis_engraver"
310 } <<
311   \context DrumVoice  = "1"  { s1 *2 }
312   \context DrumVoice  = "2" { s1 *2 }
313   \drummode {
314     <<
315       {
316         hh8[ hh] <hh sn> hh16
317         < \parenthesize sn > hh < \parenthesize
318         sn > hh8 <hh sn> hh
319       } \\ {
320         bd4 r4 bd8 bd r8 bd
321       }
322     >>
323   }
324 >>
325 @end lilypond
326
327 @noindent
328 Tenga en cuenta, además, que debe añadir acordes (paréntesis en ángulo @code{< >})
329 alrededor de cada una de las instrucciones @code{\parenthesize}.
330
331