]> git.donarmstrong.com Git - lilypond.git/blob - Documentation/snippets/vocal-ensemble-template-with-verse-and-refrain.ly
Imported Upstream version 2.19.45
[lilypond.git] / Documentation / snippets / vocal-ensemble-template-with-verse-and-refrain.ly
1 %% DO NOT EDIT this file manually; it is automatically
2 %% generated from LSR http://lsr.di.unimi.it
3 %% Make any changes in LSR itself, or in Documentation/snippets/new/ ,
4 %% and then run scripts/auxiliar/makelsr.py
5 %%
6 %% This file is in the public domain.
7 \version "2.18.0"
8
9 \header {
10   lsrtags = "contexts-and-engravers, template, vocal-music"
11
12   texidoc = "
13 This template creates a score which starts with a solo verse and
14 continues into a refrain for two voices.  It also demonstrates the use
15 of spacer rests within the @code{\\global} variable to define meter
16 changes (and other elements common to all parts) throughout the entire
17 score.
18
19 "
20   doctitle = "Vocal ensemble template with verse and refrain"
21 } % begin verbatim
22
23 global = {
24   \key g \major
25
26   % verse
27   \time 3/4
28   s2.*2
29   \break
30
31   % refrain
32   \time 2/4
33   s2*2
34   \bar "|."
35 }
36
37 SoloNotes = \relative g' {
38   \clef "treble"
39
40   % verse
41   g4 g g |
42   b4 b b |
43
44   % refrain
45   R2*2 |
46 }
47
48 SoloLyrics = \lyricmode {
49   One two three |
50   four five six |
51 }
52
53 SopranoNotes = \relative c'' {
54   \clef "treble"
55
56   % verse
57   R2.*2 |
58
59   % refrain
60   c4 c |
61   g4 g |
62 }
63
64 SopranoLyrics = \lyricmode {
65   la la |
66   la la |
67 }
68
69 BassNotes = \relative c {
70   \clef "bass"
71
72   % verse
73   R2.*2 |
74
75   % refrain
76   c4 e |
77   d4 d |
78 }
79
80 BassLyrics = \lyricmode {
81   dum dum |
82   dum dum |
83 }
84
85 \score {
86   <<
87     \new Voice = "SoloVoice" << \global \SoloNotes >>
88     \new Lyrics \lyricsto "SoloVoice" \SoloLyrics
89
90     \new ChoirStaff <<
91       \new Voice = "SopranoVoice" << \global \SopranoNotes >>
92       \new Lyrics \lyricsto "SopranoVoice" \SopranoLyrics
93
94       \new Voice = "BassVoice" << \global \BassNotes >>
95       \new Lyrics \lyricsto "BassVoice" \BassLyrics
96     >>
97   >>
98   \layout {
99     ragged-right = ##t
100     \context { \Staff
101       % these lines prevent empty staves from being printed
102       \RemoveEmptyStaves
103       \override VerticalAxisGroup.remove-first = ##t
104     }
105   }
106 }