Show / Hide Table of Contents

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 Source

NoiseGateDb

Declaration
public float NoiseGateDb
Field Value
Type Description
System.Single

Energy threshold - below this won't trigger activation

| Improve this Doc View Source

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.

| Improve this Doc View Source

SignalActivation

Declaration
public float SignalActivation
Field Value
Type Description
System.Single

Minimum 'signal' to 'silent' frame ratio in history to activate 'IsSignalDetected'

| Improve this Doc View Source

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.

| Improve this Doc View Source

SignalSearchFrames

Declaration
public int SignalSearchFrames
Field Value
Type Description
System.Int32
| Improve this Doc View Source

SignalSustainMillis

Declaration
public int SignalSustainMillis
Field Value
Type Description
System.Int32

Duration to keep 'IsSignalDetected' active. Renewed as long as VADActivation is holds true.

| Improve this Doc View Source

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 Source

Enabled

Declaration
public bool Enabled { get; set; }
Property Value
Type Description
System.Boolean

Enable energy-level calculations

  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX