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