LilyPond has limited support for figured bass
<< \context Voice { \clef bass dis4 c d ais g fis} \context FiguredBass \figuremode { < 6 >4 < 7 >8 < 6+ [_!] > < 6 >4 <6 5 [3+] > < _ >4 < 6 >4 } >>
The support for figured bass consists of two parts: there is an input
mode, introduced by \figuremode
, where you can enter bass figures
as numbers, and there is a context called
FiguredBass that
takes care of making
BassFigure objects.
In figures input mode, a group of bass figures is delimited by
<
and >
. The duration is entered after the >
<4 6>
Accidentals are added when you append -
, !
, and +
to the numbers
<4- 6+ 7!>
Spaces or dashes may be inserted by using _
. Brackets are
introduced with [
and ]
. You can also include text
strings and text markups, see Overview of text markup commands.
< [4 6] 8 [_! 12] > < 5 \markup { + \number 6 } >
Although the support for figured bass may superficially resemble chord
support, it works much simpler. The \figuremode
mode simply
stores the numbers and
FiguredBass context prints
them as entered. There is no conversion to pitches and no
realizations of the bass are played in the MIDI file.
Internally, the code produces markup texts. You can use any of the
markup text properties to override formatting. For example, the
vertical spacing of the figures may be set with baseline-skip
.
Program reference: BassFigure object, FiguredBass context.
Slash notation for alterations is not supported.
This page is for LilyPond-2.6.3 (stable-branch).