]> git.donarmstrong.com Git - lilypond.git/blob - Documentation/snippets/vocal-ensemble-template-with-verse-and-refrain.ly
Doc-fr: updates texidocs
[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.dsi.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.17.6"
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
24 global = {
25   \key g \major
26
27   % verse
28   \time 3/4
29   s2.*2
30   \break
31
32   % refrain
33   \time 2/4
34   s2*2
35   \bar "|."
36 }
37
38 SoloNotes = \relative g' {
39   \clef "treble"
40
41   % verse
42   g4 g g |
43   b4 b b |
44
45   % refrain
46   R2*2 |
47 }
48
49 SoloLyrics = \lyricmode {
50   One two three |
51   four five six |
52 }
53
54 SopranoNotes = \relative c'' {
55   \clef "treble"
56
57   % verse
58   R2.*2 |
59
60   % refrain
61   c4 c |
62   g4 g |
63 }
64
65 SopranoLyrics = \lyricmode {
66   la la |
67   la la |
68 }
69
70 BassNotes = \relative c {
71   \clef "bass"
72
73   % verse
74   R2.*2 |
75
76   % refrain
77   c4 e |
78   d4 d |
79 }
80
81 BassLyrics = \lyricmode {
82   dum dum |
83   dum dum |
84 }
85
86 \score {
87   <<
88     \new Voice = "SoloVoice" << \global \SoloNotes >>
89     \new Lyrics \lyricsto "SoloVoice" \SoloLyrics
90
91     \new ChoirStaff <<
92       \new Voice = "SopranoVoice" << \global \SopranoNotes >>
93       \new Lyrics \lyricsto "SopranoVoice" \SopranoLyrics
94
95       \new Voice = "BassVoice" << \global \BassNotes >>
96       \new Lyrics \lyricsto "BassVoice" \BassLyrics
97     >>
98   >>
99   \layout {
100     ragged-right = ##t
101     \context { \Staff
102       % these lines prevent empty staves from being printed
103       \RemoveEmptyStaves
104       \override VerticalAxisGroup.remove-first = ##t
105     }
106   }
107 }