]> git.donarmstrong.com Git - lilypond.git/blob - input/lsr/vocal-ensemble-template-with-automatic-piano-reduction.ly
Merge branch 'lilypond/translation' of ssh://trettig@git.sv.gnu.org/srv/git/lilypond...
[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.11.38"
4
5 \header {
6   lsrtags = "vocal-music, keyboards, template"
7
8   texidoc = "
9 This template adds an automatic piano reduction to the standard SATB
10 vocal score demonstrated in \"Vocal ensemble template\". This
11 demonstrates one of the strengths of LilyPond – you can use a music
12 definition more than once. If you make any changes to the vocal notes
13 (say, tenorMusic), then the changes will also apply to the piano
14 reduction.
15
16 "
17   doctitle = "Vocal ensemble template with automatic piano reduction"
18 } % begin verbatim
19 global = {
20             \key c \major
21             \time 4/4
22          }
23          
24          sopMusic = \relative c'' {
25             c4 c c8[( b)] c4
26          }
27          sopWords = \lyricmode {
28             hi hi hi hi
29          }
30          
31          altoMusic = \relative c' {
32             e4 f d e
33          }
34          altoWords =\lyricmode {
35             ha ha ha ha
36          }
37          
38          tenorMusic = \relative c' {
39             g4 a f g
40          }
41          tenorWords = \lyricmode {
42             hu hu hu hu
43          }
44          
45          bassMusic = \relative c {
46             c4 c g c
47          }
48          bassWords = \lyricmode {
49             ho ho ho ho
50          }
51          
52          \score {
53            <<
54              \new ChoirStaff <<
55                \new Lyrics = sopranos { s1 }
56                \new Staff = women <<
57                  \new Voice =
58                    "sopranos" { \voiceOne << \global \sopMusic >> }
59                  \new Voice =
60                    "altos" { \voiceTwo << \global \altoMusic >> }
61                >>
62                \new Lyrics = "altos" { s1 }
63                \new Lyrics = "tenors" { s1 }
64                \new Staff = men <<
65                  \clef bass
66                  \new Voice =
67                    "tenors" { \voiceOne <<\global \tenorMusic >> }
68                  \new Voice =
69                    "basses" { \voiceTwo <<\global \bassMusic >> }
70                >>
71                \new Lyrics = basses { s1 }
72          
73                \context Lyrics = sopranos \lyricsto sopranos \sopWords
74                \context Lyrics = altos \lyricsto altos \altoWords
75                \context Lyrics = tenors \lyricsto tenors \tenorWords
76                \context Lyrics = basses \lyricsto basses \bassWords
77              >>
78            \new PianoStaff <<
79              \new Staff <<
80                \set Staff.printPartCombineTexts = ##f
81                \partcombine
82                << \global \sopMusic >>
83                << \global \altoMusic >>
84              >>
85              \new Staff <<
86                \clef bass
87                \set Staff.printPartCombineTexts = ##f
88                \partcombine
89                << \global \tenorMusic >>
90                << \global \bassMusic >>
91              >>
92             >>
93            >>
94            \layout {
95              \context {
96                % a little smaller so lyrics
97                % can be closer to the staff
98                \Staff
99                  \override VerticalAxisGroup #'minimum-Y-extent = #'(-3 . 3)
100              }
101            }
102          }
103