Skip to main content

Module segment

Module segment 

Source
Expand description

One bass note and its figures, and every way of voicing them: music21’s figuredBass.segment.

A Segment knows the notes its bass and figures stand for, and every pitch at or above the bass that spells one of them. A possibility is one pitch from those for each upper part and the bass itself for the lowest; the segment lists every possibility, keeps those its rules accept, and – given the segment that follows – every pair of possibilities that may move from one to the other, resolving a dominant seventh, a diminished seventh or an augmented sixth by the rules those chords resolve by.

Structs§

Consecutive
The pairs of voicings two segments may move between, and why they were found as they were.
Segment
A bass note, its figures, and the voicings they allow.

Functions§

pitches
Every pitch named in pitch_names, in every octave from bass up to max_pitch, both included, lowest first: music21’s segment.getPitches.

Type Aliases§

Possibility
A voicing: a pitch for each part, highest part first, the bass last.
PossibilityPair
A voicing in one segment beside a voicing in the next.