]> git.donarmstrong.com Git - lilypond.git/blob - Documentation/es/user/percussion.itely
7f96f6070c58d0e878396790531bfec41067889e
[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: 223846f933f47587fd0403e1a75cc1776990a785
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.51"
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 batería, pero también
23 se puede utilizar para mostrar los valores rítmicos una melodía.
24
25 @menu
26 * References for percussion::
27 * Basic percussion notation::
28 * Percussion staves::
29 * Ghost notes::
30 @end menu
31
32 @node References for percussion
33 @subsubsection References for percussion
34
35 @untranslated
36
37
38 @node Basic percussion notation
39 @subsubsection Basic percussion notation
40
41 @cindex percusión
42 @cindex batería
43
44
45 Las notas de percusión se pueden escribir en el modo @code{\drummode},
46 que es similar al modo estándar para introducir notas.  Cada elemento
47 de un set de percusión lleva un nombre completo y un nombre abreviado,
48 y los dos se pueden usar en la entrada.  La manera más fácil de
49 escribir notas de percusión es utilizar la instrucción @code{\drums},
50 que crea el contexto y el modo de entrada apropiados para percusión:
51
52 @lilypond[quote,ragged-right,verbatim]
53 \drums {
54   hihat hh bassdrum bd
55 }
56 @end lilypond
57
58 Esto es una abreviatura de
59
60 @lilypond[quote,ragged-right,verbatim]
61 \new DrumStaff
62 \drummode {
63   hihat hh bassdrum bd
64 }
65 @end lilypond
66
67
68
69 La lista completa de nombre de instrumentos de percusión se encuentra en el archivo de inicio
70 @file{ly/@/drumpitch@/-init@/.ly}.
71 @c TODO: properly document this.
72
73 Los redobles se indican mediante tres barras cruzadas en la plica.
74 Para las negras o notas más largas, las tres barras se muestran
75 explícitamente, las corcheas se presentan con dos barras cruzadas
76 (siendo la barra de corchea la tercera), y los redobles más breves que
77 las corcheas tienen una barra cruzada para complementar las barras
78 normales.  Esto se consigue mediante la notación de trémolo,
79 @code{:32}, véase @ref{Tremolo repeats}.  He aquí un ejemplo de
80 redobles de caja:
81
82 @lilypond[quote,ragged-right,verbatim]
83 \new DrumStaff
84 \drummode {
85   \time 2/4
86   sn16 sn8 sn16 sn8 sn8:32~ |
87   sn8 sn8 sn4:32~ |
88   sn4 sn8 sn16 sn16 |
89   sn4 r4 |
90 }
91 @end lilypond
92
93 Los golpes de baqueta se pueden indicar mediante la colocación de
94 @code{^"R"} o @code{^"L"} después de la nota.  La propiedad
95 @code{staff-padding} se puede sobreescribir para conseguir una línea
96 de base satisfactoria.
97
98 @c TODO Add example of sticking
99
100 @seealso
101
102 Referencia del programa:
103 @rinternals{note-event}.
104
105 @node Percussion staves
106 @subsubsection Percussion staves
107 @cindex percusión
108 @cindex batería
109
110 Una parte de percusión para más de un instrumento, normalmente utiliza
111 una pauta de varias líneas donde cada posición dentro de la pauta se
112 refiere a un elemento de percusión.
113
114
115 Para tipografiar la música, se deben interpretar las notas dentro de
116 los contextos @rinternals{DrumStaff} y @rinternals{DrumVoice}
117
118 @lilypond[quote,ragged-right,verbatim]
119 up = \drummode { crashcymbal4 hihat8 halfopenhihat hh hh hh openhihat }
120 down = \drummode { bassdrum4 snare8 bd r bd sn4 }
121   \new DrumStaff <<
122     \new DrumVoice { \voiceOne \up }
123     \new DrumVoice { \voiceTwo \down }
124   >>
125 @end lilypond
126
127 El ejemplo anterior muestra una notación polifónica prolija.  La
128 notación polifónica abreviada, descrita en @rlearning{I'm hearing
129 Voices}, también se puede usar si las @rinternals{DrumVoice}s se
130 instancian primero a mano.  Por ejemplo,
131
132 @lilypond[quote,ragged-right,fragment,verbatim]
133 \new DrumStaff <<
134   \new DrumVoice = "1" { s1 *2 }
135   \new DrumVoice = "2" { s1 *2 }
136   \drummode {
137     bd4 sn4 bd4 sn4
138     <<
139       { \repeat unfold 16 hh16 }
140       \\
141       { bd4 sn4 bd4 sn4 }
142     >>
143   }
144 >>
145 @end lilypond
146
147
148 También existen otras posibilidades en lo referente a la disposición.
149 Para usarlas, establezca la propiedad @code{drumStyleTable} en el
150 contexto @rinternals{DrumVoice}.  Se han predefinido las siguientes
151 variables:
152
153 @table @code
154 @item drums-style
155 Es la opción por defecto.  Tipografía un típico set de percusión sobre
156 una pauta de cinco líneas
157
158 @lilypond[quote,line-width=10.0\cm]
159 nam = \lyricmode {
160   cymc cyms cymr hh hhc hho hhho hhp
161   cb hc bd sn ss tomh tommh tomml toml tomfh tomfl }
162 mus = \drummode {
163   cymc cyms cymr hh hhc hho hhho hhp \break
164   cb hc bd sn ss tomh tommh tomml toml tomfh tomfl s16 }
165 \score {
166   << \new DrumStaff \with {
167        \remove Bar_engraver
168        \remove Time_signature_engraver
169        \override Stem #'transparent = ##t
170        \override Stem #'Y-extent-callback = ##f
171        \override VerticalAxisGroup #'minimum-Y-extent = #'(-4.0 . 5.0)
172      } \mus
173      \new Lyrics \nam
174   >>
175   \layout {
176     \context {
177       \Score
178       \override LyricText #'font-family = #'typewriter
179       \override BarNumber #'transparent =##T
180     }
181   }
182 }
183 @end lilypond
184
185 El esquema de percusión contempla seis tambores graves (toms)
186 distintos.  Cuando haya menos toms, sencillamente seleccione aquellos
187 que producen el resultado deseado, es decir, para tener toms en las
188 tres líneas centrales utilizará @code{tommh}, @code{tomml} y
189 @code{tomfh}.
190
191 @item timbales-style
192 Esto tipografía timbales en una pauta de dos líneas:
193
194 @lilypond[quote,ragged-right]
195 nam = \lyricmode { timh ssh timl ssl cb }
196 mus = \drummode { timh ssh timl ssl cb s16 }
197
198 <<
199   \new DrumStaff \with {
200     \remove Bar_engraver
201     \remove Time_signature_engraver
202     \override Stem #'transparent = ##t
203     \override Stem #'Y-extent-callback = ##f
204     \override StaffSymbol #'line-count = #2
205     \override StaffSymbol #'staff-space = #2
206     \override VerticalAxisGroup #'minimum-Y-extent = #'(-3.0 . 4.0)
207     drumStyleTable = #timbales-style
208   } \mus
209   \new Lyrics {
210     \override LyricText #'font-family = #'typewriter
211     \nam
212   }
213 >>
214 @end lilypond
215
216 @item congas-style
217 Esto tipografía congas en una pauta de dos líneas:
218
219 @lilypond[quote,ragged-right]
220 nam = \lyricmode { cgh cgho cghm ssh cgl cglo cglm ssl }
221 mus = \drummode { cgh cgho cghm ssh cgl cglo cglm ssl s16 }
222
223 <<
224   \new DrumStaff \with {
225     \remove Bar_engraver
226     \remove Time_signature_engraver
227     drumStyleTable = #congas-style
228     \override StaffSymbol #'line-count = #2
229
230     %% this sucks; it will lengthen stems.
231     \override StaffSymbol #'staff-space = #2
232     \override Stem #'transparent = ##t
233     \override Stem #'Y-extent-callback = ##f
234   } \mus
235   \new Lyrics {
236     \override LyricText #'font-family = #'typewriter
237     \nam
238   }
239 >>
240 @end lilypond
241
242 @item bongos-style
243 Esto tipografía bongos sobre una pauta de dos líneas:
244
245 @lilypond[quote,ragged-right]
246 nam = \lyricmode { boh boho bohm ssh bol bolo bolm ssl }
247 mus = \drummode { boh boho bohm ssh bol bolo bolm ssl s16 }
248
249 <<
250   \new DrumStaff \with {
251     \remove Bar_engraver
252     \remove Time_signature_engraver
253     \override StaffSymbol #'line-count = #2
254     drumStyleTable = #bongos-style
255
256     %% this sucks; it will lengthen stems.
257     \override StaffSymbol #'staff-space = #2
258     \override Stem #'transparent = ##t
259     \override Stem #'Y-extent-callback = ##f
260   } \mus
261   \new Lyrics {
262     \override LyricText #'font-family = #'typewriter
263     \nam
264   }
265 >>
266 @end lilypond
267
268 @item percussion-style
269 Para tipografiar toda clase de percusiones simples sobre pautas de una
270 línea.
271
272 @lilypond[quote,ragged-right]
273 nam = \lyricmode { tri trio trim gui guis guil cb cl tamb cab mar hc }
274 mus = \drummode { tri trio trim gui guis guil cb cl tamb cab mar hc s16 }
275
276 <<
277   \new DrumStaff \with{
278     \remove Bar_engraver
279     drumStyleTable = #percussion-style
280     \override StaffSymbol #'line-count = #1
281     \remove Time_signature_engraver
282     \override Stem #'transparent = ##t
283     \override Stem #'Y-extent-callback = ##f
284   } \mus
285   \new Lyrics {
286     \override LyricText #'font-family = #'typewriter
287     \nam
288   }
289 >>
290 @end lilypond
291 @end table
292
293 Si no le gusta ninguna de las listas predefinidas, puede definir su
294 propia lista al principio de su archivo
295
296 @lilypond[quote,ragged-right,verbatim]
297 #(define mydrums '(
298          (bassdrum     default   #f         -1)
299          (snare        default   #f         0)
300          (hihat        cross     #f         1)
301          (pedalhihat   xcircle   "stopped"  2)
302          (lowtom       diamond   #f         3)))
303 up = \drummode { hh8 hh hh hh hhp4 hhp }
304 down = \drummode { bd4 sn bd toml8 toml }
305
306 \new DrumStaff <<
307   \set DrumStaff.drumStyleTable = #(alist->hash-table mydrums)
308   \new DrumVoice { \voiceOne \up }
309   \new DrumVoice { \voiceTwo \down }
310 >>
311 @end lilypond
312
313
314 @seealso
315
316 Archivos de inicio:
317 @file{ly/@/drumpitch@/-init@/.ly}.
318
319 Referencia de funcionamiento interno:
320 @rinternals{DrumStaff},
321 @rinternals{DrumVoice}.
322
323 @knownissues
324
325 A causa de que el estándar General MIDI no contiene golpes de aro (rim
326 shot), para este propósito se usa el golpe lateral de baqueta
327 (sidestick) en su lugar.
328
329
330 @c FIXME: check name -gp
331 @node Ghost notes
332 @subsubsection Ghost notes
333
334 Las notas fantasma para la batería e instrumentos de percusión se
335 pueden crear utilizando la instrucción @code{\parenthesize} detallada
336 en @ref{Parentheses}.  Sin embargo, el modo por defecto
337 @code{\drummode} no incluye el complemento grabador
338 @code{Parenthesis_engraver} que permite esto.
339
340
341 @lilypond[quote,ragged-right,verbatim,fragment]
342 \new DrumStaff \with {
343   \consists "Parenthesis_engraver"
344 } <<
345   \context DrumVoice  = "1"  { s1 *2 }
346   \context DrumVoice  = "2" { s1 *2 }
347   \drummode {
348     <<
349       {
350         hh8[ hh] <hh sn> hh16
351         < \parenthesize sn > hh < \parenthesize
352         sn > hh8 <hh sn> hh
353       } \\ {
354         bd4 r4 bd8 bd r8 bd
355       }
356     >>
357   }
358 >>
359 @end lilypond
360
361 @noindent
362 Observe, además, que debe añadir acordes (paréntesis en ángulo @code{<
363 >}) alrededor de cada una de las instrucciones @code{\parenthesize}.
364
365