Navigation
API > API/Runtime > API/Runtime/SignalProcessing
This object accepts an input buffer and current amplitude estimate of that input buffer, Then applies a computed gain target. Works like a standard feed forward limiter, with a threshold of 0.
| Name | FSlowAdaptiveGainControl |
| Type | class |
| Header File | /Engine/Source/Runtime/SignalProcessing/Public/DSP/VoiceProcessing.h |
| Include Path | #include "DSP/VoiceProcessing.h" |
Syntax
class FSlowAdaptiveGainControl
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
| DSP/VoiceProcessing.h | |||
FSlowAdaptiveGainControl
(
float InGainTarget, |
InGainTarget is our target running linear gain. | DSP/VoiceProcessing.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| GainMax | float | DSP/VoiceProcessing.h | ||
| GainMin | float | DSP/VoiceProcessing.h | ||
| GainTarget | float | DSP/VoiceProcessing.h | ||
| PeakDetector | FMovingAverager | DSP/VoiceProcessing.h | ||
| PreviousGain | float | DSP/VoiceProcessing.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
float ProcessAudio
(
float* InAudio, |
Takes an amplitude estimate and an input buffer, and attenuates InAudio based on it. | DSP/VoiceProcessing.h | |
void SetAdaptiveRate
(
int32 InAdaptiveRate |
Sets the responsiveness of the adaptive gain control, in number of buffer callbacks. | DSP/VoiceProcessing.h |