API / MusicTheory
KeyCandidate record
A key proposed by
KeyDetector.Constructors
KeyCandidate(KeySignature Key, double Confidence, int DiatonicHits, int Total)A key proposed by
KeyDetector.Key- The key, spelled with the fewest accidentals (Eb, not D#).
Confidence- Share of the evidence, in [0, 1]; the returned list sums to 1.
DiatonicHits- How many chords belong to the key.
Total- How many chords were analysed.
Properties
KeySignature Key { get; init; }The key, spelled with the fewest accidentals (Eb, not D#).
double Confidence { get; init; }Share of the evidence, in [0, 1]; the returned list sums to 1.
int DiatonicHits { get; init; }How many chords belong to the key.
int Total { get; init; }How many chords were analysed.