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