]> git.donarmstrong.com Git - lilypond.git/blob - input/test/figured-bass.ly
release: 1.3.149
[lilypond.git] / input / test / figured-bass.ly
1 \version "1.3.146"
2 % Example of figured bass, using text scripts.
3 % (An alternative is to use a lyrics line if you want the figures
4 % aligned vertically.)
5
6
7
8 % Scheme macros for accidentals. Note how they can be combined
9 % with other strings, for example in: d^#`(columns ,sharp "4")
10
11 #(define sharp '((raise . 0.2) (music (named "accidentals-1"))))
12 #(define natural '((raise . 0.2) (music (named "accidentals-0"))))
13 #(define flat '((raise . 0.2) (music (named "accidentals--1"))))
14
15
16 \score{
17   \notes \relative c'{
18     \clef bass
19
20       c^"5" d^#natural g,^"7 6" [a8 e] |
21       fis4^"7 6" [g8 d] e4^"7 6" [f?8 c] |
22       [d^#sharp d b g][c^"7" c^"5" a^"6" f] |
23       [bes^"7" bes^"5" g^"6" e] a4^#sharp d^"6" ~ |
24       d^#`(columns ,sharp "4") c^"6" d e^#sharp |
25   }
26 }
27