]> git.donarmstrong.com Git - lilypond.git/blob - input/lsr/vocal-ensemble-template-with-automatic-piano-reduction.ly
Merge commit 'origin' into beamlets2
[lilypond.git] / input / lsr / vocal-ensemble-template-with-automatic-piano-reduction.ly
1 %% Do not edit this file; it is auto-generated from LSR http://lsr.dsi.unimi.it
2 %% This file is in the public domain.
3 \version "2.12.0"
4
5 \header {
6   lsrtags = "vocal-music, keyboards, template"
7
8   texidoces = "
9 Esta plantilla añade una reducción de piano automática a la partitura
10 vocal SATB estándar que se mostró en la \"Plantilla de conjunto
11 vocal\". Esto presenta uno de los puntos fuertes de LilyPond: podemos
12 usar una definición de música más de una vez. Si se hace cualquier
13 cambio en las notas de la parte vocal (digamos @code{tenorMusic}),
14 entonces los cambios se aplicarán también a la reducción de piano.
15
16 "
17   doctitlees = "Plantilla de conjunto vocal con reducción de piano automática"
18   
19   texidocde = "
20 In diesem Beispiel wird ein automatischer Klavierauszug zu der 
21 Chorpartitur hinzugefügt. Das zeigt eine der Stärken von LilyPond
22 -- man kann eine Variable mehr als einmal benutzen. Wenn Sie 
23 irgendeine Änderung an einer Chorstimme vornehmen, (etwa 
24 tenorMusic), verändert sich auch der Klavierauszug entsprechend.
25 "
26
27   texidoc = "
28 This template adds an automatic piano reduction to the standard SATB
29 vocal score demonstrated in \"Vocal ensemble template\". This
30 demonstrates one of the strengths of LilyPond – you can use a music
31 definition more than once. If any changes are made to the vocal notes
32 (say, @code{tenorMusic}), then the changes will also apply to the piano
33 reduction.
34
35 "
36   doctitle = "Vocal ensemble template with automatic piano reduction"
37 } % begin verbatim
38
39 global = {
40   \key c \major
41   \time 4/4
42 }
43
44 sopMusic = \relative c'' {
45   c4 c c8[( b)] c4
46 }
47 sopWords = \lyricmode {
48   hi hi hi hi
49 }
50
51 altoMusic = \relative c' {
52   e4 f d e
53 }
54 altoWords =\lyricmode {
55   ha ha ha ha
56 }
57
58 tenorMusic = \relative c' {
59   g4 a f g
60 }
61 tenorWords = \lyricmode {
62   hu hu hu hu
63 }
64
65 bassMusic = \relative c {
66   c4 c g c
67 }
68 bassWords = \lyricmode {
69   ho ho ho ho
70 }
71
72 \score {
73   <<
74     \new ChoirStaff <<
75       \new Lyrics = sopranos { s1 }
76       \new Staff = women <<
77         \new Voice = sopranos { \voiceOne << \global \sopMusic >> }
78         \new Voice = altos { \voiceTwo << \global \altoMusic >> }
79       >>
80       \new Lyrics = altos { s1 }
81       \new Lyrics = tenors { s1 }
82       \new Staff = men <<
83         \clef bass
84         \new Voice = tenors { \voiceOne <<\global \tenorMusic >> }
85         \new Voice = basses { \voiceTwo <<\global \bassMusic >> }
86       >>
87       \new Lyrics = basses { s1 }
88       \context Lyrics = sopranos \lyricsto sopranos \sopWords
89       \context Lyrics = altos \lyricsto altos \altoWords
90       \context Lyrics = tenors \lyricsto tenors \tenorWords
91       \context Lyrics = basses \lyricsto basses \bassWords
92     >>
93     \new PianoStaff <<
94       \new Staff <<
95         \set Staff.printPartCombineTexts = ##f
96         \partcombine
97         << \global \sopMusic >>
98         << \global \altoMusic >>
99       >>
100       \new Staff <<
101         \clef bass
102         \set Staff.printPartCombineTexts = ##f
103         \partcombine
104         << \global \tenorMusic >>
105         << \global \bassMusic >>
106       >>
107     >>
108   >>
109   \layout {
110     \context {
111       % a little smaller so lyrics
112       % can be closer to the staff
113       \Staff
114       \override VerticalAxisGroup #'minimum-Y-extent = #'(-3 . 3)
115     }
116   }
117 }