]> git.donarmstrong.com Git - lilypond.git/blob - Documentation/snippets/hymn-template.ly
Merge branch 'master' into lilypond/translation
[lilypond.git] / Documentation / snippets / hymn-template.ly
1 %% Do not edit this file; it is automatically
2 %% generated from LSR http://lsr.dsi.unimi.it
3 %% This file is in the public domain.
4 \version "2.12.2"
5
6 \header {
7   lsrtags = "vocal-music, template"
8
9 %% Translation of GIT committish: fa19277d20f8ab0397c560eb0e7b814bd804ecec
10   texidoces = "
11   Este fragmento de código muestra una forma de preparar un himno cuando
12 cada línea comienza con un compás parcial.  También muestra cómo
13 añadir los versos como texto independiente debajo de la música.
14
15 "
16
17   doctitlees = "Plantilla para himnos"
18
19 %%    Translation of GIT committish: ab9e3136d78bfaf15cc6d77ed1975d252c3fe506
20
21   texidocde = "
22 Dieses Beispiel zeigt eine Möglichkeit, eine Hymnusmelodie zu setzen, in
23 der jede Zeiel mit einem Auftakt beginnt und einem unvollständigen
24 Takt abschließt.  Es zeigt auch, wie man die Strophen als allein stehenden
25 Text unter die Noten hinzufügt.
26
27 "
28   doctitlede = "Hymnus-Vorlage"
29
30
31 %% Translation of GIT committish: 26375d5016d8d180fc914bfd07cf76f4168f2e37
32
33   texidocfr = "
34 Le code ci-dessous illustre la manière d'agencer un cantique liturgique
35 dans lequel chaque ligne débute et se termine par une mesure incomplète.
36 Vous noterez par ailleurs l'affichage des paroles indépendamment de la
37 musique.
38
39 "
40   doctitlefr = "Modèle pour cantique"
41
42   texidoc = "
43 This code shows one way of setting out a hymn tune when each line
44 starts and ends with a partial measure.  It also shows how to add the
45 verses as stand-alone text under the music.
46
47 "
48   doctitle = "Hymn template"
49 } % begin verbatim
50
51 Timeline = {
52   \time 4/4
53   \tempo 4=96
54   \partial 2
55   s2 | s1 | s2 \breathe s2 | s1 | s2 \bar "||" \break
56   s2 | s1 | s2 \breathe s2 | s1 | s2 \bar "||"
57 }
58
59 SopranoMusic = \relative g' {
60   g4 g | g g g g | g g g g | g g g g | g2
61   g4 g | g g g g | g g g g | g g g g | g2
62 }
63
64 AltoMusic = \relative c' {
65   d4 d | d d d d | d d d d | d d d d | d2
66   d4 d | d d d d | d d d d | d d d d | d2
67 }
68
69 TenorMusic = \relative a {
70   b4 b | b b b b | b b b b | b b b b | b2
71   b4 b | b b b b | b b b b | b b b b | b2
72 }
73
74 BassMusic =  \relative g {
75   g4 g | g g g g | g g g g | g g g g | g2
76   g4 g | g g g g | g g g g | g g g g | g2
77 }
78
79 global = {
80  \key g \major
81 }
82
83 \score {  % Start score
84   <<
85     \new PianoStaff <<  % Start pianostaff
86       \new Staff <<  % Start Staff = RH
87         \global
88         \clef "treble"
89         \new Voice = "Soprano" <<  % Start Voice = "Soprano"
90           \Timeline
91           \voiceOne
92           \SopranoMusic
93         >>  % End Voice = "Soprano"
94         \new Voice = "Alto" <<  % Start Voice = "Alto"
95           \Timeline
96           \voiceTwo
97           \AltoMusic
98         >>  % End Voice = "Alto"
99       >>  % End Staff = RH
100       \new Staff <<  % Start Staff = LH
101         \global
102         \clef "bass"
103         \new Voice = "Tenor" <<  % Start Voice = "Tenor"
104           \Timeline
105           \voiceOne
106           \TenorMusic
107         >>  % End Voice = "Tenor"
108         \new Voice = "Bass" <<  % Start Voice = "Bass"
109           \Timeline
110           \voiceTwo
111           \BassMusic
112         >>  % End Voice = "Bass"
113       >>  % End Staff = LH
114     >>  % End pianostaff
115   >>
116 }  % End score
117
118 \markup {
119   \fill-line {
120     ""
121     {
122       \column {
123         \left-align {
124           "This is line one of the first verse"
125           "This is line two of the same"
126           "And here's line three of the first verse"
127           "And the last line of the same"
128         }
129       }
130     }
131     ""
132   }
133 }
134
135 \paper {  % Start paper block
136   indent = 0     % don't indent first system
137   line-width = 130   % shorten line length to suit music
138 }  % End paper block
139