]> git.donarmstrong.com Git - lilypond.git/blob - Documentation/snippets/vocal-ensemble-template-with-verse-and-refrain.ly
Merge branch 'master' into lilypond/translation
[lilypond.git] / Documentation / snippets / vocal-ensemble-template-with-verse-and-refrain.ly
1 % Do not edit this file; it is automatically
2 % generated from Documentation/snippets/new
3 % This file is in the public domain.
4 %% Note: this file works from version 2.13.21
5 \version "2.13.21"
6
7 \header {
8 %% Translation of GIT committish: e0aa246e0ed1a86dc41a99ab79bff822d3320aa7
9
10   texidoces = "
11 Esta plantilla crea una partitura que comienza con una estrofa para
12 solista y continúa con un estribillo a dos voces.  también muestra el
13 uso de silencios de separación dentro de la variable @code{\global}
14 para definir cambios de compás (y otros elementos que son comunes a
15 todas las partes) a lo largo de toda la partitura.
16
17 "
18
19   doctitlees = "Estrofa para solista y estribillo a dos voces"
20
21   lsrtags = "vocal-music, contexts-and-engravers, template"
22   texidoc = "
23 This template creates a score which starts with a solo verse and
24 continues into a refrain for two voices.  It also demonstrates the
25 use of spacer rests within the @code{\global} variable to define
26 meter changes (and other elements common to all parts) throughout
27 the entire score.
28 "
29   doctitle = "Solo verse and two-part refrain"
30 } % begin verbatim
31
32
33 global = {
34   \key g \major
35
36   % verse
37   \time 3/4
38   s2.*2
39   \break
40
41   % refrain
42   \time 2/4
43   s2*2
44   \bar "|."
45 }
46
47 SoloNotes = \relative g' {
48   \clef "treble"
49
50   % verse
51   g4 g g |
52   b4 b b |
53
54   % refrain
55   R2*2 |
56 }
57
58 SoloLyrics = \lyricmode {
59   One two three |
60   four five six |
61 }
62
63 SopranoNotes = \relative c'' {
64   \clef "treble"
65
66   % verse
67   R2.*2 |
68
69   % refrain
70   c4 c |
71   g4 g |
72 }
73
74 SopranoLyrics = \lyricmode {
75   la la |
76   la la |
77 }
78
79 BassNotes = \relative c {
80   \clef "bass"
81
82   % verse
83   R2.*2 |
84
85   % refrain
86   c4 e |
87   d4 d |
88 }
89
90 BassLyrics = \lyricmode {
91   dum dum |
92   dum dum |
93 }
94
95 \score {
96   <<
97     \new Voice = "SoloVoice" << \global \SoloNotes >>
98     \new Lyrics \lyricsto "SoloVoice" \SoloLyrics
99
100     \new ChoirStaff <<
101       \new Voice = "SopranoVoice" << \global \SopranoNotes >>
102       \new Lyrics \lyricsto "SopranoVoice" \SopranoLyrics
103
104       \new Voice = "BassVoice" << \global \BassNotes >>
105       \new Lyrics \lyricsto "BassVoice" \BassLyrics
106     >>
107   >>
108   \layout {
109     ragged-right = ##t
110     \context { \Staff
111       % these lines prevent empty staves from being printed
112       \RemoveEmptyStaves
113       \override VerticalAxisGroup #'remove-first = ##t
114     }
115   }
116 }
117