SileroVadOptions
Options & Configuration · AiDotNet.Models.Options
Configuration options for Silero VAD (Voice Activity Detection) models.
Inheritance: ModelOptions → NeuralNetworkOptions → ModelHyperparameterOptions → AudioNeuralNetworkOptions → SileroVadOptions
Constructors
| Constructor | Summary |
|---|---|
SileroVadOptions() |
Initializes a new instance of the SileroVadOptions class carrying this model’s shipped defaults. |
Properties
| Property | Summary |
|---|---|
double Threshold { get; set; } |
Gets or sets the threshold. |
int ConvFilters { get; set; } |
Gets or sets the conv filters. |
int FrameSize { get; set; } |
Gets or sets the frame size. |
int LstmHiddenDim { get; set; } |
Gets or sets the lstm hidden dim. |
int MinSilenceDurationMs { get; set; } |
Gets or sets the min silence duration ms. |
int MinSpeechDurationMs { get; set; } |
Gets or sets the min speech duration ms. |
int NumLstmLayers { get; set; } |
Gets or sets the num lstm layers. |
int SampleRate { get; set; } |
Gets or sets the sample rate. |
Methods
| Method | Summary |
|---|---|
void Validate() |
Throws if a value this model requires has been left unset or is not positive. |