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