SpeakerDiarizerOptions

Options & Configuration ยท AiDotNet.Audio.Speaker

Configuration options for speaker diarization.

Inheritance: ModelOptions โ†’ SpeakerDiarizerOptions

For Beginners

These options configure the SpeakerDiarizer model. Default values follow the original paper settings.

Constructors

Constructor Summary
SpeakerDiarizerOptions() Initializes a new instance with default values.
SpeakerDiarizerOptions(SpeakerDiarizerOptions other) Initializes a new instance by copying from another instance.

Properties

Property Summary
double ClusteringThreshold { get; set; } Gets or sets the clustering threshold (cosine similarity).
double HopDurationSeconds { get; set; } Gets or sets the hop duration in seconds.
double MinTurnDuration { get; set; } Gets or sets the minimum turn duration in seconds.
double WindowDurationSeconds { get; set; } Gets or sets the window duration in seconds.
int EmbeddingDimension { get; set; } Gets or sets the embedding dimension.
int SampleRate { get; set; } Gets or sets the sample rate.
int? MaxSpeakers { get; set; } Gets or sets the maximum number of speakers (null for auto).
string EmbeddingModelPath { get; set; } Gets or sets the path to the embedding model.