Table of Contents

Class ModulationInfo

Namespace
Celeritas.Core.Analysis
Assembly
Celeritas.dll

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

string

Duration

How many chords does this key area last?

public int Duration { get; init; }

Property Value

int

FromKey

Key before the modulation

public required KeySignature FromKey { get; init; }

Property Value

KeySignature

KeyRelationship

Relationship between keys (e.g., "relative major", "dominant key")

public required string KeyRelationship { get; init; }

Property Value

string

PivotAnalysis

Analysis of the pivot chord in both keys

public string? PivotAnalysis { get; init; }

Property Value

string

PivotChord

Pivot chord if applicable

public string? PivotChord { get; init; }

Property Value

string

Position

Position in the progression (0-based)

public required int Position { get; init; }

Property Value

int

ToKey

Key after the modulation

public required KeySignature ToKey { get; init; }

Property Value

KeySignature

Type

Type of modulation

public required ModulationType Type { get; init; }

Property Value

ModulationType

Methods

ToString()

Returns a readable form such as "PivotChord: C Major → G Major at position 5".

public override string ToString()

Returns

string