Skip to content

OperatingMode Enum

Jay Miller edited this page May 18, 2020 · 2 revisions
public enum OperatingMode
Namespace

WebRtcVadSharp

Summary

The VAD operating mode. The default is HighQuality.

Remarks

A more aggressive (higher mode) VAD is more restrictive in reporting speech.

In other words: the probability of "true" results detecting actual speech increases with increasing mode. However, as aggressiveness goes up, so too does the missed detection rate.

In still other words:

  • False positives (non-speech) are more common at mode 0.
  • False negatives (missed speech) are more common at mode 3.

Note: these names come from the WebRTC source (vad_core.c).

Constant Value Summary
HighQuality 0 Least aggressive speech detection for high-quality audio.
LowBitrate 1 More aggressive speech detection for low bitrate audio.
Aggressive 2 Aggressive speech detection for moderately noisy audio.
VeryAggressive 3 Highly aggressive speech detection for very noisy audio.
Clone this wiki locally