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