]> git.donarmstrong.com Git - lilypond.git/blob - Documentation/es/notation/percussion.itely
Docs: reorganize documentation directory structure
[lilypond.git] / Documentation / es / notation / percussion.itely
1 @c -*- coding: utf-8; mode: texinfo; documentlanguage: es -*-
2
3 @ignore
4     Translation of GIT committish: 41ef91786a08102d9b9a839f6a2f40cec263d723
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.12.0"
11
12 @node Percussion
13 @section Percussion
14
15 @menu
16 * Common notation for percussion::
17 @end menu
18
19 @node Common notation for percussion
20 @subsection Common notation for percussion
21
22 La notación rítmica se emplea primordialmente para la percusión y la
23 batería, pero también se puede utilizar para mostrar los valores
24 rítmicos una melodía.
25
26 @menu
27 * References for percussion::
28 * Basic percussion notation::
29 * Drum rolls::
30 * Pitched percussion::
31 * Percussion staves::
32 * Custom percussion staves::
33 * Ghost notes::
34 @end menu
35
36 @node References for percussion
37 @unnumberedsubsubsec References for percussion
38
39 @itemize
40
41 @item
42 La notación de algunas percusiones se puede hacer sobre una pauta de
43 ritmo; esto se estudia en @ref{Showing melody rhythms} y
44 @ref{Instantiating new staves}.
45
46 @item
47 La salida MIDI se trata en una sección aparte; véase @ref{Percussion
48 in MIDI}.
49
50 @end itemize
51
52
53 @seealso
54 Referencia de la notación:
55 @ref{Showing melody rhythms},
56 @ref{Instantiating new staves}.
57 @ref{Percussion in MIDI}.
58
59 Fragmentos de código:
60 @rlsr{Percussion}.
61
62
63 @node Basic percussion notation
64 @unnumberedsubsubsec Basic percussion notation
65
66 @cindex percusión
67 @cindex batería
68
69 Las notas de percusión se pueden escribir en el modo @code{\drummode},
70 que es similar al modo estándar para introducir notas.  La manera más
71 fácil de escribir notas de percusión es utilizar la instrucción
72 @code{\drums}, que crea el contexto y el modo de entrada apropiados
73 para percusión:
74
75 @lilypond[quote,verbatim]
76 \drums {
77   hihat4 hh bassdrum bd
78 }
79 @end lilypond
80
81 Esto es una abreviatura de
82
83 @lilypond[quote,verbatim]
84 \new DrumStaff {
85   \drummode {
86     hihat4 hh bassdrum bd
87   }
88 }
89 @end lilypond
90
91 Cada elemento de un set de percusión lleva un nombre completo y un
92 nombre abreviado, y los dos se pueden usar en la entrada.  La lista
93 completa de nombre de instrumentos de percusión se encuentra en
94 @ref{Percussion notes}.
95
96 Observe que la notación normal de las notas con altura determinada
97 (como @code{cis4}) en un contexto @code{DrumStaff} producen un mensaje
98 de error.  Las claves de percusión se añaden automáticamente al
99 contexto @code{DrumStaff}, pero también se pueden usar otras claves.
100
101 Hay ciertos detalles respecto a cómo está contemplado el MIDI para los
102 instrumentos de percusión; para ver los detalles consulte
103 @ref{Percussion in MIDI}.
104
105
106 @seealso
107 Referencia de la notación:
108 @ref{Percussion in MIDI},
109 @ref{Percussion notes}.
110
111 Archivos de inicio:
112 @file{ly/@/drumpitch@/-init@/.ly}.
113
114 Fragmentos de código:
115 @rlsr{Percussion}.
116
117
118 @node Drum rolls
119 @unnumberedsubsubsec Drum rolls
120
121 Los redobles se indican mediante tres barras cruzadas en la plica.
122 Para las negras o notas más largas, las tres barras se muestran
123 explícitamente, las corcheas se presentan con dos barras cruzadas
124 (siendo la barra de corchea la tercera), y los redobles más breves que
125 las corcheas tienen una barra cruzada para complementar las barras
126 normales.  Esto se consigue mediante la notación de trémolo,
127 @code{:32}, véase @ref{Tremolo repeats}.  He aquí un ejemplo de
128 redobles de caja:
129
130 @lilypond[quote,verbatim]
131 \drums {
132   \time 2/4
133   sn16 sn8 sn16 sn8 sn8:32 ~
134   sn8 sn8 sn4:32 ~
135   sn4 sn8 sn16 sn16
136   sn4 r4
137 }
138 @end lilypond
139
140 Los golpes de baqueta se pueden indicar mediante la colocación de
141 @code{^"R"} o @code{^"L"} después de la nota.  La propiedad
142 @code{staff-padding} se puede sobreescribir para conseguir una línea
143 de base satisfactoria.
144
145 @lilypond[quote,verbatim]
146 \drums {
147   \repeat unfold 2 {
148     sn16 ^"L" sn^"R" sn^"L" sn^"L" sn^"R" sn^"L"  sn^"R" sn^"R"
149   }
150 }
151 @end lilypond
152
153
154 @seealso
155 Fragmentos de código:
156 @rlsr{Percussion}.
157
158
159 @node Pitched percussion
160 @unnumberedsubsubsec Pitched percussion
161
162 Ciertos instrumentos de percusión de altura determinada (p.ej.: el
163 xilófono, el vibráfono y los timbales) se escriben usando pentagramas
164 normales.  Esto se estudia en otras secciones del manual.
165
166 @seealso
167 @c
168 @c TODO: possibly link to an alternate section of NR 3.5, if
169 @c "percussion in MIDI" gets a separate subsubsection for
170 @c pitched percussion sounds.  -gp
171 Referencia de la notación:
172 @ref{Percussion in MIDI}.
173
174 Fragmentos de código:
175 @rlsr{Percussion}.
176
177
178 @node Percussion staves
179 @unnumberedsubsubsec Percussion staves
180
181 @cindex percusión
182 @cindex batería
183
184 Una parte de percusión para más de un instrumento, normalmente utiliza
185 una pauta de varias líneas donde cada posición dentro de la pauta se
186 refiere a un elemento de percusión.  Para tipografiar la música, se
187 deben interpretar las notas dentro de los contextos
188 @rinternals{DrumStaff} y @rinternals{DrumVoice}.
189
190 @lilypond[quote,verbatim]
191 up = \drummode {
192   crashcymbal4 hihat8 halfopenhihat hh hh hh openhihat
193 }
194 down = \drummode {
195   bassdrum4 snare8 bd r bd sn4
196 }
197 \new DrumStaff <<
198   \new DrumVoice { \voiceOne \up }
199   \new DrumVoice { \voiceTwo \down }
200 >>
201 @end lilypond
202
203 El ejemplo anterior muestra una notación polifónica prolija.  La
204 notación polifónica abreviada, descrita en @rlearning{I'm hearing
205 Voices}, también se puede usar si las voces se instancian primero a
206 mano.  Por ejemplo,
207
208 @lilypond[quote,verbatim]
209 \new DrumStaff <<
210   \new DrumVoice = "1" { s1*2 }
211   \new DrumVoice = "2" { s1*2 }
212   \drummode {
213     bd4 sn4 bd4 sn4
214     << {
215       \repeat unfold 16 hh16
216     } \\ {
217       bd4 sn4 bd4 sn4
218     } >>
219   }
220 >>
221 @end lilypond
222
223 También existen otras posibilidades en lo referente a la disposición.
224 Para usarlas, establezca la propiedad @code{drumStyleTable} en el
225 contexto @rinternals{DrumVoice}.  Se han predefinido las siguientes
226 variables:
227
228 @table @code
229
230 @item drums-style
231 Es la opción por defecto.  Tipografía un típico set de percusión sobre
232 pentagrama:
233
234 @lilypond[quote,line-width=10.0\cm]
235 nam = \lyricmode {
236   cymc cyms cymr hh hhc hho hhho hhp
237   cb hc bd sn ss tomh tommh tomml toml tomfh tomfl }
238 mus = \drummode {
239   cymc cyms cymr hh hhc hho hhho hhp \break
240   cb hc bd sn ss tomh tommh tomml toml tomfh tomfl s16 }
241 \score {
242   << \new DrumStaff \with {
243        \remove Bar_engraver
244        \remove Time_signature_engraver
245        \override Stem #'transparent = ##t
246        \override Stem #'Y-extent = ##f
247        \override VerticalAxisGroup #'minimum-Y-extent = #'(-4.0 . 5.0)
248      } \mus
249      \new Lyrics \nam
250   >>
251   \layout {
252     \context {
253       \Score
254       \override LyricText #'font-family = #'typewriter
255       \override BarNumber #'transparent =##T
256     }
257   }
258 }
259 @end lilypond
260
261 El esquema de percusión contempla seis tambores graves (toms)
262 distintos.  Cuando haya menos toms, sencillamente seleccione aquellos
263 que producen el resultado deseado, es decir, para tener toms en las
264 tres líneas centrales utilizará @code{tommh}, @code{tomml} y
265 @code{tomfh}.
266
267 @item timbales-style
268 Esto tipografía timbales en una pauta de dos líneas:
269
270 @lilypond[quote,ragged-right]
271 nam = \lyricmode { timh ssh timl ssl cb }
272 mus = \drummode { timh ssh timl ssl cb s16 }
273
274 <<
275   \new DrumStaff \with {
276     \remove Bar_engraver
277     \remove Time_signature_engraver
278     \override Stem #'transparent = ##t
279     \override Stem #'Y-extent = ##f
280     \override StaffSymbol #'line-count = #2
281     \override StaffSymbol #'staff-space = #2
282     \override VerticalAxisGroup #'minimum-Y-extent = #'(-3.0 . 4.0)
283     drumStyleTable = #timbales-style
284   } \mus
285   \new Lyrics {
286     \override LyricText #'font-family = #'typewriter
287     \nam
288   }
289 >>
290 @end lilypond
291
292 @item congas-style
293 Esto tipografía congas en una pauta de dos líneas:
294
295 @lilypond[quote,ragged-right]
296 nam = \lyricmode { cgh cgho cghm ssh cgl cglo cglm ssl }
297 mus = \drummode { cgh cgho cghm ssh cgl cglo cglm ssl s16 }
298
299 <<
300   \new DrumStaff \with {
301     \remove Bar_engraver
302     \remove Time_signature_engraver
303     drumStyleTable = #congas-style
304     \override StaffSymbol #'line-count = #2
305
306     %% this sucks; it will lengthen stems.
307     \override StaffSymbol #'staff-space = #2
308     \override Stem #'transparent = ##t
309     \override Stem #'Y-extent = ##f
310   } \mus
311   \new Lyrics {
312     \override LyricText #'font-family = #'typewriter
313     \nam
314   }
315 >>
316 @end lilypond
317
318 @item bongos-style
319 Esto tipografía bongos sobre una pauta de dos líneas:
320
321 @lilypond[quote,ragged-right]
322 nam = \lyricmode { boh boho bohm ssh bol bolo bolm ssl }
323 mus = \drummode { boh boho bohm ssh bol bolo bolm ssl s16 }
324
325 <<
326   \new DrumStaff \with {
327     \remove Bar_engraver
328     \remove Time_signature_engraver
329     \override StaffSymbol #'line-count = #2
330     drumStyleTable = #bongos-style
331
332     %% this sucks; it will lengthen stems.
333     \override StaffSymbol #'staff-space = #2
334     \override Stem #'transparent = ##t
335     \override Stem #'Y-extent = ##f
336   } \mus
337   \new Lyrics {
338     \override LyricText #'font-family = #'typewriter
339     \nam
340   }
341 >>
342 @end lilypond
343
344 @item percussion-style
345 Para tipografiar toda clase de percusiones simples sobre pautas de una
346 línea:
347
348 @lilypond[quote,ragged-right]
349 nam = \lyricmode { tri trio trim gui guis guil cb cl tamb cab mar hc }
350 mus = \drummode { tri trio trim gui guis guil cb cl tamb cab mar hc s16 }
351
352 <<
353   \new DrumStaff \with{
354     \remove Bar_engraver
355     drumStyleTable = #percussion-style
356     \override StaffSymbol #'line-count = #1
357     \remove Time_signature_engraver
358     \override Stem #'transparent = ##t
359     \override Stem #'Y-extent = ##f
360   } \mus
361   \new Lyrics {
362     \override LyricText #'font-family = #'typewriter
363     \nam
364   }
365 >>
366 @end lilypond
367 @end table
368
369
370 @node Custom percussion staves
371 @unnumberedsubsubsec Custom percussion staves
372
373 Si no le gusta ninguna de las listas predefinidas, puede definir su
374 propia lista al principio de su archivo
375
376 @lilypond[quote,verbatim]
377 #(define mydrums '(
378          (bassdrum     default   #f         -1)
379          (snare        default   #f         0)
380          (hihat        cross     #f         1)
381          (pedalhihat   xcircle   "stopped"  2)
382          (lowtom       diamond   #f         3)))
383 up = \drummode { hh8 hh hh hh hhp4 hhp }
384 down = \drummode { bd4 sn bd toml8 toml }
385
386 \new DrumStaff <<
387   \set DrumStaff.drumStyleTable = #(alist->hash-table mydrums)
388   \new DrumVoice { \voiceOne \up }
389   \new DrumVoice { \voiceTwo \down }
390 >>
391 @end lilypond
392
393 @snippets
394
395 @c FIXME: MOVE ALL THESE TO LSR!  -gp
396
397 He aquí algunos ejemplos adicionales:
398
399 Dos bloques de madera, escritos con wbh (@emph{woodblock-high}, bloque
400 alto) y wbl (@emph{woodblock-low} bloque bajo)
401
402 @lilypond[quote,verbatim]
403 % These lines define the position of the woodblocks in the stave;
404 % if you like, you can change it or you can use special note heads
405 % for the woodblocks.
406 #(define mydrums '((hiwoodblock default #t  3)
407                    (lowoodblock default #t -2)))
408
409 woodstaff = {
410   % This defines a staff with only two lines.
411   % It also defines the positions of the two lines.
412   \override Staff.StaffSymbol #'line-positions = #'(-2 3)
413
414   % This is neccessary; if not entered, the barline would be too short!
415   \override Staff.BarLine #'bar-size = #3
416 }
417
418 \new DrumStaff {
419   \set DrumStaff.drumStyleTable = #(alist->hash-table mydrums)
420
421   % with this you load your new drum style table
422   \woodstaff
423
424   \drummode {
425     \time 2/4
426     wbl8 wbl16 wbl wbh8-> wbl |
427     wbl8 wbl16 wbh-> ~ wbh wbl16 r8 |
428   }
429 }
430 @end lilypond
431
432 Observe que en este caso especial se debe alterar la longitud de la
433 línea divisoria con @code{\override Staff.BarLine #'bar-size #number}.
434 En caso contrario resulta demasiado corta.  También debe definir las
435 posiciones de las dos líneas del pentagrama.  Para más información
436 sobre estos delicados asuntos, consulte @ref{Staff symbol}.
437
438 Una pandereta, escrita mediante @q{tamb} (@emph{tambourine}):
439
440 @lilypond[quote,verbatim]
441 #(define mydrums '((tambourine default #t 0)))
442
443 tambustaff = {
444   \override Staff.StaffSymbol #'line-positions = #'( 0 )
445   \override Staff.BarLine #'bar-size = #3
446   \set DrumStaff.instrumentName = #"Tambourine"
447 }
448
449 \new DrumStaff {
450   \tambustaff
451   \set DrumStaff.drumStyleTable = #(alist->hash-table mydrums)
452
453   \drummode {
454     \time 6/8
455     tamb8. tamb16 tamb8 tamb tamb tamb |
456     tamb4. tamb8 tamb tamb |
457     % the trick with the scaled duration and the shorter rest
458     % is neccessary for the correct ending of the trill-span!
459     tamb2.*5/6 \startTrillSpan s8 \stopTrillSpan |
460   }
461 }
462 @end lilypond
463
464
465 Música para gong, introducida con @q{tt} (tam-tam):
466
467 @lilypond[quote,verbatim]
468 #(define mydrums '((tamtam default #t 0)))
469
470 tamtamstaff = {
471   \override Staff.StaffSymbol #'line-positions = #'( 0 )
472   \override Staff.BarLine #'bar-size = #3
473   \set DrumStaff.instrumentName = #"Tamtam"
474 }
475
476 \new DrumStaff {
477   \tamtamstaff
478   \set DrumStaff.drumStyleTable = #(alist->hash-table mydrums)
479
480   \drummode {
481     tt 1 \pp \laissezVibrer
482   }
483 }
484 @end lilypond
485
486 Dos campanas, introducidas con @q{cb} (@emph{cowbell}, cencerro) y
487 @q{rb} (@emph{ridebell}, campana normal)
488
489 @lilypond[quote,verbatim]
490 #(define mydrums '((ridebell default #t  3)
491                    (cowbell  default #t -2)))
492
493 bellstaff = {
494   \override DrumStaff.StaffSymbol #'line-positions = #'(-2 3)
495   \set DrumStaff.drumStyleTable = #(alist->hash-table mydrums)
496   \override Staff.BarLine #'bar-size = #3
497   \set DrumStaff.instrumentName = #"Different Bells"
498 }
499
500 \new DrumStaff {
501   \bellstaff
502   \drummode {
503     \time 2/4
504     rb8 rb cb cb16 rb-> ~ |
505     rb16 rb8 rb16 cb8 cb |
506   }
507 }
508 @end lilypond
509
510 Aquí un breve ejemplo del maestro Stravinsky (procedente de la
511 @q{Historia del soldado})
512
513 @lilypond[quote,verbatim]
514 #(define mydrums '((bassdrum   default #t  4)
515                    (snare      default #t -4)
516                    (tambourine default #t  0)))
517
518 global = {
519   \time 3/8 s4.
520   \time 2/4 s2*2
521   \time 3/8 s4.
522   \time 2/4 s2
523 }
524
525 drumsA = {
526   \context DrumVoice <<
527     { \global }
528     { \drummode {
529         \autoBeamOff
530         \stemDown sn8 \stemUp tamb s8 |
531         sn4 \stemDown sn4 |
532         \stemUp tamb8 \stemDown sn8 \stemUp sn16 \stemDown sn \stemUp sn8 |
533         \stemDown sn8 \stemUp tamb s8 |
534         \stemUp sn4 s8 \stemUp tamb
535       }
536     }
537   >>
538 }
539
540 drumsB = {
541   \drummode {
542     s4 bd8 s2*2 s4 bd8 s4 bd8 s8
543   }
544 }
545
546 \layout {
547   indent = #40
548 }
549
550 \score {
551   \new StaffGroup <<
552     \new DrumStaff {
553       \set DrumStaff.instrumentName = \markup {
554         \column {
555           "Tambourine"
556           "et"
557           "caisse claire s. timbre"
558         }
559       }
560       \set DrumStaff.drumStyleTable = #(alist->hash-table mydrums)
561       \drumsA
562     }
563
564    \new DrumStaff {
565      \set DrumStaff.instrumentName = #"Grosse Caisse"
566      \set DrumStaff.drumStyleTable = #(alist->hash-table mydrums)
567      \drumsB }
568   >>
569 }
570 @end lilypond
571
572
573 @seealso
574 Fragmentos de código:
575 @rlsr{Percussion}.
576
577 Referencia de funcionamiento interno:
578 @rinternals{DrumStaff},
579 @rinternals{DrumVoice}.
580
581
582 @c FIXME: check name -gp
583 @node Ghost notes
584 @unnumberedsubsubsec Ghost notes
585
586 Las notas fantasma para la batería e instrumentos de percusión se
587 pueden crear utilizando la instrucción @code{\parenthesize} detallada
588 en @ref{Parentheses}.  Sin embargo, el modo por defecto
589 @code{\drummode} no incluye el complemento grabador
590 @code{Parenthesis_engraver} que permite esto.
591
592 @lilypond[quote,ragged-right,verbatim,fragment]
593 \new DrumStaff \with {
594   \consists "Parenthesis_engraver"
595 }
596 <<
597   \context DrumVoice  = "1" { s1 }
598   \context DrumVoice  = "2" { s1 }
599   \drummode {
600     <<
601       {
602         hh8[ hh] <hh sn> hh16
603         < \parenthesize sn > hh
604         < \parenthesize sn > hh8 <hh sn> hh
605       } \\
606       {
607         bd4 r4 bd8 bd r8 bd
608       }
609     >>
610   }
611 >>
612 @end lilypond
613
614 @noindent
615 Observe, además, que debe añadir acordes (paréntesis en ángulo @code{<
616 >}) alrededor de cada una de las instrucciones @code{\parenthesize}.
617
618
619 @seealso
620 Fragmentos de código:
621 @rlsr{Percussion}.