Navigation
API > API/Runtime > API/Runtime/SignalProcessing
Foldback distortion effect https://en.wikipedia.org/wiki/Foldback_(power_supply_design)
| Name | FFoldbackDistortion |
| Type | class |
| Header File | /Engine/Source/Runtime/SignalProcessing/Public/DSP/FoldbackDistortion.h |
| Include Path | #include "DSP/FoldbackDistortion.h" |
Syntax
class FFoldbackDistortion
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FFoldbackDistortion() |
Constructor. | DSP/FoldbackDistortion.h |
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
~FFoldbackDistortion() |
Destructor. | DSP/FoldbackDistortion.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| InputGain | float | Input gain used to force hitting the threshold. | DSP/FoldbackDistortion.h | |
| NumChannels | int32 | How many channels we expect the audio intput to be. | DSP/FoldbackDistortion.h | |
| OutputGain | float | A final gain scaler to apply to the output. | DSP/FoldbackDistortion.h | |
| Threshold | float | Threshold to check before folding audio back on itself. | DSP/FoldbackDistortion.h | |
| Threshold2 | float | Threshold times 2. | DSP/FoldbackDistortion.h | |
| Threshold4 | float | Threshold time 4. | DSP/FoldbackDistortion.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void Init
(
const float InSampleRate, |
Initialize the equalizer. | DSP/FoldbackDistortion.h | |
void ProcessAudio
(
const float* InBuffer, |
Processes a stereo stream. | DSP/FoldbackDistortion.h | |
void ProcessAudioFrame
(
const float* InFrame, |
Processes a mono stream. | DSP/FoldbackDistortion.h | |
float ProcessAudioSample
(
const float InSample |
Processes a single audio sample. | DSP/FoldbackDistortion.h | |
void SetInputGainDb
(
const float InInputGainDb |
Sets the input gain. | DSP/FoldbackDistortion.h | |
void SetOutputGainDb
(
const float InOutputGainDb |
Sets the output gain. | DSP/FoldbackDistortion.h | |
void SetThresholdDb
(
const float InThresholdDb |
Sets the foldback distortion threshold. | DSP/FoldbackDistortion.h |