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