X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=input%2Ftest%2Ffigured-bass.ly;h=9c6b0300be89eb0249300f6b702d08bf978fb5dc;hb=19125bf158fe23501e40eef6da3bbf876c664f2a;hp=102c7f90b6a1b3a1fe28d297e3a01f2c0a633fef;hpb=d4ccda2bdfd21f3694d8a37d4088f8fe9acd6de8;p=lilypond.git diff --git a/input/test/figured-bass.ly b/input/test/figured-bass.ly index 102c7f90b6..9c6b0300be 100644 --- a/input/test/figured-bass.ly +++ b/input/test/figured-bass.ly @@ -1,27 +1,29 @@ -\version "1.3.146" -% Example of figured bass, using text scripts. -% (An alternative is to use a lyrics line if you want the figures -% aligned vertically.) - - - -% Scheme macros for accidentals. Note how they can be combined -% with other strings, for example in: d^#`(columns ,sharp "4") - -#(define sharp '((raise . 0.2) (music (named "accidentals-1")))) -#(define natural '((raise . 0.2) (music (named "accidentals-0")))) -#(define flat '((raise . 0.2) (music (named "accidentals--1")))) - - -\score{ - \notes \relative c'{ - \clef bass - - c^"5" d^#natural g,^"7 6" [a8 e] | - fis4^"7 6" [g8 d] e4^"7 6" [f?8 c] | - [d^#sharp d b g][c^"7" c^"5" a^"6" f] | - [bes^"7" bes^"5" g^"6" e] a4^#sharp d^"6" ~ | - d^#`(columns ,sharp "4") c^"6" d e^#sharp | +\header { +texidoc = "Test figured bass. + +Figured bass is created by the FiguredBass context which eats +note-requests and rest-requests. You can enter these either using +standard @code{< >} notation, or using the special @code{\figures { }} +mode, which allows you to type numbers, like @code{<4 6+>}. + +" } + +\score { \notes < +\context FiguredBass \transpose c'' { + + + \figures { + r + <1 3 5>4 <3- 5+ 6!> <5> + } + } + \context Voice { + c + g8 g + f4 + d + c } -} - + +> + }