@c -*- coding: utf-8; mode: texinfo; documentlanguage: es -*-
@ignore
- Translation of GIT committish: 26a079ca2393d053315ef8dbef626c897dc9645a
+ Translation of GIT committish: d5fc7a079db0853bfb49e21821226d492f01cf8c
When revising a translation, copy the HEAD committish of the
version that you are working on. For details, see the Contributors'
Guide, node Updating translation committishes..
@end ignore
-@c \version "2.16.0"
+@c \version "2.19.2"
@node Percusión
@section Percusión
<< \new DrumStaff \with {
\remove "Bar_engraver"
\remove "Time_signature_engraver"
- \override Stem #'transparent = ##t
- \override Flag #'transparent = ##t
- \override Stem #'Y-extent = ##f
+ \hide Stem
+ \override Stem.Y-extent = ##f
} \mus
\new Lyrics \nam
>>
\layout {
\context {
\Score
- \override LyricText #'font-family = #'typewriter
- \override BarNumber #'transparent =##T
+ \override LyricText.font-family = #'typewriter
+ \override BarNumber.transparent =##T
}
}
}
\new DrumStaff \with {
\remove "Bar_engraver"
\remove "Time_signature_engraver"
- \override Stem #'transparent = ##t
- \override Flag #'transparent = ##t
- \override Stem #'Y-extent = ##f
- \override StaffSymbol #'line-count = #2
- \override StaffSymbol #'staff-space = #2
- \override VerticalAxisGroup #'minimum-Y-extent = #'(-3.0 . 4.0)
+ \hide Stem
+ \override Stem.Y-extent = ##f
+ \override StaffSymbol.line-count = #2
+ \override StaffSymbol.staff-space = #2
+ \override VerticalAxisGroup.minimum-Y-extent = #'(-3.0 . 4.0)
drumStyleTable = #timbales-style
} \mus
\new Lyrics {
- \override LyricText #'font-family = #'typewriter
+ \override LyricText.font-family = #'typewriter
\nam
}
>>
\remove "Bar_engraver"
\remove "Time_signature_engraver"
drumStyleTable = #congas-style
- \override StaffSymbol #'line-count = #2
+ \override StaffSymbol.line-count = #2
%% this sucks; it will lengthen stems.
- \override StaffSymbol #'staff-space = #2
- \override Stem #'transparent = ##t
- \override Flag #'transparent = ##t
- \override Stem #'Y-extent = ##f
+ \override StaffSymbol.staff-space = #2
+ \hide Stem
+ \override Stem.Y-extent = ##f
} \mus
\new Lyrics {
- \override LyricText #'font-family = #'typewriter
+ \override LyricText.font-family = #'typewriter
\nam
}
>>
\new DrumStaff \with {
\remove "Bar_engraver"
\remove "Time_signature_engraver"
- \override StaffSymbol #'line-count = #2
+ \override StaffSymbol.line-count = #2
drumStyleTable = #bongos-style
%% this sucks; it will lengthen stems.
- \override StaffSymbol #'staff-space = #2
- \override Stem #'transparent = ##t
- \override Flag #'transparent = ##t
- \override Stem #'Y-extent = ##f
+ \override StaffSymbol.staff-space = #2
+ \hide Stem
+ \override Stem.Y-extent = ##f
} \mus
\new Lyrics {
- \override LyricText #'font-family = #'typewriter
+ \override LyricText.font-family = #'typewriter
\nam
}
>>
\new DrumStaff \with{
\remove "Bar_engraver"
drumStyleTable = #percussion-style
- \override StaffSymbol #'line-count = #1
+ \override StaffSymbol.line-count = #1
\remove "Time_signature_engraver"
- \override Stem #'transparent = ##t
- \override Flag #'transparent = ##t
- \override Stem #'Y-extent = ##f
+ \hide Stem
+ \override Stem.Y-extent = ##f
} \mus
\new Lyrics {
- \override LyricText #'font-family = #'typewriter
+ \override LyricText.font-family = #'typewriter
\nam
}
>>
woodstaff = {
% This defines a staff with only two lines.
% It also defines the positions of the two lines.
- \override Staff.StaffSymbol #'line-positions = #'(-2 3)
+ \override Staff.StaffSymbol.line-positions = #'(-2 3)
% This is necessary; if not entered, the barline would be too short!
- \override Staff.BarLine #'bar-extent = #'(-1.5 . 1.5)
+ \override Staff.BarLine.bar-extent = #'(-1.5 . 1.5)
}
\new DrumStaff {
@end lilypond
Observe que en este caso especial se debe alterar la longitud de la
-línea divisoria con @code{\override Staff.BarLine #'bar-extent #'(de . a)}.
+línea divisoria con @code{\override Staff.BarLine.bar-extent #'(de . a)}.
En caso contrario resulta demasiado corta. También debe definir las
posiciones de las dos líneas del pentagrama. Para más información
sobre estos delicados asuntos, consulte @ref{El símbolo del pentagrama}.
#(define mydrums '((tambourine default #t 0)))
tambustaff = {
- \override Staff.StaffSymbol #'line-positions = #'( 0 )
- \override Staff.BarLine #'bar-extent = #'(-1.5 . 1.5)
+ \override Staff.StaffSymbol.line-positions = #'( 0 )
+ \override Staff.BarLine.bar-extent = #'(-1.5 . 1.5)
\set DrumStaff.instrumentName = #"Tambourine"
}
#(define mydrums '((tamtam default #t 0)))
tamtamstaff = {
- \override Staff.StaffSymbol #'line-positions = #'( 0 )
- \override Staff.BarLine #'bar-extent = #'(-1.5 . 1.5)
+ \override Staff.StaffSymbol.line-positions = #'( 0 )
+ \override Staff.BarLine.bar-extent = #'(-1.5 . 1.5)
\set DrumStaff.instrumentName = #"Tamtam"
}
(cowbell default #t -2)))
bellstaff = {
- \override DrumStaff.StaffSymbol #'line-positions = #'(-2 3)
+ \override DrumStaff.StaffSymbol.line-positions = #'(-2 3)
\set DrumStaff.drumStyleTable = #(alist->hash-table mydrums)
- \override Staff.BarLine #'bar-extent = #'(-1.5 . 1.5)
+ \override Staff.BarLine.bar-extent = #'(-1.5 . 1.5)
\set DrumStaff.instrumentName = #"Different Bells"
}
\drummode {
\time 2/4
rb8 rb cb cb16 rb-> ~ |
- rb16 rb8 rb16 cb8 cb |
+ 16 rb8 rb16 cb8 cb |
}
}
@end lilypond
Las notas fantasma para la batería e instrumentos de percusión se
pueden crear utilizando la instrucción @code{\parenthesize} detallada
-en @ref{Paréntesis}. Sin embargo, el modo por defecto
-@code{\drummode} no incluye el complemento grabador
-@code{Parenthesis_engraver} que permite esto.
+en @ref{Paréntesis}.
@lilypond[quote,ragged-right,verbatim]
-\new DrumStaff \with {
- \consists "Parenthesis_engraver"
-}
+\new DrumStaff
<<
\context DrumVoice = "1" { s1 }
\context DrumVoice = "2" { s1 }
<<
{
hh8[ hh] <hh sn> hh16
- < \parenthesize sn > hh
- < \parenthesize sn > hh8 <hh sn> hh
+ \parenthesize sn hh
+ \parenthesize sn hh8 <hh sn> hh
} \\
{
bd4 r4 bd8 bd r8 bd
>>
@end lilypond
-@noindent
-Observe, además, que debe añadir acordes (paréntesis en ángulo @code{<
->}) alrededor de cada una de las instrucciones @code{\parenthesize}.
-
@seealso
Fragmentos de código:
@rlsr{Percussion}.