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