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