Table of Contents

Class KeyDetectionResult<T>

Namespace
AiDotNet.Interfaces
Assembly
AiDotNet.dll

Result of key detection.

public class KeyDetectionResult<T>

Type Parameters

T

The numeric type used for calculations.

Inheritance
KeyDetectionResult<T>
Inherited Members

Properties

Alternatives

Gets or sets alternative key hypotheses.

public IReadOnlyList<KeyHypothesis<T>> Alternatives { get; set; }

Property Value

IReadOnlyList<KeyHypothesis<T>>

CamelotNotation

Gets or sets the Camelot notation (e.g., "8B").

public string CamelotNotation { get; set; }

Property Value

string

Confidence

Gets or sets the confidence score (0.0 to 1.0).

public T Confidence { get; set; }

Property Value

T

Key

Gets or sets the detected key (e.g., "C major", "A minor").

public string Key { get; set; }

Property Value

string

Mode

Gets or sets the mode (major or minor).

public MusicalMode Mode { get; set; }

Property Value

MusicalMode

OpenKeyNotation

Gets or sets the Open Key notation (e.g., "1d").

public string OpenKeyNotation { get; set; }

Property Value

string

ParallelKey

Gets or sets the parallel key.

public string ParallelKey { get; set; }

Property Value

string

RelativeKey

Gets or sets the relative key.

public string RelativeKey { get; set; }

Property Value

string

Tonic

Gets or sets the tonic note (e.g., "C", "A").

public string Tonic { get; set; }

Property Value

string