Class FiguredBassOptions
- Namespace
- Celeritas.Core.FiguredBass
- Assembly
- Celeritas.dll
Options for figured bass realization
public class FiguredBassOptions
- Inheritance
-
FiguredBassOptions
- Derived
- Inherited Members
Properties
Key
Key used to interpret figures diatonically (default: C major). Figured-bass intervals are scale steps in this key; accidentals in the figures alter them chromatically.
public KeySignature Key { get; init; }
Property Value
MaxPitch
Preferred ceiling for upper voices (default: C6)
public int MaxPitch { get; init; }
Property Value
Remarks
Best-effort, not a hard bound. Free (and the per-symbol RealizeSymbol(FiguredBassSymbol)) clamps every upper voice into [MinPitch, MaxPitch]. The default Smooth and Strict paths may exceed it: the first chord — and any chord where the voice count changes — is stacked upward from the bass without consulting it, and later chords fall back to the lowest placement above the bass when the range cannot hold the required pitch class. With the defaults (MinPitch 48, MaxPitch 84) a root-position bass of 83 realizes as 83, 86, 89. MinPitch is honored on every path.
MinPitch
Minimum pitch for upper voices (default: C3)
public int MinPitch { get; init; }
Property Value
Style
Voice leading style
public VoiceLeadingStyle Style { get; init; }