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