Table of Contents

Class AudioFingerprint<T>

Namespace
AiDotNet.Interfaces
Assembly
AiDotNet.dll

Represents an audio fingerprint.

public class AudioFingerprint<T>

Type Parameters

T

The numeric type.

Inheritance
AudioFingerprint<T>
Inherited Members

Properties

Algorithm

Gets or sets the algorithm used to create the fingerprint.

public string Algorithm { get; set; }

Property Value

string

Data

Gets or sets the fingerprint data.

public required T[] Data { get; set; }

Property Value

T[]

Duration

Gets or sets the duration of the fingerprinted audio in seconds.

public double Duration { get; set; }

Property Value

double

FrameCount

Gets or sets the number of frames in the fingerprint.

public int FrameCount { get; set; }

Property Value

int

Hash

Gets or sets the binary hash (for compact storage/comparison).

public uint[]? Hash { get; set; }

Property Value

uint[]

Metadata

Gets or sets optional metadata about the fingerprint.

public Dictionary<string, object>? Metadata { get; set; }

Property Value

Dictionary<string, object>

SampleRate

Gets or sets the sample rate of the source audio.

public int SampleRate { get; set; }

Property Value

int