Table of Contents

Class SpeakerDiarizerOptions

Namespace
AiDotNet.Audio.Speaker
Assembly
AiDotNet.dll

Configuration options for speaker diarization.

public class SpeakerDiarizerOptions
Inheritance
SpeakerDiarizerOptions
Inherited Members

Properties

ClusteringThreshold

Gets or sets the clustering threshold (cosine similarity).

public double ClusteringThreshold { get; set; }

Property Value

double

EmbeddingDimension

Gets or sets the embedding dimension.

public int EmbeddingDimension { get; set; }

Property Value

int

EmbeddingModelPath

Gets or sets the path to the embedding model.

public string? EmbeddingModelPath { get; set; }

Property Value

string

HopDurationSeconds

Gets or sets the hop duration in seconds.

public double HopDurationSeconds { get; set; }

Property Value

double

MaxSpeakers

Gets or sets the maximum number of speakers (null for auto).

public int? MaxSpeakers { get; set; }

Property Value

int?

MinTurnDuration

Gets or sets the minimum turn duration in seconds.

public double MinTurnDuration { get; set; }

Property Value

double

SampleRate

Gets or sets the sample rate.

public int SampleRate { get; set; }

Property Value

int

WindowDurationSeconds

Gets or sets the window duration in seconds.

public double WindowDurationSeconds { get; set; }

Property Value

double