Class ModulationInfo
Information about a detected modulation or tonicization.
public sealed class ModulationInfo
- Inheritance
-
ModulationInfo
- Inherited Members
Properties
Description
Human-readable description
public required string Description { get; init; }
Property Value
Duration
How many chords does this key area last?
public int Duration { get; init; }
Property Value
FromKey
Key before the modulation
public required KeySignature FromKey { get; init; }
Property Value
KeyRelationship
Relationship between keys (e.g., "relative major", "dominant key")
public required string KeyRelationship { get; init; }
Property Value
PivotAnalysis
Analysis of the pivot chord in both keys
public string? PivotAnalysis { get; init; }
Property Value
PivotChord
Pivot chord if applicable
public string? PivotChord { get; init; }
Property Value
Position
Position in the progression (0-based)
public required int Position { get; init; }
Property Value
ToKey
Key after the modulation
public required KeySignature ToKey { get; init; }
Property Value
Type
Type of modulation
public required ModulationType Type { get; init; }
Property Value
Methods
ToString()
Returns a readable form such as "PivotChord: C Major → G Major at position 5".
public override string ToString()