1 % DO NOT EDIT this file manually; it is automatically
2 % generated from Documentation/snippets/new
3 % Make any changes in Documentation/snippets/new/
4 % and then run scripts/auxiliar/makelsr.py
6 % This file is in the public domain.
7 %% Note: this file works from version 2.19.12
11 lsrtags = "automatic-notation, keyboards, template, vocal-music"
14 This template adds an automatic piano reduction to the standard SATB
15 vocal score demonstrated in @qq{Vocal ensemble template}. This
16 demonstrates one of the strengths of LilyPond – you can use a music
17 definition more than once. If any changes are made to the vocal notes
18 (say, @code{tenorMusic}), then the changes will also apply to the piano
22 doctitle = "Vocal ensemble template with automatic piano reduction"
26 top-system-spacing.basic-distance = #10
27 score-system-spacing.basic-distance = #20
28 system-system-spacing.basic-distance = #20
29 last-bottom-spacing.basic-distance = #10
37 sopMusic = \relative c'' {
40 sopWords = \lyricmode {
44 altoMusic = \relative c' {
47 altoWords =\lyricmode {
51 tenorMusic = \relative c' {
54 tenorWords = \lyricmode {
58 bassMusic = \relative c {
61 bassWords = \lyricmode {
68 \new Lyrics = "sopranos" \with {
69 % This is needed for lyrics above a staff
70 \override VerticalAxisGroup.staff-affinity = #DOWN
72 \new Staff = "women" <<
73 \new Voice = "sopranos" { \voiceOne << \global \sopMusic >> }
74 \new Voice = "altos" { \voiceTwo << \global \altoMusic >> }
77 \new Lyrics = "tenors" \with {
78 % This is needed for lyrics above a staff
79 \override VerticalAxisGroup.staff-affinity = #DOWN
84 \new Voice = "tenors" { \voiceOne << \global \tenorMusic >> }
85 \new Voice = "basses" { \voiceTwo << \global \bassMusic >> }
87 \new Lyrics = "basses"
88 \context Lyrics = "sopranos" \lyricsto "sopranos" \sopWords
89 \context Lyrics = "altos" \lyricsto "altos" \altoWords
90 \context Lyrics = "tenors" \lyricsto "tenors" \tenorWords
91 \context Lyrics = "basses" \lyricsto "basses" \bassWords
95 \set Staff.printPartCombineTexts = ##f
97 << \global \sopMusic >>
98 << \global \altoMusic >>
102 \set Staff.printPartCombineTexts = ##f
104 << \global \tenorMusic >>
105 << \global \bassMusic >>