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