]> git.donarmstrong.com Git - lilypond.git/blob - Documentation/snippets/figured-bass-headword.ly
Snippets: Replace \set Staff.instrumentName
[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.19.56
8 \version "2.19.56"
9
10 \header {
11   lsrtags = "headword"
12
13   texidoc = "
14 Figured bass headword
15
16 "
17   doctitle = "Figured bass headword"
18 } % begin verbatim
19
20 % NR 2.7.3 Figured bass
21
22 % Arcangelo Corelli, 12 Sonate da Camera, Op. 2
23 % Sonata II, Allemanda
24 % measures 1 - 88
25 % Coded by Neil Puttock; modified by Carl Sorensen
26
27 extendOn = \bassFigureExtendersOn
28 extendOff = \bassFigureExtendersOff
29
30 \score {
31   \new StaffGroup <<
32     \new GrandStaff <<
33       \new Staff = "violinoI" \with { instrumentName = "Violino I." } % begin verbatim
34
35
36     {
37       \time 4/4
38       \mark \markup { \italic Adagio. }
39       \partial 8 r16 a'16 |
40       a'8. [ d''16 d''8.  e''16 ] cis''8 a'4 a''16 bes''16 |
41       cis''8 d''16 ( e'' ) e''8.  d''16 d''4 r8 d''16 e''16 |
42       f''8 f''4 g''16 ( f''16 ) e''8 e''4 f''16 ( e''16 ) |
43       d''8.  d''16 g''16 ( f''16 ) e''16 ( d''16 ) cis''8
44       cis''4 cis''16 cis''16 |
45       d''8 d''8 c''8.  c''16 c''8 ( b'4 ) b'16 b'16 |
46       c''8 c''8 bes'8.  bes'16 bes'8 ( a'4 ) a''16 a''16 |
47       a''8 g''8 g''8.  g''16 g''8 ( f''8 ) r8 f''8 |
48     }
49
50       \new Staff = "violinoII" \with { instrumentName = "Violino II." }
51
52     {
53       \time 4/4
54       \partial 8 r16 f'16 |
55       f'8.  g'16 g'4 a'4 r8 d''16 d''16 |
56       e''8 a'8 cis''8.  d''16 d''4 r8 f''16 g''16 |
57       a''8 a''8 d''8.  d''16 g'8 g'8 c''8.  c''16 |
58       f'8.  f''16 bes''16 ( a''16 ) g''16 ( f''16 ) e''8 e''4 e''16 e''16 |
59       a'8 fis''8 g''8 a''8 d''8 d''4 d''16 d''16 |
60       g'8 e''8 f''8 g''8 c''8 c''4 cis''16 cis''16 |
61       d''8 d''8 e''8.  e''16 e''8 a'8 r8 d''8 |
62     }
63
64     >>
65
66     \new Staff = "violone" \with {
67       instrumentName = \markup {
68         \center-column { Violone, \line { e Cembalo. } }
69       }
70     }
71
72     {
73       \time 4/4
74       \clef bass
75       \partial 8 r16 d16 |
76       d4 bes,4 a,4 f4 |
77       g8 f16 g16 a8 a,8 d4 d'4 ~ |
78       d'8 c'8 b4 c'8 c'16 bes16 a4 |
79       bes8 bes16 a16 g4 a8 a,4 a16 g16 |
80       fis8 d8 e8 fis8 g8 g,4 g16 f16 |
81       e8 c8 d8 e8 f8 f,4 a,8 |
82       b,4 cis4 d4 r8 d'8 |
83
84     }
85
86     \new FiguredBass \figuremode {
87       \set figuredBassAlterationDirection = #RIGHT
88       \set figuredBassPlusDirection = #RIGHT
89       \override BassFigureAlignment.stacking-dir = #DOWN
90       s8 |
91       s4 <6>4 <_+>4 <6>4 |
92       <6 4\+ 2>8 <6>8 <_+> s8 s2 |
93       <5>8 <6 4>8 <6 5>4 s4 <5>8 <6>8 |
94       s4 <6 5 _-> <_+>2 |
95       <6>8 <_+>8 <6>8 <6 5>8 <5 4>8 \extendOn <5 _!>8 \extendOff s4 |
96       <6>4 <6->8 <6 5->8 <5 4->8 \extendOn <5 3>4 \extendOff <5 _+>8 |
97       <7>8 <6>8 <5>4 <9 4>8 <8 3>8 s4 |
98     }
99   >>
100
101   \layout {
102     \context {
103       \Score
104       \override RehearsalMark.break-align-symbols = #'(time-signature)
105       \override RehearsalMark.self-alignment-X = #LEFT
106       \override TimeSignature.break-align-anchor-alignment = #LEFT
107     }
108   }
109 }