Table of Contents

Class ChordSegment<T>

Namespace
AiDotNet.Interfaces
Assembly
AiDotNet.dll

A segment of audio with a detected chord.

public class ChordSegment<T>

Type Parameters

T

The numeric type used for calculations.

Inheritance
ChordSegment<T>
Inherited Members

Properties

Chord

Gets or sets the chord symbol (e.g., "C", "Am", "G7").

public string Chord { get; set; }

Property Value

string

Confidence

Gets or sets the confidence score for this chord.

public T Confidence { get; set; }

Property Value

T

Duration

Gets the duration of this segment.

public double Duration { get; }

Property Value

double

EndTime

Gets or sets the end time in seconds.

public double EndTime { get; set; }

Property Value

double

Quality

Gets or sets the chord quality (e.g., "major", "minor", "dominant7").

public string Quality { get; set; }

Property Value

string

Root

Gets or sets the root note of the chord.

public string Root { get; set; }

Property Value

string

StartTime

Gets or sets the start time in seconds.

public double StartTime { get; set; }

Property Value

double