Class SimpleVad.Config
Configuration for the MiniVad voice activity detector. All time-based parameters are expressed in milliseconds.
Inheritance
Namespace: Adrenak.UniVoice
Assembly: cs.temp.dll.dll
Syntax
[Serializable]
public class Config
Fields
AttackMs
Minimum continuous speech duration required to enter the speaking state.
Declaration
public int AttackMs
Field Value
| Type | Description |
|---|---|
| System.Int32 |
EnergyFloor
Energy floor used to clamp extremely low RMS values.
Declaration
public float EnergyFloor
Field Value
| Type | Description |
|---|---|
| System.Single |
MaxGapMs
Maximum tolerated duration of consecutive quiet frames while already speaking.
Declaration
public int MaxGapMs
Field Value
| Type | Description |
|---|---|
| System.Int32 |
MinNoiseRms
The minimum allowed value for the estimated noise level (RMS). Prevents the noise estimate from collapsing toward zero, which would make SNR calculations unstable or excessively large.
Declaration
public float MinNoiseRms
Field Value
| Type | Description |
|---|---|
| System.Single |
NoDropWindowMs
Grace period after speech onset during which release is disallowed.
Declaration
public int NoDropWindowMs
Field Value
| Type | Description |
|---|---|
| System.Int32 |
NonSpeechNoiseUpdateRate
Noise-floor update rate (EMA alpha) during non-speech.
Declaration
public float NonSpeechNoiseUpdateRate
Field Value
| Type | Description |
|---|---|
| System.Single |
ReleaseMs
Minimum continuous silence duration required to exit the speaking state.
Declaration
public int ReleaseMs
Field Value
| Type | Description |
|---|---|
| System.Int32 |
SnrEnterDb
SNR threshold in decibels used to enter the speaking state. Higher values make entry stricter.
Declaration
public float SnrEnterDb
Field Value
| Type | Description |
|---|---|
| System.Single |
SnrExitDb
SNR threshold in decibels used to remain in the speaking state.
Declaration
public float SnrExitDb
Field Value
| Type | Description |
|---|---|
| System.Single |
SpeechNoiseUpdateRate
Maximum noise-floor update rate (EMA alpha) during speech.
Declaration
public float SpeechNoiseUpdateRate
Field Value
| Type | Description |
|---|---|
| System.Single |
TargetFrameMs
Target analysis frame duration in milliseconds. The frame sample count is computed from the current input frequency each call.
Declaration
public int TargetFrameMs
Field Value
| Type | Description |
|---|---|
| System.Int32 |