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