Remove obsolete warning.
[lilypond-ejercicios.git] / apuntes-10-piano-tresillos.tex
blob49fbefc05a40018c603541740fca55155cefcf22
1 \section{Sistemas de piano. Tresillos}
4 \subsection{Modelo}
6 Este fragmento de música para piano tiene una llave que une los dos
7 pentagramas. En él hay tresillos y dos voces en el pentagrama
8 inferior.
10 \bigskip
12 \begin[staffsize=17.5]{lilypond}
13 \new PianoStaff <<
14 \new Staff \relative c' { \time 2/4
15 \times 2/3 { c8 e g } d4
16 e8 c d4
17 \times 2/3 { c8 e g } \times 2/3 { f e d }
18 c4 d
20 \new Staff \relative c { \clef bass
21 << {
22 c4 fis
23 g4 fis
24 e4 fis
25 e d }
27 { c2 ~ c ~ c ~ c } >>
30 \end{lilypond}
33 \subsection{Tresillos y otros grupos de valoración especial}
35 He aquí cómo se pueden expresar los tresillos del Bolero de M. Ravel:
38 \begin[verbatim,relative=3,staffsize=17.5]{lilypond}
39 \time 3/4 g8[ \times 2/3 { g16 g g] } g8[ \times 2/3 { g16 g g] } g8 g
40 \end{lilypond}
43 Para componer tipográficamente un grupo de valoración especial se usa
44 la instrucción \verb+\times+ \emph{fracción} \verb+{ ... }+, que
45 multiplica la expresión entre llaves por la fracción expresada.
47 Por ejemplo, el siguiente grupo vale como 6 corcheas:
49 \begin[verbatim,relative=2,staffsize=17.5]{lilypond}
50 \time 3/4 \times 6/7 { ees8( f ees d ees ges8. f16) }
51 \end{lilypond}
54 \subsection{Sistemas de piano}
56 Declarando el contexto explícito \verb+PianoStaff+ podemos dibujar un
57 sistema de piano e introducir dentro de él los pentragramas superior e
58 inferior:
60 \begin[verbatim,staffsize=17.5]{lilypond}
61 \new PianoStaff <<
62 \new Staff \relative c' { c4 c c c }
63 \new Staff \relative c { \clef bass c4 c c c }
65 \end{lilypond}