Navigation
API > API/Runtime > API/Runtime/SignalProcessing > API/Runtime/SignalProcessing/DSP
References
| Module | SignalProcessing |
| Header | /Engine/Source/Runtime/SignalProcessing/Public/DSP/VoiceProcessing.h |
| Include | #include "DSP/VoiceProcessing.h" |
Syntax
class FSilenceDetection
Remarks
This object will return buffered audio while the input signal is louder than the specified threshold, and buffer audio when the input signal otherwise.
Constructors
| Type | Name | Description | |
|---|---|---|---|
FSilenceDetection
(
float InOnsetThreshold, |
InOnsetThreshold is the minimum amplitude of a signal before we begin outputting audio, in linear gain. |
Functions
| Type | Name | Description | |
|---|---|---|---|
| float | Returns the current estimate of the current amplitude of the input signal, in linear gain. | ||
| int32 | ProcessBuffer
(
const float* InAudio, |
Buffers InAudio and renders any non-silent audio to OutAudio. | |
| void | SetThreshold
(
float InThreshold |
Set the threshold of audibility, in terms of linear gain. |