Skip to main content

Module figuredbass

Module figuredbass 

Source
Expand description

Figured bass: the numbers written under a bass note. Figured bass: the numbers written under a bass note, and what they mean.

A column of figures says how far above the bass each note of the chord stands, and an accidental beside a number says how that note is spelled. Most of a column is left out in practice — a bare 7 means a seventh chord in root position, fifth and third and all — so a column is read in two forms: as written, and expanded to every note it stands for.

This is the port of music21’s figuredBass.notation, and it is what crate::roman::RomanNumeral reads its own digits with.

Structs§

Figure
One figure of a column: a number above the bass and the accidental written beside it.
Modifier
The accidental written beside a figure: music21’s Modifier.
Notation
One column of figured bass, as written and as it stands expanded.

Constants§

EXTENDER
The number a figure carries when it is nothing but an extender line: music21’s EXTENDER_SENTINEL.

Functions§

convert_to_pitch
A pitch from its name: music21’s convertToPitch, which raises a ValueError rather than a pitch error for a name it cannot read.