subsequence.cadences
The API reference for Cadence.
Cadence
class Cadence(
name: str,
theory_name: str,
formula: typing.Tuple[typing.Any, ...],
close_degree: int,
)
One cadence formula — a named tail plus its melodic close.
Attributes
name: The producer name (the primary key in the table).theory_name: The traditional name, for the curious.formula: The chord tail, in progression-element grammar, ending on the arrival chord.close_degree: The scale degree a melody lands on at this cadence (1 for full closes; 5 for the open half — and 1 for the fakeout too: the melody resolves as promised while the harmony swerves, which is the trick of it).
Members: close_degree, formula, name, theory_name
Cadence.name
Cadence.name: str
Cadence.theory_name
Cadence.theory_name: str
Cadence.formula
Cadence.formula: typing.Tuple[typing.Any, ...]
Cadence.close_degree
Cadence.close_degree: int