summaryrefslogtreecommitdiff
path: root/Documentation/snippets/keyboard-headword.ly
blob: 177675afc54827856be5d33fbc4d2ef18bd6029b (about) (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
% DO NOT EDIT this file manually; it is automatically
% generated from Documentation/snippets/new
% Make any changes in Documentation/snippets/new/
% and then run scripts/auxiliar/makelsr.py
%
% This file is in the public domain.
%% Note: this file works from version 2.17.24
\version "2.17.24"

\header {
  lsrtags = "headword"

  texidoc = "
Keyboard headword

"
  doctitle = "Keyboard headword"
} % begin verbatim

% M. Ravel, Sonatine (1905)
% First movement
\include "english.ly"

\layout {
  \context {
    \Score
    \remove "Bar_number_engraver"
  }
}

fermataLong = \markup {
  \override #'(direction . 1)
  \override #'(baseline-skip . 2) {
    \dir-column {
      \fermata
      \text \italic \center-align long
    }
  }
}

\new PianoStaff <<
  \set PianoStaff.connectArpeggios = ##t
  \new Staff {
    \time 2/4
    \key fs \major
    <<
      \new Voice {
        \voiceOne
        fs''8 ( ^\markup {
          \override #'(baseline-skip . 2.4) \column {
            \line \bold { Un peu retenu }
            \line \italic { très expressif }
          }
        }
        es''16
        cs''16
        as'4 )
        |
        fs''8 (
        es''16
        cs''16
        as'4 )
        |
        fs''8 (
        es''16
        cs''16
        as'8
        cs''8 )
        |
      }
      \new Voice {
        \voiceTwo
        gs'8\rest \ppp
        fs'4 (
        es'8 )
        |
        gs'8\rest
        fs'4 (
        es'8 )
        |
        gs'8\rest
        fs'4 (
        es'8 )
        |
      }
    >>
    \clef bass
    <ds b! es'>4 ( ^ \markup \bold { Rall. }
    \override Script.stencil = #(lambda (grob)
      (grob-interpret-markup grob fermataLong))
    <ds' as'>8 ) \fermata
    \noBeam
    \clef treble
    \slurUp
    \once \override Hairpin.to-barline = ##f
    <as fs'>8 ( \pp \>
    |
    <gs b cs'>4. \! ) ^\markup \bold { a Tempo }
    \slurUp
    <as fs'>8 ^\( \>
    |
    <gs b cs'>4. \! \)
    <<
      \new Voice {
        \voiceOne
        <as fs'>8 (
        |
        cs'8 ^\markup \bold { Rallentando }
        b16
        cs'16
        d'8
        e'16
        fs'16
        |
        <as! cs' gs'>4. )
        s8
        |
        r8
        <cs'' as'' cs'''>4 \arpeggio
        e''16 ( ^\markup \bold { Lent }
        fs''16
        |
        \voiceTwo
        <as'! cs'' gs''>2 )
        |
      }
      \new Voice {
        \voiceTwo
        s8
        |
        <gs b>4 \<
        <fs bs>4 \>
        |
        s4. \!
        \slurUp
        \once \override Script.direction = #UP
        <a bs e'>8 ( \accent
        |
        <as! cs' gs'>4. )
        \once \override Hairpin.to-barline = ##f
        <a' bs'>8 \ppp \>
        |
        s8 \!
        \stemDown
        \once \override Script.direction = #UP
        \ottava #1
        \voiceOne
        \once \override PianoStaff.Arpeggio.padding = #0.8
        <cs''' as''' cs''''>4. \arpeggio \fermata
        \ottava #0
        \bar "|."
      }
    >>
  }
  \new Staff <<
    \set Staff.pedalSustainStyle = #'bracket
    \key fs \major
    \clef bass
    \new Voice {
      \voiceOne
      ds'4 \tenuto
      cs'4 \tenuto
      |
      ds'4 \tenuto
      cs'4 \tenuto
      |
      ds'4 \tenuto
      cs'4 \tenuto
      |
      s8
      \clef treble
      <b' cs''>8 [
      \clef bass
      <es b cs'>8 \fermata ]
      s8
      |
      fs8\rest
      \clef treble
      <b' cs''>4 \tenuto
      s8
      |
      fs8\rest
      \clef treble
      <b' cs''>4 \tenuto
      s8
      |
      s2
      |
      ds8\rest
      \clef treble
      <as' cs''>4
      \clef bass
      s8
      |
      s8
      \clef treble
      <as'>4 \arpeggio
      \clef bass
      s8
      |
      s8
      \clef treble
      <as''>4. \arpeggio \fermata
      |
    }
    \new Voice {
      \voiceTwo
      ds'8 [ (
      < ds bs >8
      cs'8
      < ds as >8 ] )
      |
      ds'8 [ (
      < ds bs >8
      cs'8
      < ds as >8 ] )
      |
      ds'8 [ (
      < ds bs >8
      cs'8
      < ds as >8 ] )
      |
      \once \override Script.outside-staff-priority = #100
      \once \override TextScript.outside-staff-priority = #500
      <cs, gs,>4. \fermata _\markup \italic { ped. }
      <fs, cs>8 (
      |
      <e, b,>4. ) \sustainOn
      \clef bass
      <fs, cs>8 \( \sustainOff
      |
      <e, b,>4. \) \sustainOn
      \clef bass
      <fs, cs>8 ( \sustainOff
      |
      <e, b,>4
      <d, a,>4
      |
      <fs,, cs,>4. ) \sustainOn
      <a, e>8 ( \sustainOff
      |
      <fs, cs>4. ) \sustainOn
      \slurUp
      <a e'>8 ( \sustainOff \sustainOn
      |
      <fs cs'>2 ) \sustainOff \sustainOn
      |
    }
  >>
>>