User’s Guide, Chapter 41: Figured Bass¶
Let’s start with a new piece, the first movement of a Trio sonata by Corelli.
from music21 import *
corelli = corpus.parse('corelli/opus3no1')
corelli.show()

basso = corelli.parts[-1]
basso.measure(2).show('text')
{0.0} <music21.note.Note C>
{2.0} <music21.note.Note A>
{3.0} <music21.note.Note A>
(TODO: write method, lyrics to bass…)