Some cleanup in main file.
[lilypond-ejercicios.git] / apuntes-19-bajocifrado.tex
blobe9abfa44a8a5fc06325137d6b3a26ba583eac439
1 % \version "2.17.0"
3 \section{Bajo cifrado. \emph{Polonaise}, de Bach.}
6 \subsection{Modelo}
8 Para realizar el siguiente modelo será necesario aprender a introducir
9 e imprimir bajos cifrados y a elaborar una estructura de contextos
10 anidados. Procede de la \emph{Polonesa} de la \emph{Suite orquestal
11 núm.2 en Si menor, BWV 1067}. Es recomendable declarar la
12 repetición en cada pentagrama, para poder reutilizar los materiales en
13 las particellas.
16 \bigskip
18 %\hspace{3cm}
19 \begin[staffsize=15,
20 line-width=17\cm,
21 indent=2\cm
22 ]{lilypond}
24 % canción del emperador. Narváez
26 \header{ title = "Polonaise" }
28 flautoTraverso = \relative c''' {
29 \time 3/4
30 \key b \minor
31 \repeat volta 2 {
32 b8. d16 cis8 b \appoggiatura b8 ais8.( b32 cis)
33 b8. d16 cis8-. b-. cis16( b ais) cis-.
34 b8. d16 cis8-. b-. a!-. g-.
35 fis \trill e16 fis d2
39 violinoI = \relative c'' {
40 \time 3/4
41 \key b \minor
42 \repeat volta 2 {
43 b8. d16 cis8 b \appoggiatura b8 ais8.( b32 cis)
44 b8. d16 cis8-. b-. cis16( b ais) cis-.
45 b8. d16 cis8-. b-. a!-. g-.
46 fis \trill e16 fis d2
50 violinoII = \relative c' {
51 \time 3/4
52 \key b \minor
53 \repeat volta 2 {
54 fis8-. d-. g-. b,-. cis-. fis-.
55 fis8 b ais b g fis
56 fis b g fis e e
57 d8\trill cis16 d a2
61 viola = \relative c' {
62 \time 3/4
63 \key b \minor
64 \clef alto
65 \repeat volta 2 {
66 b8-. fis'-. e-. e-. fis-. cis-.
67 d8-. fis-. e-. d-. e-. cis-.
68 d8 fis e fis16 g a8 cis,
69 a8 g16 a fis2
73 continuo = \relative c {
74 \time 3/4
75 \key b \minor
76 \clef bass
77 \repeat volta 2 {
78 d8 b e g fis e
79 d8^\markup{ \italic piano } b fis' g e fis
80 d8^\markup{ \italic forte } b e d cis a
81 d4~ d8 a16 fis d4
85 bajoCifrado = \figuremode {
86 <6>4 <6>8 <6> <_+>4
87 <6>4 <_+>8 <5> <6 5> <_+>
88 <6>4 <6>8 <6> <6> <7>
91 \new StaffGroup <<
92 \new Staff { \tempo "Moderato e staccato"
93 \set Staff.instrumentName = "Flauto traverso" \flautoTraverso }
94 \new PianoStaff <<
95 \new Staff { \set Staff.instrumentName = "Violino I" \violinoI }
96 \new Staff { \set Staff.instrumentName = "Violino II" \violinoII }
98 \new Staff { \set Staff.instrumentName = "Viola" \viola }
99 \new Staff { \set Staff.instrumentName = "Continuo" \continuo }
100 \new FiguredBass { \bajoCifrado }
103 \end{lilypond}
106 \subsection{Bajo cifrado}
108 La escritura de bajos cifrados es muy sencilla: basta inaugurar un
109 modo especial \verb+\figuremode+ para que la expresión se interprete
110 adecuadamente como cifras. En este modo, introducimos las cifras
111 dentro de ángulos simples y las duraciones después del ángulo de
112 cierre, como si fueran acordes normales.
114 \verb+cifras = \figuremode{ <6>2 <6 5>4 }+
116 Después, imprimimos este material dentro de un contexto \verb+FiguredBass+:
118 \begin[verbatim,staffsize=17.5]{lilypond}
119 cifras = \figuremode{ <6>2 <6 5>4 }
121 \new Staff { \clef bass c4 d e }
122 \new FiguredBass { \cifras }
124 \end{lilypond}
126 Usamos un signo más \verb'+' para el sostenido, y un signo menos
127 \verb'-' para el bemol, escritos después de la cifra. Si la
128 alteración no lleva ninguna cifra, escribimos un guión bajo y a
129 continuación la alteración.
131 \begin[verbatim,staffsize=17.5]{lilypond}
132 \new FiguredBass \figuremode{ <3->4 <_+> }
133 \end{lilypond}
136 \subsection{Contextos anidados}
138 Los contextos que agrupan pentagramas y que trazan llaves o corchetes,
139 pueden formar grupos secundarios dentro del grupo general.
141 Por ejemplo, si queremos agrupar mediante una llave dos pentagramas
142 dentro de otro grupo de pentagramas con corchete recto, elaborado con
143 \verb+\new StaffGroup+, lo hacemos abriendo un grupo \verb+PianoStaff+
144 en el lugar correspondiente, sin olvidar los ángulos dobles:
147 \begin[verbatim,staffsize=17.5]{lilypond}
148 \new StaffGroup <<
149 \new PianoStaff <<
150 \new Staff { s1 }
151 \new Staff { s }
153 \new Staff { s }
154 \new Staff { s }
156 \end{lilypond}