]> git.donarmstrong.com Git - lilypond.git/blobdiff - Documentation/snippets/vocal-ensemble-template-with-automatic-piano-reduction.ly
Run scripts/auxiliar/update-with-convert-ly.sh
[lilypond.git] / Documentation / snippets / vocal-ensemble-template-with-automatic-piano-reduction.ly
index f75de77c6eca1bb0f8f2dacec60155ada334b1a2..59754d98ee480133791b2f26498ce5526a93b306 100644 (file)
@@ -1,50 +1,13 @@
-%% Do not edit this file; it is automatically
+%% DO NOT EDIT this file manually; it is automatically
 %% generated from LSR http://lsr.dsi.unimi.it
+%% Make any changes in LSR itself, or in Documentation/snippets/new/ ,
+%% and then run scripts/auxiliar/makelsr.py
+%%
 %% This file is in the public domain.
-\version "2.13.10"
+\version "2.16.0"
 
 \header {
-  lsrtags = "vocal-music, keyboards, template"
-
-%% Translation of GIT committish: 45fc8488655f9ea122d1ec6e3328892618bd6971
-  texidoces = "
-
-Esta plantilla añade una reducción de piano automática a la partitura
-vocal SATB estándar que se mostró en la @qq{Plantilla de conjunto
-vocal}. Esto presenta uno de los puntos fuertes de LilyPond: podemos
-usar una definición de música más de una vez. Si se hace cualquier
-cambio en las notas de la parte vocal (digamos @code{tenorMusic}),
-entonces los cambios se aplicarán también a la reducción de piano.
-
-"
-  doctitlees = "Plantilla de conjunto vocal con reducción de piano automática"
-
-%% Translation of GIT committish: 06d99c3c9ad1c3472277b4eafd7761c4aadb84ae
-  texidocja = "
-このテンプレートは、\"合唱テンプレート\"で示された標準の SATB ボーカル譜に自動@c
-ピアノ譜を付け加えています。これは LilyPond の強みの 1 つを示しています - 音楽@c
-定義を何回も使用することができます。ボーカルの音符 (例えば、@code{tenorMusic}
-の音符) に変更が加えられた場合、その変更はピアノ譜にも適用されます。
-"
-%% Translation of GIT committish: d96023d8792c8af202c7cb8508010c0d3648899d
-  texidocde = "
-In diesem Beispiel wird ein automatischer Klavierauszug zu der
-Chorpartitur hinzugefügt. Das zeigt eine der Stärken von LilyPond
--- man kann eine Variable mehr als einmal benutzen. Wenn Sie
-irgendeine Änderung an einer Chorstimme vornehmen, (etwa
-tenorMusic), verändert sich auch der Klavierauszug entsprechend.
-"
-
-%% Translation of GIT committish: 892286cbfdbe89420b8181975032ea975e79d2f5
-  texidocfr = "
-Ce canevas ajoute une réduction pour piano à une partition standard pour
-chœur à quatre voix mixtes.  Ceci illustre l'un des avantages de
-LilyPond : une expression musicale peut être réutilisée sans effort.
-Toute modification apportée à l'une des voix, mettons @code{tenorMusique},
-sera automatiquement reportée dans la réduction pour piano.
-
-"
-  doctitlefr = "Ensemble vocal avec réduction pour piano"
+  lsrtags = "automatic-notation, keyboards, template, vocal-music"
 
   texidoc = "
 This template adds an automatic piano reduction to the standard SATB
@@ -58,6 +21,14 @@ reduction.
   doctitle = "Vocal ensemble template with automatic piano reduction"
 } % begin verbatim
 
+
+\paper {
+  top-system-spacing #'basic-distance = #10
+  score-system-spacing #'basic-distance = #20
+  system-system-spacing #'basic-distance = #20
+  last-bottom-spacing #'basic-distance = #10
+}
+
 global = {
   \key c \major
   \time 4/4
@@ -94,23 +65,30 @@ bassWords = \lyricmode {
 \score {
   <<
     \new ChoirStaff <<
-      \new Lyrics = sopranos { s1 }
-      \new Staff = women <<
-        \new Voice = sopranos { \voiceOne << \global \sopMusic >> }
-        \new Voice = altos { \voiceTwo << \global \altoMusic >> }
+      \new Lyrics = "sopranos" \with {
+        % This is needed for lyrics above a staff
+        \override VerticalAxisGroup #'staff-affinity = #DOWN
+      }
+      \new Staff = "women" <<
+        \new Voice = "sopranos" { \voiceOne << \global \sopMusic >> }
+        \new Voice = "altos" { \voiceTwo << \global \altoMusic >> }
       >>
-      \new Lyrics = altos { s1 }
-      \new Lyrics = tenors { s1 }
-      \new Staff = men <<
+      \new Lyrics = "altos"
+      \new Lyrics = "tenors" \with {
+        % This is needed for lyrics above a staff
+        \override VerticalAxisGroup #'staff-affinity = #DOWN
+      }
+
+      \new Staff = "men" <<
         \clef bass
-        \new Voice = tenors { \voiceOne <<\global \tenorMusic >> }
-        \new Voice = basses { \voiceTwo <<\global \bassMusic >> }
+        \new Voice = "tenors" { \voiceOne << \global \tenorMusic >> }
+        \new Voice = "basses" { \voiceTwo << \global \bassMusic >> }
       >>
-      \new Lyrics = basses { s1 }
-      \context Lyrics = sopranos \lyricsto sopranos \sopWords
-      \context Lyrics = altos \lyricsto altos \altoWords
-      \context Lyrics = tenors \lyricsto tenors \tenorWords
-      \context Lyrics = basses \lyricsto basses \bassWords
+      \new Lyrics = "basses"
+      \context Lyrics = "sopranos" \lyricsto "sopranos" \sopWords
+      \context Lyrics = "altos" \lyricsto "altos" \altoWords
+      \context Lyrics = "tenors" \lyricsto "tenors" \tenorWords
+      \context Lyrics = "basses" \lyricsto "basses" \bassWords
     >>
     \new PianoStaff <<
       \new Staff <<
@@ -128,13 +106,4 @@ bassWords = \lyricmode {
       >>
     >>
   >>
-  \layout {
-    \context {
-      % a little smaller so lyrics
-      % can be closer to the staff
-      \Staff
-      \override VerticalAxisGroup #'minimum-Y-extent = #'(-3 . 3)
-    }
-  }
 }
-