Class VADOptions
Options for Voice Activity Detection (VAD)
Inheritance
System.Object
VADOptions
Namespace: Speechly.Types
Assembly: speechly-dotnet.dll
Syntax
public class VADOptions : object
Fields
| Improve this Doc View SourceNoiseGateDb
Declaration
public float NoiseGateDb
Field Value
Type | Description |
---|---|
System.Single | Energy threshold - below this won't trigger activation |
NoiseLearnHalftimeMillis
Declaration
public int NoiseLearnHalftimeMillis
Field Value
Type | Description |
---|---|
System.Int32 | Rate of background noise learn. Defined as duration in which background noise energy is moved halfway towards current frame's energy. |
SignalActivation
Declaration
public float SignalActivation
Field Value
Type | Description |
---|---|
System.Single | Minimum 'signal' to 'silent' frame ratio in history to activate 'IsSignalDetected' |
SignalRelease
Declaration
public float SignalRelease
Field Value
Type | Description |
---|---|
System.Single | Maximum 'signal' to 'silent' frame ratio in history to inactivate 'IsSignalDetected'. Only evaluated when the sustain period is over. |
SignalSearchFrames
Declaration
public int SignalSearchFrames
Field Value
Type | Description |
---|---|
System.Int32 |
SignalSustainMillis
Declaration
public int SignalSustainMillis
Field Value
Type | Description |
---|---|
System.Int32 | Duration to keep 'IsSignalDetected' active. Renewed as long as VADActivation is holds true. |
SignalToNoiseDb
Declaration
public float SignalToNoiseDb
Field Value
Type | Description |
---|---|
System.Single | Signal-to-noise energy ratio needed for frame to be 'loud' |
Properties
| Improve this Doc View SourceEnabled
Declaration
public bool Enabled { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean | Enable energy-level calculations |