]> git.donarmstrong.com Git - lilypond.git/blob - Documentation/snippets/figured-bass-headword.ly
Merge branch 'lilypond/translation' of ssh://git.sv.gnu.org/srv/git/lilypond
[lilypond.git] / Documentation / snippets / figured-bass-headword.ly
1 % Do not edit this file; it is automatically
2 % generated from Documentation/snippets/new
3 % This file is in the public domain.
4 %% Note: this file works from version 2.12.0
5 \version "2.13.10"
6 #(set-global-staff-size 15)
7 \paper {
8   ragged-right = ##f
9   line-width = 16\cm
10   indent = 1.5\cm
11 }
12
13 \layout {
14   \context {
15     \Score
16     \override PaperColumn #'keep-inside-line = ##t
17     \override NonMusicalPaperColumn #'keep-inside-line = ##t
18   }
19 }
20
21 % NR 2.7.3 Figured bass
22
23
24 \header {
25   lsrtags = "headwords"
26   texidoc = ""
27   doctitle = "headword"
28 } % begin verbatim
29
30
31 % Arcangelo Corelli, 12 Sonate da Camera, Op. 2
32 % Sonata II, Allemanda
33 % measures 1 - 88
34 % Coded by Neil Puttock; modified by Carl Sorensen
35
36 extendOn = \bassFigureExtendersOn
37 extendOff = \bassFigureExtendersOff
38
39 \score {
40
41   \new StaffGroup <<
42
43     \new GrandStaff <<
44
45       \new Staff = "violinoI" {
46         \set Staff.instrumentName = \markup {
47           \line { Violino I. }
48         }
49         \time 4/4
50         \mark \markup { \italic Adagio. }
51         \partial 8
52         r16 a'16 |
53         a'8. [ d''16 d''8.  e''16 ] cis''8 a'4 a''16 bes''16 |
54         cis''8 d''16 ( e'' ) e''8.  d''16 d''4 r8 d''16 e''16 |
55         f''8 f''4 g''16 ( f''16 ) e''8 e''4 f''16 ( e''16 ) |
56         d''8.  d''16 g''16 ( f''16 ) e''16 ( d''16 ) cis''8
57             cis''4 cis''16 cis''16 |
58         d''8 d''8 c''8.  c''16 c''8 ( b'4 ) b'16 b'16 |
59         c''8 c''8 bes'8.  bes'16 bes'8 ( a'4 ) a''16 a''16 |
60         a''8 g''8 g''8.  g''16 g''8 ( f''8 ) r8 f''8 |
61       }
62
63       \new Staff = "violinoII" {
64         \set Staff.instrumentName = \markup {
65           \line { Violino II. }
66         }
67         \time 4/4
68         \partial 8
69         r16 f'16 |
70         f'8.  g'16 g'4 a'4 r8 d''16 d''16 |
71         e''8 a'8 cis''8.  d''16 d''4 r8 f''16 g''16 |
72         a''8 a''8 d''8.  d''16 g'8 g'8 c''8.  c''16 |
73         f'8.  f''16 bes''16 ( a''16 ) g''16 ( f''16 ) e''8 e''4 e''16 e''16 |
74         a'8 fis''8 g''8 a''8 d''8 d''4 d''16 d''16 |
75         g'8 e''8 f''8 g''8 c''8 c''4 cis''16 cis''16 |
76         d''8 d''8 e''8.  e''16 e''8 a'8 r8 d''8 |
77       }
78
79     >>
80
81     \new Staff = "violone" {
82       \set Staff.instrumentName = \markup {
83         \center-column {
84           Violone,
85           \line { e Cembalo. }
86         }
87       }
88       \time 4/4
89       \clef bass
90       \partial 8
91       r16 d16 |
92       d4 bes,4 a,4 f4 |
93       g8 f16 g16 a8 a,8 d4 d'4 ~ |
94       d'8 c'8 b4 c'8 c'16 bes16 a4 |
95       bes8 bes16 a16 g4 a8 a,4 a16 g16 |
96       fis8 d8 e8 fis8 g8 g,4 g16 f16 |
97       e8 c8 d8 e8 f8 f,4 a,8 |
98       b,4 cis4 d4 r8 d'8 |
99     }
100
101     \new FiguredBass \figuremode {
102       \set figuredBassAlterationDirection = #RIGHT
103       \set figuredBassPlusDirection = #RIGHT
104       \override VerticalAxisGroup #'minimum-Y-extent = #'()
105       \override BassFigureAlignment #'stacking-dir = #DOWN
106       s8 |
107       s4 <6>4 <_+>4 <6>4 |
108       <6 4\+ 2>8 <6>8 <_+> s8 s2 |
109       <5>8 <6 4>8 <6 5>4 s4 <5>8 <6>8 |
110       s4 <6 5 _-> <_+>2 |
111       <6>8 <_+>8 <6>8 <6 5>8 <5 4>8 \extendOn <5 _!>8 \extendOff s4 |
112       <6>4 <6->8 <6 5->8 <5 4->8 \extendOn <5 3>4 \extendOff <5 _+>8 |
113       <7>8 <6>8 <5>4 <9 4>8 <8 3>8 s4 |
114     }
115
116   >>
117
118   \layout {
119     \context {
120       \Score
121       \override RehearsalMark #'break-align-symbols = #'(time-signature)
122       \override RehearsalMark #'self-alignment-X = #LEFT
123       \override TimeSignature #'break-align-anchor-alignment = #LEFT
124     }
125   }
126 }