FSilenceDetection::FSilenceDetection

InOnsetThreshold is the minimum amplitude of a signal before we begin outputting audio, in linear gain.

Windows
MacOS
Linux

References

Module

SignalProcessing

Header

/Engine/Source/Runtime/SignalProcessing/Public/DSP/VoiceProcessing.h

Include

#include "DSP/VoiceProcessing.h"

Source

/Engine/Source/Runtime/SignalProcessing/Private/VoiceProcessing.cpp

Syntax

FSilenceDetection
(
    float InOnsetThreshold,
    float InReleaseThreshold,
    int32 AttackDurationInSamples,
    int32 ReleaseDurationInSamples
)

Remarks

InOnsetThreshold is the minimum amplitude of a signal before we begin outputting audio, in linear gain. InReleaseThreshold is the amplitude of the signal before we stop outputting audio, in linear gain. AttackDurationInSamples is the amount of samples we average over when calculating our amplitude when the in audio is below the threshold. ReleaseDurationInSamples is the amount of samples we average over when calculating our amplitude when the input audio is above the threshold.

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss