LSR: Update.
[lilypond.git] / input / lsr / vocal-ensemble-template-with-automatic-piano-reduction.ly
blobe11ff66beb3e5de010393714087549b2e4371c49
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.55"
5 \header {
6 lsrtags = "vocal-music, keyboards, template"
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 any changes are made to the vocal notes
13 (say, @code{tenorMusic}), then the changes will also apply to the piano
14 reduction.
17 doctitle = "Vocal ensemble template with automatic piano reduction"
18 } % begin verbatim
19 global = {
20 \key c \major
21 \time 4/4
24 sopMusic = \relative c'' {
25 c4 c c8[( b)] c4
27 sopWords = \lyricmode {
28 hi hi hi hi
31 altoMusic = \relative c' {
32 e4 f d e
34 altoWords =\lyricmode {
35 ha ha ha ha
38 tenorMusic = \relative c' {
39 g4 a f g
41 tenorWords = \lyricmode {
42 hu hu hu hu
45 bassMusic = \relative c {
46 c4 c g c
48 bassWords = \lyricmode {
49 ho ho ho ho
52 \score {
54 \new ChoirStaff <<
55 \new Lyrics = sopranos { s1 }
56 \new Staff = women <<
57 \new Voice = sopranos { \voiceOne << \global \sopMusic >> }
58 \new Voice = altos { \voiceTwo << \global \altoMusic >> }
60 \new Lyrics = altos { s1 }
61 \new Lyrics = tenors { s1 }
62 \new Staff = men <<
63 \clef bass
64 \new Voice = tenors { \voiceOne <<\global \tenorMusic >> }
65 \new Voice = basses { \voiceTwo <<\global \bassMusic >> }
67 \new Lyrics = basses { s1 }
68 \context Lyrics = sopranos \lyricsto sopranos \sopWords
69 \context Lyrics = altos \lyricsto altos \altoWords
70 \context Lyrics = tenors \lyricsto tenors \tenorWords
71 \context Lyrics = basses \lyricsto basses \bassWords
73 \new PianoStaff <<
74 \new Staff <<
75 \set Staff.printPartCombineTexts = ##f
76 \partcombine
77 << \global \sopMusic >>
78 << \global \altoMusic >>
80 \new Staff <<
81 \clef bass
82 \set Staff.printPartCombineTexts = ##f
83 \partcombine
84 << \global \tenorMusic >>
85 << \global \bassMusic >>
89 \layout {
90 \context {
91 % a little smaller so lyrics
92 % can be closer to the staff
93 \Staff
94 \override VerticalAxisGroup #'minimum-Y-extent = #'(-3 . 3)