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