Skip to main content
Skip table of contents

VadModule

The VadModule class is responsible for configuring voice activity detection settings. This helps distinguish between speech and silence.

Methods

public void SetMode(string mode)

  • Description: Sets the aggressiveness mode for the VAD.

  • Parameters:

    • string mode: The VAD mode.

public void SetThreshold(float trueMs, float falseMs)

  • Description: Sets the time thresholds in milliseconds for switching between speech and silence classifications.

  • Parameters:

    • float trueMs: The minimum duration in milliseconds to classify a sound as voice.

    • float falseMs: The minimum duration in milliseconds to classify a lack of sound as silence.

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.