Class ChordSegment<T>
- Namespace
- AiDotNet.Interfaces
- Assembly
- AiDotNet.dll
A segment of audio with a detected chord.
public class ChordSegment<T>
Type Parameters
TThe 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
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
EndTime
Gets or sets the end time in seconds.
public double EndTime { get; set; }
Property Value
Quality
Gets or sets the chord quality (e.g., "major", "minor", "dominant7").
public string Quality { get; set; }
Property Value
Root
Gets or sets the root note of the chord.
public string Root { get; set; }
Property Value
StartTime
Gets or sets the start time in seconds.
public double StartTime { get; set; }