Developer Documentation
Our new developer documentation is now available. Please check it out!

VadEffect

Inherits from: PiplineEffect

public class VadEffect : PiplineEffect, IPiplineEffect

VoiceActivity effect for Odin

Constructors

NameDescription
VadEffect(OdinPipelineHandle, UInt32)Internal effect constructor, use Odin

Static Methods

NameDescription
CreateInsert a vad effect in the specified pipline

Properties

NameDescription
ConfigIntern voice activity configuration
VoiceActivityEnabledIdicates whether the vad setting in NativeBindings is enabled
VoiceActivityAttackThresholdIdicates the vad attack probability setting in NativeBindings
VoiceActivityReleaseThresholdIdicates the vad release probability setting in NativeBindings
VolumeGateEnabledIdicates whether the gate setting in NativeBindings is enabled
VolumeGateAttackThresholdIdicates the gate attack loudness setting in NativeBindings
VolumeGateReleaseThresholdIdicates the gate release loudness setting in NativeBindings

Public Methods

NameDescription
UpdateEffectConfigSet voice activity configuration
SetVadConfigSet managed voice activity configuration
GetVadConfigGet native voice activity configuration
SetApmConfigNot supported
SetApmStreamDelayNot supported
UpdateApmPlaybackNot supported

Inherited Properties

NameDescription
IdEffect id
IndexEffect index
ParentPipeline handle

Inherited Methods

NameDescription
GetEffectIndexGet native effect index
GetEffectTypeGet native effect NativeBindings
GetVadConfigGet native voice activity config
SetApmConfigSet native audio processing config
SetApmStreamDelaySet native audio processing delay
SetVadConfigSet native voice activity config
UpdateApmPlaybackSend samples for native audio processing