Table of Contents

Enum ModulationType

Namespace
Celeritas.Core.Analysis
Assembly
Celeritas.dll

Type of modulation or tonicization.

public enum ModulationType

Fields

Tonicization = 0

Brief emphasis on a non-tonic chord (returns quickly)

PivotChord = 1

Pivot chord modulation (chord belongs to both keys)

Direct = 2

Direct/phrase modulation (abrupt key change)

Sequential = 3

Sequential modulation (pattern repeated in new key).

ModulationDetector never assigns it. Telling a sequence from any other key change means recognising that the music has restated a pattern at a new pitch level, which this detector does not look for — it reads each phrase's pitch content and the relationship between the two keys' roots, and reports such a change as Direct or, where a shared chord carries it, PivotChord. The value is here for callers who make the distinction themselves.

Chromatic = 4

Chromatic modulation (chromatic alteration leads to new key)

Enharmonic = 5

Enharmonic modulation: a chord respelled to mean something else in the new key.

ModulationDetector never assigns it. The vehicle is a chord that maps onto itself under transposition — a diminished seventh, an augmented triad — read in one key and then spelled as belonging to another; recognising that means following a chord's spelling across the boundary, and the detector reads pitch content and the relationship between the two keys' roots instead. It reports such a change as Chromatic, Direct or PivotChord according to how the roots stand. The value is here for callers who make the distinction themselves.

ModalInterchange = 6

Modal interchange (parallel major/minor)