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