Table of Contents

Enum HarmonicFunction

Namespace
Celeritas.Core
Assembly
Celeritas.dll

Harmonic function of a chord

public enum HarmonicFunction

Fields

Tonic = 0

Tonic function (rest/resolution): I, vi, iii.

Subdominant = 1

Subdominant function (preparation): IV, ii.

Dominant = 2

Dominant function (tension): V, vii°.

PreDominant = 3

Pre-dominant function: chords that can substitute for the subdominant (IV, ii).

This library's own analysis never assigns it — it calls those chords Subdominant — so a report will not contain one unless you put it there. It is here for callers who draw the distinction; the display name for it reads "Pre-dominant (preparation)".

Chromatic = 4

Chromatic function: borrowed or altered chords.

KeyAnalyzer never assigns it: a chord that does not belong to the key comes back as Invalid rather than as a valid chord with this function, so a caller must test IsValid rather than look for this value. It is here for callers building their own analysis, and for the display name, which reads "Chromatic (color/borrowed)".