]> git.donarmstrong.com Git - lilypond.git/blob - Documentation/snippets/hymn-template.ly
Doc: run makelsr.py after adding italian translation of snippets in LM
[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.0"
8
9 \header {
10 %% Translation of GIT committish: 4077120c18ac1dc490501b3d7d5886bc93e61a42
11   texidocit = "
12 Il codice seguente mostra un modo di impostare un inno quando ogni linea
13 inizia e finisce con una misura parziale.  Mostra anche come aggiungere delle
14 strofe come testo separato sotto la musica.
15
16 "
17   doctitleit = "Modello per inno"
18
19   lsrtags = "vocal-music, template"
20
21
22 %% Translation of GIT committish: 615cbf212fdaf0b220b3330da417d0c3602494f2
23   texidoces = "
24   Este fragmento de código muestra una forma de preparar un himno cuando
25 cada línea comienza con un compás parcial.  También muestra cómo
26 añadir los versos como texto independiente debajo de la música.
27
28 "
29
30   doctitlees = "Plantilla para himnos"
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: 26375d5016d8d180fc914bfd07cf76f4168f2e37
44
45   texidocfr = "
46 Le code ci-dessous illustre la manière d'agencer un cantique liturgique
47 dans lequel chaque ligne débute et se termine par une mesure incomplète.
48 Vous noterez par ailleurs l'affichage des paroles indépendamment de la
49 musique.
50
51 "
52   doctitlefr = "Modèle pour cantique"
53
54   texidoc = "
55 This code shows one way of setting out a hymn tune when each line
56 starts and ends with a partial measure.  It also shows how to add the
57 verses as stand-alone text under the music.
58
59 "
60   doctitle = "Hymn template"
61 } % begin verbatim
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